NTeleportation

Moved

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

5/5, 88 likes
  1. So can normal players do /town on your server now?

     
  2. players still cant tp to town /town is not working
     
  3. still cannot tp to town still says not aloud also says you can not set home if you dont have building access when players try to set home
     
    Last edited by a moderator: Jan 20, 2017
  4. i reinstalled oxide and updated the plugin but only tp wont show up on my server, its updated in the plugins and config.. did i do something wrong?
     
  5. After installing the latest update on my server and installing the latest plugin update, when I changed to daily limit in the config it doesn't change on my server. It says " You have reached your daily limit of 5 teleports today!" even though I update the config and reload the plugin with my rcon tool. Thanks
     
  6. Looks like Im not the only one with issues. It appears the permissions are out of whack. There is no permission for town alone. This will make it a pain getting all my VIPs set back up.
     
  7. What permission would cover people using town though? I tried applying the vip cooldowns one to default to see if I could hack it to work but nah. Guess we gotta wait.
     
  8. Please disregard. It was an error on my side.
     
  9. so which setting is it that makes it so they have to use a TC to sethome? cos the one in the config file is disabled on my server and it still forces them to use a tc
     
  10. Dude read the last few pages, that and /town are bug we've been asking to get fixed this evening ;)
     
  11. Wonder if it has something to do with this

    Code:
            private const string PermTpTown = "nteleportation.tptown";
    Which when you try apply it to the default group, says the perm doesnt exist

    Links to all this

    Code:
    [ChatCommand("town")]
            private void cmdChatTown(BasePlayer player, string command, string[] args)
            {
                if (!IsAllowedMsg(player, PermTpTown)) return;
                if (args.Length == 1 && IsAllowed(player) && args[0].ToLower().Equals("set"))
                {
                    configData.Town.Location = player.transform.position;
                    Config.WriteObject(configData, true);
                    PrintMsgL(player, "TownTPLocation", configData.Town.Location);
                    return;
                }
                if (args.Length != 0)
                {
                    PrintMsgL(player, "SyntaxCommandTown");
                    if (IsAllowed(player)) PrintMsgL(player, "SyntaxCommandTownAdmin");
                    return;
                }
                if (configData.Town.Location == default(Vector3))
                {
                    PrintMsgL(player, "TownTPNotSet");
                    return;
                }
                var err = CheckPlayer(player, configData.Town.UsableOutOfBuildingBlocked, CanCraftTown(player));
                if (err != null)
                {
                    PrintMsgL(player, err);
                    return;
                }
     
  12. sethome not work
    please fix
     
  13. same sethome isnt working for me as well
     
  14. Just had a look through the old version and

    PermTpTown or nteleportation.tptown are nowhere to be seen, so this permission seems to have come in with this latest version, problem is, when you try add this permission to the default group it says the permissions doesnt exist.
     
  15. Failed to call hook 'cmdChatHome' on plugin 'NTeleportation v1.0.16' (NullReferenceException: Object reference not set to an instance of an object)

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
     
  16. Any ETA on an update to fix town TP?
    [DOUBLEPOST=1484904288][/DOUBLEPOST]I have a temp fix for the Town TP issue.

    Add this line into your plugin file,

    permission.RegisterPermission(PermTpTown, this);

    Then grant the permission nteleportation.tptown to the default group

    Works fine for me once this is done.
    [DOUBLEPOST=1484904326][/DOUBLEPOST]@Wulf
    [DOUBLEPOST=1484904434][/DOUBLEPOST]CS File with the Permission added
     

    Attached Files:

  17. The attached cs file above, along with the permission works great. Thanks!
     
  18. Ok, there is a radius bug. If a tool cabinet is placed too close to your tool cabinet, even if you have privilege, it will say you're not owner and remove your home. Remove the tool cabinet and it works.
     
  19. any idear on when it will be fully fixed guys
     
  20. If anyone can help make it simple enough a 50 year old person with no experience with coding at all can follow.
    I followed your directions but i cant figure out this permission system.
    At this time my players cant use /tpr or /town and nothing i try will grant permission.
    It doesn't make sense to use a complicated permission system for a simple true/false switch
    What is the exact line i need to use to grant permission for all players to use /tpr and /town ?.