HWTeleportation

Moved

Total Downloads: 12,615 - First Release: Dec 12, 2015 - Last Update: Nov 5, 2017

5/5, 35 likes
  1. ctr+c ctrl+v to Teleportation.cs????
     
  2. What do you mean with this ?
     
  3. if(HasBuildAuthority(player.Identity, homeloc.vector))
    {
    if (GetConfig(false, "Settings", "Home : Surrender on Teleport"))
    StartSurrender(player);
    SendChatMessage(player, GetMsg("Teleporting Soon", player.SteamId.ToString()).Replace("{time}", homeTeleportTimer.ToString()));
    timer.Once(homeTeleportTimer, () =>
    {
    homes[id(player)][home].Teleport(player);
    SendChatMessage(player, GetMsg("Home Teleported", player.SteamId.ToString()).Replace("{home}", home));
    lastHome[player.SteamId.ToString()] = DateTime.Now;
    if (GetConfig(false, "Settings", "Home : Surrender on Teleport"))
    StopSurrender(player);
    });
    }
    else
    {
    SendChatMessage(player, "<color=red>You do not have Ownership at home:</color> " + home "\n<color=red>Home: <color=yellow>"+home+"</color> has been removed.</color> ");
    homes[id(player)].Remove(home);
    return;
    }
     
  4. You just can't copy and play on the currently teleportation.cs if you're doing that then your tp cs isnt working anymore then so i recomme d you to wait for @Noviets or i dunno who the owner is from this script but i recommend you to wait for the update
     
  5. I am the developer, but I am currently on vacation and haven't been notified about the messages in this thread until @Noviets pinged me, thanks noviets.
     
  6. when u comeback??
     
  7. LaserHydra updated Teleportation with a new update entry:

    1.4.3

     
  8. 1.4.3 I get
    [Oxide] 20:37 [Error] Teleportation plugin failed to compile!
    [Oxide] 20:37 [Error] Teleportation.cs(446,52): error CS0103: The name `homeloc' does not exist in the current context
     
  9. LaserHydra updated Teleportation with a new update entry:

    1.4.4

     
  10. Code:
    [Oxide] 16:28 [Error] Error while compiling Teleportation.cs(446,17): error CS0103: The name `HasBuildAuthority' does not exist in the current context
     
  11. LaserHydra updated Teleportation with a new update entry:

    1.4.5

     
  12. still can tp after destroy auth
     
  13. Try to deletr de plugin and also be sure to deletr de config and de lang files also otherways it wont being updateing with the newst version of the plugin
     
  14. LaserHydra can u please add a feture so u can't tp while people are in cars thanks
     
  15. I added this also, it's a simple fix.
    @LaserHydra here's the code:
    Code:
    CharacterMotorSimple motor = player.WorldPlayerEntity.GetComponent<CharacterMotorSimple>();
                    if(motor.InsideVehicle != null)
                    {
                        hurt.SendChatMessage(source, "Teleportation has been cancelled. "+player.Name+" is inside a vehicle.");
                        return;
                    }
                    else
                    {
    Inside the tpr timer before the "Teleported" message
     
  16. Please, can you give us modified plugin? I didn't undestand where this code must be putted...
     
  17. Here you go.
     
  18. Changed from extteleport to this one.
    Everything works fine for me exept that you can lower the cooldown for mods.

    I do not want my mods to use TP but now they have to wait untill they can teleport again.
    Is it possible to add these permission so I can give them to my mods?
     
  19. Hi, can you make a variable to disable homes and tp's while on the ground, because they are not taking damage anymore and they can free tp/home!
     
  20. Hi guys there is little bug in this plugin. Everytime it calculates remaining cooldown it takes only minutes from timespan.
    Which means if there is cooldown 1h on TP and a player used TP 1h30min ago it will show that he needs to wait 30min to use it again because it calculates only with minutes not hours.

    Here is the plugin fixed I used noviets updated version where players cant teleport on players inside vehicles.