HWTeleportation

Moved

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

5/5, 35 likes
  1. When i try to change the limit for tp and homes it won't work
     
  2. How to make all the functions of the teleporter on the server, you could only use admin? Please describe all steps in stages.
     
  3. This error appears on my console, the plugin works normally, but would like to know how to fix this
     

    Attached Files:

  4. I'm having an issue where even though I have the plugin installed and other plugins are working this one fails to create a config file and /kit is an unknown command
     
  5. Wulf

    Wulf Community Admin

    See Teleportation | Page 15 | Oxide. @LaserHydra
     
  6. Noooo :( latest update broke this plugin and i love it so much T.T
     

    Attached Files:

  7. Wulf

    Wulf Community Admin

    See the post above your post please.
     
  8. Oh sh*t. Well i didn't check the link cause i thought it's just something about the conf file (my bad !)

    Thank you Wulf. You rock!
     
  9. i stopped the server and uploaded the file. but it didnt create a config file when i started my server. any ideas?
    [DOUBLEPOST=1450933951][/DOUBLEPOST]i got this error:

    12:02 AM [Error] Error while compiling Teleportation.cs(675,111): error CS1501: No overload for method `AppendChatboxServerSingle' takes `2' arguments
     
  10. Code:
    1:17 PM [Error] Failed to call hook 'cmdTpr' on plugin 'Teleportation v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    1:17 PM [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
    1.1.2 There is a mistake
     
    Last edited by a moderator: Dec 24, 2015
  11. Please help with the plugin! Tell me how to only allow server admins to use the teleport.
     
  12. Not really a way to check for HasStakeAuthority from a distance.
    The only way to resolve this (that I can think of) would be write your current location (TeleportedFrom) then checking for !HasStakeAuthority(session) after you are teleported home. Then if not teleport you back to TeleportedFrom.

    I just wrote this really quick. If the player doesn't have ownership it will port them back.
    Code:
    timer.Once(homeTeleportTimer, () => {
             Vector3 TeleportedFrom = session.WorldPlayerEntity.transform.position;
      Teleport(session, homeloc.vector);
             timer.Once(1, () => {
               if(!HasStakeAuthority(session))
               {
                 hurt.SendChatMessage(session, "<color=red>You do not have Ownership at: </color> " + home);
                 Teleport(session,TeleportedFrom);
               }
               else
               {
                 SendChatMessage(session, Msg("Home Teleported", session.SteamId.ToString()).Replace("{home}", home));
               }
             });
           });
    
     
    Last edited by a moderator: Dec 24, 2015
  13. I am not at home until 3rd January. Its hard for me to work on my plugins here because of Christmas with my family etc. I try to fix what I can anyways. Thanks again to @Wulf for providing fixes and support and Merry Christmas to you all.
     
  14. How to teleport a player with spaces in nickname? No quotation marks or writing one word does not help.
     
  15. Wulf

    Wulf Community Admin

    Quotation marks actually is the way. Are you getting any errors?
     
  16. No, nothing happens just ((. Not without fault anything.
     
  17. my plugins is installed but not working

    reload it when I say it is not installed
     
  18. Wulf

    Wulf Community Admin

    Check your oxide/logs for errors.