HWTeleportation
Moved
Total Downloads: 12,615 - First Release: Dec 12, 2015 - Last Update: Nov 5, 2017
- 5/5, 35 likes
-
-
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;
} -
-
-
when u comeback??
-
LaserHydra updated Teleportation with a new update entry:
1.4.3
-
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 -
LaserHydra updated Teleportation with a new update entry:
1.4.4
-
Code:
[Oxide] 16:28 [Error] Error while compiling Teleportation.cs(446,17): error CS0103: The name `HasBuildAuthority' does not exist in the current context
-
LaserHydra updated Teleportation with a new update entry:
1.4.5
-
still can tp after destroy auth
-
-
LaserHydra can u please add a feture so u can't tp while people are in cars thanks
-
@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 {
-
-
Here you go.
-
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? -
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!
-
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.