ControlTPA
ControlTPA- Teleportation request (no crossing worlds)
What is ControlTPA?
This was requested because although there are TP request plugins, they allow people to switch worlds easily. That's why I made ControlTPA.
ControlTPA is a teleportation request plugin which allows players to send requests to other players asking if they can teleport. Once the request is accepted, they will be teleported
Why use ControlTPA instead of an alternative? ControlTPA only allows teleportation from within the same world. This means you can stop players teleporting between creative and survival worlds, cheating in and out of games, and bypassing your server's multiworld setup.
ControlTPA also has a cooldown so players can't spam eachother with requests, or constantly teleport. Requests also expire after some time to stop abuse later on.
Usage
To install, just place the jar into your plugins folder and either reload or restart the server. Edit the config as shown below!
ControlTPA has no config, because, who wants to make things complex for no reason?
Commands
/tpa <playername> Send a request to teleport to the specified player.
/tphere <playername> Send a request to teleport the specified player to you.
/tpaccept Accept a request and teleport.
/tpdeny Let the sender know they're request hsa been denied (not required).
Permissions
ControlTPA.Use Let the player use all the commands. Given by default.
Induvidual permissions for commands are as below. They are given by default with ControlTPA.Use
ControlTPA.Use.tpa
ControlTPA.Use.tphere
ControlTPA.Use.tpaccept
ControlTPA.Use.tpdeny
Config
#Configuration for ControlTPA by Adzwoolly! #Cooldown in seconds Cooldown: 60
One last note...
That's it, have fun!
ToDo
- Cooldown bypass permission
- Custom messages
- /tptoggle so people can not send requests to you
@ThisUsernameIsMine
I could use a custom cooldown, if you want. I will upload it within two days and bukkit may take up to 3 days to approve it. Hopefully it won't take that long though!
@Adzwoolly
Ohh i see. Was already looking for a config but it doesn't have one either =P
I'll probably edit the plugin.yml to my needs, so that it doesn't require me to add a negated ControlTPA.use node.
Also: can a custom cooldown-time be set?
Thanks :)
@ThisUsernameIsMine
Yes, "ControlTPA.Use" is given by default, meaning they have all permissions.
You will have to set "ControlTPA.Use" to false and then give permissions as you wish or take away permissions you don't want them to have.
@Adzwoolly
Thanks for the update! I've tested it but somehow everyone is able to use all commands without adding any permission nodes to their group (using bPermissions and Vault)
@ThisUsernameIsMine
Added individual permissions for each command, as requested! Hope this helps you. The file will have to be approved by bukkit.
@ThisUsernameIsMine I will add this but, I am currently on mobile. I'll do it within 2 days.
@WillWill56 No I haven't. I didn't check for others but, I probably should. I assume that if someone requested they'd try searching first.
"This was requested because although there are TP request plugins, they allow people to switch worlds easily."
I'm guessing you haven't tried TeleportSuite then. Just set the permission teleport.world.* to false and players can only teleport within the world they're currently in.
Looking good! :)
Could you please make seperate permissions for each command?
It would make your mod more flexible/suitable to our needs.
Thanks in advance!