No restrictions for adminSolved

Could you modify the plugin to allow admins to teleport without restrictions on where they currently are, or how many times they've teleported?

admin already has commands like /tp did you even read the doc? check the commands section! furthermore admin could simply mark the map and use the game's built in command teleport2marker

That's true, but this plugin allows for adding specific locations that I don't have to keep re-marking. Not exactly the same thing, but thanks for the rant.

magus2621

That's true, but this plugin allows for adding specific locations that I don't have to keep re-marking. Not exactly the same thing, but thanks for the rant.

Certainly someone who does not understand the meaning of "rant" or the ability to read the documentation (you can call this a rant as well if you like) You as admin have the ability to make teleportation unlimited for the Admin by using the config options,

ranting

noun
noun: ranting; plural noun: rantings
  1. lengthy, angry, and impassioned speech.
    "at times, his rantings would become incoherent"
     
adjective
adjective: ranting
  1. speaking at length in an angry and impassioned way.
    "ranting shock jocks"

    To express at length a complaint or negative opinion. To speak or write in an angry or emotionally charged manner; rave. To utter or express by ranting. ... The definition of a rant is a complaint that is often lengthy and filled with anger and emotion.

be nice guys. no reason to act this way.

yes, the /tp command can serve this purpose, and also you can add additional permissions to the relevant teleport commands in the config and set those limits to however high or however low you want them to be

for example:

  "TPR": {
    "Require Player To Be Friend, Clan Mate, Or Team Mate": false,
    "Allow Cave": false,
    "Allow TPB": true,
    "Cooldown": 600,
    "Countdown": 15,
    "Daily Limit": 5,
    "VIP Daily Limits": {
      "nteleportation.vip": 5,
	  "nteleportation.admin": 0
    },
    "VIP Cooldowns": {
      "nteleportation.vip": 600,
	  "nteleportation.admin": 5
    },
    "VIP Countdowns": {
      "nteleportation.vip": 15,
	  "nteleportation.admin": 3
    },
    "Request Duration": 30,
    "Block TPA On Ceiling": true,
    "Usable Out Of Building Blocked": false,
    "Usable Into Building Blocked": false,
    "Allow Cupboard Owner When Building Blocked": true,
    "Allow Crafting": false,
    "Pay": 0,
    "Bypass": 0
  },​

Thank you for the sample config, @nivex. The goal I was trying to get to was by using something like the homes to tag peoples bases so that I don't have to remember where their base is and can just tp to the base. It is true that I can, as admin, just tp to them. However, that only helps if they're actually at the base at the moment. Also, as @maxWalker mentioned, I could use the map to mark and tp from there as well. But again, that would require me to know exactly where I'm trying to get to on the map. By making some config changes I can definitely make it to where the admin has unlimited tp's, no cooldowns, etc. What my ask was for was to see if I could make it to where I, as the admin, could TP from any monument, over water, etc... to saved locations (like homes) while leaving those restrictions in place for all the normal users. From the config it looks like this is not possible, hence why I posted the question. If this wasn't clear in my original post, that's definitely my bad. If this isn't something there is any interest in, I'm good with marking it as solved.

You as an admin can list any players 'homes' and tp to it.

If they had a home point set, yes. And technically I could also set one at their base and use /home tp <my username> <home> to bypass the restrictions, but that's much more cumbersome than doing /home <home>. 

https://pastebin.com/u4Tieeug


save as NTeleportation.cs

Added permission nteleportation.norestrictions to bypass all restrictions (does not include options which are disabled)

if you want to try it out. not tested

Thanks @nivex, I'll give it a shot and let you know.

no problem

Locked automatically