NTeleportation

Moved

Total Downloads: 53,601 - First Release: Apr 12, 2016 - Last Update: Apr 5, 2018

5/5, 88 likes
  1. Wulf

    Wulf Community Admin

    Unlikely since the author isn't really around. I will be releasing a universal teleportation plugin on the new site though.
     
  2. @Wulf Ok. No Worries then.
     
  3. Hey,

    whats the permission to allow the default players to use /tpr? my permissions file has been wiped and i cant find what i need to grant them o.o
     
  4. Its called reading the overview
     
  5. The glitched out players glitch is quite easy to fix.
    in the NTeleportation file on line 2231 replace all the code in the StartSleeping function with simple player.StartSleeping();
    Is a quick workaround, this will make it use the build-in Rust function to make a player go to sleep, this includes a check if someone is mounted and if he is it will unmount the player.
     
  6. Is it possible in addition to chat commands was also possible and graphic design and if you want to disable the graphical panel ?
     
  7. if i change the dailylimit to 0 does the players doesnt have the limit for using it or they can't use the teleportation ?
     
  8. Yes it is
     
  9. how if i want to make regular players can't use teleportation ? i only want vip players can use it
     
  10. try to make limit -1
     
  11. Code:
     var err = CheckPlayer(player, false, CanCraftHome(player));
                if (err != null)
                {
                    PrintMsgL(player, $"Home{err}");
                    return;
                }
                if (!player.CanBuild())
                {
                    PrintMsgL(player, "HomeTPBuildingBlocked");
                    return;
                }
                 if (player.GetMounted() != null)
                    PrintMsgL(player, "HomeTPMounted");
                    return;
    Does not work /sethome 1 is not installed on the foundation here is the code above provided
    after I entered your code.
    return "TPMounted";
    produces an error using this method PrintMsgL (player, "HomeTPMounted");
     
  12. You placed it in the wrong place.
    It goes under line = 2306
    Code:
            private string CheckPlayer(BasePlayer player, bool build = false, bool craft = false)
            {
                if (!player.IsAlive())
                    return "TPDead";
                if (player.IsWounded())
                    return "TPWounded";
                if (!build && !player.CanBuild())
                    return "TPBuildingBlocked";
                if (player.IsSwimming())
                    return "TPSwimming";
                if (!craft && player.inventory.crafting.queue.Count > 0)
                    return "TPCrafting";
                if (player.GetMounted() != null)
                    return "TPMounted";
                return null;
            }
    
     
  13. Use permissions for that, make a permission group for VIP and give them the tpr permission and don't give it to the default group
     
  14. HUGE THANK YOU FRIEND )))
     
  15. I see that you dont know how it works
     
  16. Idk if this has been asked already or not but, is there a way to add a second town location?
     
  17. A friend thank you so much everything worked out. Many thanks from the Russian admin :D
     
  18. my players cant use /tpr anymore,
    and gets this error in the console. any ideas?
    Code:
    Failed to call hook 'cmdChatTeleportRequest' on plugin 'NTeleportation v1.0.26' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.NTeleportation.cmdChatTeleportRequest (BasePlayer player, System.String command, System.String[] args) [0x001c1] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d9d] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
    Failed to call hook 'cmdChatTeleportRequest' on plugin 'NTeleportation v1.0.26' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.NTeleportation.cmdChatTeleportRequest (BasePlayer player, System.String command, System.String[] args) [0x001c1] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d9d] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
    Failed to call hook 'cmdChatTeleportRequest' on plugin 'NTeleportation v1.0.26' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.NTeleportation.cmdChatTeleportRequest (BasePlayer player, System.String command, System.String[] args) [0x001c1] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d9d] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
    Failed to call hook 'cmdChatTeleportRequest' on plugin 'NTeleportation v1.0.26' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.NTeleportation.cmdChatTeleportRequest (BasePlayer player, System.String command, System.String[] args) [0x001c1] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d9d] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
    Failed to call hook 'cmdChatTeleportRequest' on plugin 'NTeleportation v1.0.26' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.NTeleportation.cmdChatTeleportRequest (BasePlayer player, System.String command, System.String[] args) [0x001c1] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d9d] in <ba86e227336e4b8e80af21371d14d5cd>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
     
  19. how to allow players to teleport?
     
  20. oxide.grant group/user (default/name of set group, minus-( )...) add-on below.
    There is also preventing group/user from using permissions...
    oxide.revoke group/user....blah, blah, blah....

    Examples:
    oxide.grant group default nteleportation.tphome
    oxide.grant group admin nteleportation.wipehomes
    oxide.grant user colincee nteleportation.wipehomes
    oxide.revoke user draindoc98 nteleportation.tphome


    Permissions:

    nteleportation.deletehome - /home delete & /deletehome
    nteleportation.homehomes - /home homes & /homehomes
    nteleportation.importhomes - teleport.importhomes
    nteleportation.radiushome - /home radius & /radiushome
    nteleportation.tp - /tp
    nteleportation.tpb - /tpb
    nteleportation.tpconsole - teleport.topos & teleport.toplayer
    nteleportation.tphome - /home tp & /tphome
    nteleportation.tptown - /town
    nteleportation.tpn - /tpn
    nteleportation.tpl - /tpl
    nteleportation.tpremove - /tpremove
    nteleportation.tpsave - /tpsave
    nteleportation.wipehomes - /wipehomes
    nteleportation.crafthome - allow craft while home tp
    nteleportation.crafttown - allow craft while town tp
    nteleportation.crafttpr - allow craft while tpr tp

    Also, this type of information is normally located on the Overview page of any plugin you may use.