HWTeleportation
Moved
Total Downloads: 12,623 - First Release: Dec 12, 2015 - Last Update: Nov 5, 2017
- 5/5, 35 likes
-
Put the file into your oxide/plugins/ folder.
Then add the permissions that are on the plugin's page. -
type /sethome "No Permission": "You don't have permission to use this command.",
-
Hi, guy,
You need to create a group ->
/group add YourGroup
And you need to grant the permission teleportation.tpr & teleportation.home type that ->
/grant group YourGroup teleportation.tpr
and
/grant group YourGroup teleportation.home
To assign a player to a group, type /usergroup add Player YourGroup
Bye -
anyone can help me?
I'd try to insert a cheking stake radius, from player try /home in base of other player. But no sucess.
Used this function: !HasStakeAuthority(player) or !HasStakeAuthority(Null)
/home:
Code:[ChatCommand("home")] void cmdHome(PlayerSession player, string command, string[] args) { if (args.Length != 1) { SendChatMessage(player, "Syntax: /home <home>"); return; } string home = args[0].ToLower(); if(!GetHomes(player).Contains(home)) { SendChatMessage(player, msg("Unknown Home", player.SteamId.ToString()).Replace("{home}", home)); return; } Location homeloc = homes[id(player)][home] as Location; if ((bool)Config["Settings", "Home : Cooldown Enabled"]) { if (lastHome.ContainsKey(player)) { DateTime dateTime = lastHome[player]; TimeSpan ts = DateTime.Now.Subtract(dateTime); float cooldown = Convert.ToSingle(Config["Settings", "Home : Cooldown in minutes"]); float nextHome = (cooldown - Convert.ToSingle(ts.Minutes)); if (ts.Minutes <= cooldown) { SendChatMessage(player, msg("Home Cooldown", player.SteamId.ToString()).Replace("{time}", nextHome.ToString())); return; } } else { lastHome[player] = DateTime.Now; } } SendChatMessage(player, msg("Teleporting Soon", player.SteamId.ToString()).Replace("{time}", homeTeleportTimer.ToString())); timer.Once(homeTeleportTimer, () => { Teleport(player, homeloc.vector); SendChatMessage(player, msg("Home Teleported", player.SteamId.ToString()).Replace("{home}", home)); }); }
-
Can you add immunity for tphere pls ?
-
if has no stake or has your stake u can take /home normaly
but if in area of stake that other player u can't take /home and give any msg error.
In RUST have this, u can't accept tp in radius on wardrobe of other player -
-
Wulf Community Admin
-
-
sorry I can't speak English. google translate...
"No Permission": "You don't have permission to use this command.",
This message appears to continue.
What should I do
i am server admin... -
Why do not correct errors in fashion? When 60 players online, these errors lead to paint (fall) server.
Code:16:23 [Error] Failed to call hook 'cmdTpr' on plugin 'Teleportation v1.1.11' (NullReferenceException: Object reference not set to an instance of an object) 16:23 [Debug] at Oxide.Plugins.Teleportation+<GetPlayer>c__AnonStorey3.<>m__0 (.PlayerSession player) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[PlayerSession].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[PlayerSession].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[PlayerSession]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[PlayerSession] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.GetPlayer (System.String searchedPlayer, .PlayerSession executer) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.cmdTpr (.PlayerSession player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 16:23 [Error] Failed to call hook 'cmdTpr' on plugin 'Teleportation v1.1.11' (NullReferenceException: Object reference not set to an instance of an object) 16:23 [Debug] at Oxide.Plugins.Teleportation+<GetPlayer>c__AnonStorey3.<>m__0 (.PlayerSession player) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[PlayerSession].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[PlayerSession].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[PlayerSession]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[PlayerSession] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.GetPlayer (System.String searchedPlayer, .PlayerSession executer) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.cmdTpr (.PlayerSession player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 16:23 [Error] Failed to call hook 'cmdTpr' on plugin 'Teleportation v1.1.11' (NullReferenceException: Object reference not set to an instance of an object) 16:23 [Debug] at Oxide.Plugins.Teleportation+<GetPlayer>c__AnonStorey3.<>m__0 (.PlayerSession player) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[PlayerSession].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[PlayerSession].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[PlayerSession]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[PlayerSession] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.GetPlayer (System.String searchedPlayer, .PlayerSession executer) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.cmdTpr (.PlayerSession player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 16:23 [Error] Failed to call hook 'cmdTpr' on plugin 'Teleportation v1.1.11' (NullReferenceException: Object reference not set to an instance of an object) 16:23 [Debug] at Oxide.Plugins.Teleportation+<GetPlayer>c__AnonStorey3.<>m__0 (.PlayerSession player) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[PlayerSession].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[PlayerSession].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[PlayerSession]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[PlayerSession] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.GetPlayer (System.String searchedPlayer, .PlayerSession executer) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.cmdTpr (.PlayerSession player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Teleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
I apologize if this is has been covered.
I need to completely reset the teleportation data on my server. I have uninstalled this plugin completely, but the data persists even though the plugin is gone, and the .json is gone.
How do I go about permanently resetting the data to default values? -
Wulf Community Admin
-
@Wulf ok I am fouling this up obviously.
I shut the server down, and deleted the plugin, and the .json.
I started the server. I uploaded the plugin (version that u can download on this site).
I then did a /home 1 and it teleported me back to my old house location.
Do I need to completely wipe oxide at this point?
[DOUBLEPOST=1451418201][/DOUBLEPOST]Is it possible to make different permission groups for the /home max# of homes? Would be nice to let vip's have like 8 homes or something. -
Wulf Community Admin
There aren't any permissions for per-user home limits yet. -
@Wulf I don't know either I'm going to wipe the server and start it from scratch..only thing I can think to do now. Thank u for the help Wulf
-
error teleportation
Attached Files:
-
-
when i type /tpr in the console it says that i dont have premission how do i fix this?