NTeleportation

Moved

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

5/5, 88 likes
  1. Where do you write the "grant user blah nteleportation.vip1"?
     
  2. in the console or rcon program f1 menu or rcon command line rusty
     
  3. I meant to say whats the write format in doing it

    },
    "VIPCountdowns": {
    "nteleportation.vip": 5
    },
    "VIPDailyLimits": {
    "nteleportation.vip": 5
    },
    "VIPHomesLimits": {
    "nteleportation.vip": 5
    }
    },

    This is how it looks in the config file. I would appreciate it if you edit it
     
  4. },
    "VIPCountdowns": {
    "nteleportation.vip": 5,
    "nteleportation.vipC": 5
    },
    "VIPDailyLimits": {
    "nteleportation.vip": 5,
    "nteleportation.vipD": 5
    },
    "VIPHomesLimits": {
    "nteleportation.vip": 5,
    "nteleportation.vipL": 10
    }
    },


    if you add those perms to the player or the group it will give them the 5seconds or diffrent ammount of homes example nteleportation.vipC nteleportation.vipD nteleportation.vipL

    becuase i had problems getting them on to groups i made new perms and applied to the players

    grant user NAME/SteamID nteleportation.vipC
    grant user NAME/SteamID nteleportation.vipD
    grant user NAME/SteamID nteleportation.vipL
     
  5. Where do i add?

    grant user NAME/SteamID nteleportation.vipC
    grant user NAME/SteamID nteleportation.vipD
    grant user NAME/SteamID nteleportation.vipL
     
  6. you do this via your console in game on the f1 then hit console or download rusty rcon and you can add it there so example if you want to change someones max homes you add this to the player

    grant user john nteleportation.vipL
     
  7. Worked thanks alot
     
  8. I would like to suggest to add a "clanhome" where every clan members can tp to with a special command. this needs to work with clan plugin ofc if its possible. what u guys think about suggestion anyway?
     
  9. since last update players are getting a processing deferred action window then getting kicked.
    Also players are getting kicked behind the large harbor with red screen errors.
    Same area and all players.
     

    Attached Files:

  10. players are able to teleport when stood on items, such as low walls. chests, sleeping bags etc. even with the config set to (must be on a foundation) any help to fix this?
     
  11. That setting has nothing to do with teleporting
     
  12. is it possible to adjust the limits and time in the Console? Im having issues where i change the .json but when on my server the settings are default.
     
  13. why can i not add a home in a mine
    keep getting a message saying you can only use a home location on a foundation
     
  14. Error while compiling: NTeleportation.cs(1125,24): error CS1955: The member `BasePlayer.IsAdmin' cannot be used as method or delegate

    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

    hmmm.... I tried to remove it and upload a fresh. Wont load.

    EDIT: Updated Oxide correctly..... :)
     
    Last edited by a moderator: Mar 28, 2017
  15. You might of updated oxide but not the plugin
     
    Last edited by a moderator: Mar 28, 2017
  16. Can I turn off cold damage stopping teleports?
     
  17. Havent been able to use this plugin since last update. here is what I get when I try to reload it

    > oxide.reload NTeleportation
    Exception while starting compiler v0.0.0.0: (Win32Exception: ApplicationName='c:\games\108_61_238_38_28026\1353636\ruste\CSharpCompiler.exe', CommandLine='/service /logPath:c:\games\108_61_238_38_28026\1353636\ruste\server\1353636\oxide\logs', CurrentDirectory='')
    Win32 NativeErrorCode: 193 ErrorCode: -2147467259 HelpLink:
    Error while compiling: compiler v0.0.0.0 couldn't be started

    Been banging my head, any ideas?
     
  18. If you remove the VIP permissions, the saved houses remain available to the player. Here is the solution to this!

    Code:
                var limitofhomes = GetHigher(player, configData.Home.VIPHomesLimits, configData.Home.HomesLimit);
                if (homeData.Locations.Count > limitofhomes)
                {
                    PrintMsgL(player, "You have {0} home(s), but you can use only {1} home(s) Remove unnecessary houses or increase the limit of houses to take advantage of saved houses! To automatically delete the last excess house use: /clearhomes", homeData.Locations.Count, limitofhomes);
                    cmdChatListHome(player, command, args.Skip(1).ToArray());
                    return;
                } 
    This should be inserted here:
    Code:
           private void cmdChatHomeTP(BasePlayer player, string command, string[] args)
            {
                if (!configData.Settings.HomesEnabled) return;
                if (args.Length != 1)
                {
                    PrintMsgL(player, "SyntaxCommandHome");
                    return;
                }
                var err = CheckPlayer(player, configData.Home.UsableOutOfBuildingBlocked, CanCraftHome(player));
                if (err != null)
                {
                    PrintMsgL(player, err);
                    return;
                }
                HomeData homeData;
                if (!Home.TryGetValue(player.userID, out homeData) || homeData.Locations.Count <= 0)
                {
                    PrintMsgL(player, "HomeListEmpty");
                    return;
                }
    <-----------------------INSERT HERE---------------------------->
    And finally add this:

    Code:
            [ChatCommand("clearhomes")]
            private void cmdChatClearHomes(BasePlayer player, string command, string[] args)
            {
                if (!configData.Settings.HomesEnabled) return;
                HomeData homeData;
                int homenumber=0;
                if (!Home.TryGetValue(player.userID, out homeData) || homeData.Locations.Count <= 0)
                {
                    PrintMsgL(player, "You do not have any saved homes!");
                    return;
                }
                var limitofhomes = GetHigher(player, configData.Home.VIPHomesLimits, configData.Home.HomesLimit);
                    var toClear = new List<string>();
                    foreach (var location in homeData.Locations)
                    {
                        homenumber++;
                        if (homenumber > limitofhomes)
                        {
                            toClear.Add(location.Key);
                            continue;
                        }
                      
                    }
                    foreach (var loc in toClear)
                    {
                        PrintMsgL(player, "House {0} was deleted!", loc);
                        homeData.Locations.Remove(loc);
                        changedHome = true;
                    }
                    if(homenumber<=limitofhomes)
                        {
                        PrintMsgL(player, "There are no houses to remove!", homenumber);
                        }          
            }
     
  19. on some servers you can do "/home add NAME" without a foundation. But on my server it wont add a home without a foundation

    what do i need to config
     
  20. "ForceOnTopOfFoundation": false,
    or checking your config you would of seen that yourself