TeleportRequest
About TeleportRequest
This plugin allows players to send teleportation requests to other players. I was attempting to fix another rtp plugin but decided to just write one from scratch.
Features
- Players can receive multiple requests.
- Players can selectively accept or deny requests.
- Requests timeout after 120 seconds.
How to install
Just drop the jar file in your plugins directory and restart your server. Configure permissions.
Permissions
- teleportrequest.rtp - Allows players to use /rtp
Configuration
Currently there are no configuration options. I plan on making the timeout and max number of requests configurable.
Commands
- /rtp [player] - Send a teleport request to [player].
- /rtp [yes|no] ([player|all]) - Accept or deny teleport request from another player(s).
Source
See github.
Change Log
- v0.2.0 - November 2, 2012
- Fixed /rtp [yes|no] player
- v0.1.0 - October 29, 2012
- Initial build
I Think the best permissions for commands is:
teleportrequest.request - /rtp [player]
teleportrequest.answer - /rtp [yes|no]
It's needed for example:
VIP/Premium users have both perms
All other players have only answer perm.
Only teleport plugin that does NOT mess up /tp command blocks. Great job. If you have time, could you make a /rtphere command or related? If not, that's ok. Thanks.
Is it just me or is the permissions not working for non-op? Please tell me if im doing something wrong other than that this plugin seems really good!
@cnaude Thanks, no rush now though, it works well enough for what i need atleast.
@Sorky
I'll get that added to 0.5.0. I'm also going to add a languages file so that you can customize the messages without having to recompile.
@cnaude Partial name matching isnt added for accepting a teleport, only requesting.
@Sorky
I just pushed 0.4.0 to github.
@cnaude
I dont see the 0.4.0 source on github? can you add it or bundle it with the jar? im making slight modifications to the messages and such.
@Sorky
The new version at r has a new config option for partial name matching.
@cnaude
Been testing it and it seems to work quite well. But it doesnt autocomplete names, which is something that would be nice, considering some of the names people sometimes use :)
Edit1: Yes, i know the client itself has the feature, but not having to press tab is nice.
Edit2: When i think a little more, it may perhaps be good to check if dstPlayer has permission to accept before queueing up request.
Edit3: Actually, dont bother if you dont really want it, it doesnt matte rmuch.
@Sorky
Please try this version:
@Raekye
Why not just add the permission node to your permissions plugin?
@Sorky
These are good suggestions. Overriding the /tp command can be done without any changes to this plugin. Just add the correct alias to your bukkit.yml.
I'll look into the other requests.
What about this system instead?
Use /tp instead of /rtp and have 2 permission nodes.
rtp.use - Command will function in request mode rtp.admin - Command will do a direct teleport without request but still allow you to grant requests.
Not having one of the nodes disallows the use of teleporting aswell as accepting a incoming teleport, which is useful to prevent people from teleporting into pvp worlds.
Figured it out. Got to open the jar archive and change the plugin.yml file (default: true)
I keep getting that I don't have permissions. The config file didn't generate itself, but I tried download config.yml (and renaming it plugin.yml) and putting it in a TeleportRequest folder like other mods (set default: true for permissions). Bukkit 1.4.5