1. Where is the file so i can change the cooldown time? Thank you
     
  2. Hey love the addon but how to i refresh the daily limits upon server restart? I have the server to reset at 4AM each night, how can i make it refresh the daily limits upon restart?
     
  3. Wulf

    Wulf Community Admin

    All of the configuration should be done via the oxide/config/m-Teleportation.json file. A plugin reload is needed after you change it.
     
  4. Does anyone know how to reset the limit of TPR's in game? say i set the limit to 20 and a player reaches the max, could i reset the amount for him? it doesnt seem to clear upon server restart
     
  5. When modifying the data file the server needs to be offline when you do it, and you need to be extremely careful to not break the syntax as that could cause the plugin not to load or you could even lose the data stored.
    Commands to do this are planned for the C# version of the plugin but I don't know when I'll finish that.
     
  6. EDIT sorry didnt reply
    [DOUBLEPOST=1432189294][/DOUBLEPOST]
    i see, well it operates on a 24 hours scale it seems for the "daily limit" say someone uses their TPR on 7:00pm today it wont be refreshed until 7:00pm tomorrow it seems, is there any command I can run on server restart at 4am or reload the plugin on server restart at 4am every morning to reset the limit of TPR's a player can get?
     
  7. If I remember correctly (unable to validate right now, and it has been a while since I touched that part of the plugin :p), the date is stored to keep track of the daily limit so if it is limited to 10 per day and you use all 10 at 23.59 (server time), you should be able use them again 2 minutes later.
     
  8. Hi i'm having trouble with this addon. I do /tpr MYFRIENDS NAME then it says "A syntax error occurred . You can only use the /tpr command as follows." Thanks Panda
     
  9. I installed the FriendsAPI plugin, how do I get it so Friends can set homes on others foundations?
     
  10. If they have spaces in their name, encapsulate it in quotation. e.g /tpr "Aw Panda" or you can do a partial match like /tpr Panda (which wouldnt require the quotations)
     
  11. Reports of people being invisible from a teleport bug. Force teleported someone and he said it came back and froth several times. Was moving around and invisible. Also reports now and again of people being invisible after they teleport normally with /tpr. Possibly a old bug back again if i remember with invisible people after a teleport.

    Anyone help pinpoint the bug? Can't seem to reproduce it currently.
     
  12. Do you find that the persons body stays where they TP'd from? I've seen this bug very rarely. When it happens, if you hit their old body they can hear themselves getting damaged as well (though you can't actually deal damage). Haven't seen anything in my logs that shows whats doing it either, but i've only seen it twice over the past couple of weeks.
     
  13. It isn't like the phantom body, people are actually invisible and able to kill others it seems while they are invisible as well you can see some people actually building as a phantom.
     
  14. Code:
    [5/22/2015 6:15:05 PM] [Oxide] 6:15 PM [Error] Failed to call hook 'cmdSetHome' on plugin 'Teleportation System'
    File: m-Teleportation.lua Line: 1355 attempt to call method 'GetEnumerator' (a string value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    
     
  15. Having an issue where player as well as admin tp commands, aside from the help commands, give no response and seem to do nothing.
    This is what happens when i try oxide.reload

    Code:
    [Oxide] 11:07 PM [Info] Loaded plugin Teleportation System v1.4.15 by Mughisi
    [Oxide] 11:07 PM [Error] Failed to initialize plugin m-Teleportation
    File: m-Teleportation.lua Line: 585 Object reference not set to an instance of an object:
      at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Utility.TableFromConfig (Oxide.Core.Configuration.DynamicConfigFile config, NLua.Lua lua) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Libraries.LuaDatafile.GetDataTable (System.String name) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  16. Wulf

    Wulf Community Admin

    It sounds like your m-Teleportation.json data file is somehow corrupt. Did you modify it manually at all?
     
  17. I don't recall modifying it manually. But upon finding it an opening it, I see that it is completely empty.
    Is there any way of fixing this?
     
  18. Wulf

    Wulf Community Admin

    Completely, or {}? You can reset it by deleting it and reloading the plugin using "oxide.reload m-Teleportation" in the console.
     
  19. Completely. It was just blank.
    I did reset it in the manner you suggested, and the plugin seems to be functioning as normal now.
    The file now just says null.
     
  20. Would be really useful if you could add building privilege check for the sethome.
    That would be whole lot better than the friend check there is.