TeleportSuite
TeleportSuite
Notice! I am currently very busy with both work and school. Please refrain from feature requests and only post bug reports, as I am unable to do extra work at this time.
TeleportSuite is a simple teleportation plugin which allows players to request teleports to each other with the commands /tpa and /tpahere, and accept or reject those requests with /tpaccept or /tpreject. It offers the admin type commands /tp and /tphere to teleport immediately, without a request (assuming the user is toggled to receive requests), and /tpo and /tpohere to override any user settings and teleport immediately.
By krinsdeath
Useful Stuff
- Source Code - Jenkins 1.1. Use of the plugin builds from Jenkins is unofficial, unsupported and unapproved by BukkitDev Staff!
- Default 'config.yml' file
- Default 'english.yml' localization file
- Full Command List
Features
- Very easy and very powerful commands, reminiscent of all of your favorites.
- Accept and reject all requests easily with /tpaccept -all or /tpreject -all. Use /tptoggle to immediately reject all requests.
- New! /tpm and /tpmhere for moderators: send a request from one player to another, without giving your players access to /tpa or /tpahere.
- /tpcoords will display your current location and your currently faced direction.
- Superperms support to give users any number of commands, to your taste
- Fully customizable messages for every command, including the ability to remove them altogether.
- Additional localizations are possible. Simply copy your english.yml into another file, save it as whatever.yml, and then add the language to the available list in TeleportSuite. If your system is UTF-8 capable, you can even use foreign language characters by specifying -Dfile.encoding=UTF-8 in your command line. If you've written a language file and want it included in TeleportSuite, email me or private message me.
Permissions
- Permission Node - Description. (default value)
-
teleport.* - Balloon permission to activate all others. (no default)
- teleport.tpa - Allows this user to use /tpa, to request a teleport to a user, unless their toggle status is true. (true)
- teleport.tpahere - Allows this user to use /tpahere, to request that a user teleport to them, unless their toggle status is true. (true)
- teleport.tp - Allows this user to use /tp, to telepor to a user immediately, unless their toggle status is set to true. (op)
- teleport.tphere - Allows this user to use /tphere, to teleport a user without confirmation, unless their toggle status is set to true. (op)
- teleport.tpm - Allows a user to request a /tpa on behalf of another player. (op) (bypasses teleport.tpa permission)
- teleport.tpmhere - Allows a user to request a /tpahere on behalf of another player. (op) (bypasses teleport.tpahere permission)
- teleport.tpo - Allows this user to use /tpo, to teleport to a user immediately. (false)
- teleport.tpohere - Allows this user to use /tpohere, to teleport a user to their location immediately. (false)
- teleport.location - Allows this user to use /tploc to teleport to a location. (op)
-
teleport.world - Allows this user to teleport to a world's spawn point. (op)
- teleport.world.* - Allows this user to teleport into all worlds. (true)
- teleport.world.worldname - Allows this user to teleport into the world specified.
- teleport.back - Allows this user to use /tpback or /back, to teleport to their last known location. (true)
- teleport.coords - Allows this user to display their current location with /tpcoords or /coords. (true)
- teleport.accept, teleport.reject, teleport.toggle - Allows this user to accept, reject, or toggle whether or not they want to be notified of requests when they receive them (if a user toggles their status, they will automatically reject any requests they receive). (true)
- teleport.requests - Allows this user to display their open requests, or any requests they've made, with /tprequests (true)
- teleport.cancel - Allows this user to cancel their active request (if they have one), with /tpcancel (true)
- teleport.silent - Allows the user to toggle their stealth setting with /silent; silences any /tpo or /tpohere command used by the sender
- teleport.language - Allows a user to choose a language from the available languages list with /tplang.
Convenience Permissions
-
teleport.users
- teleport.tpa, teleport.tpahere, teleport.accept, teleport.reject, teleport.toggle, teleport.requests, teleport.cancel, teleport.world, teleport.world.*, teleport.back, teleport.coords
-
teleport.mods
- teleport.users, teleport.tp, teleport.tphere, teleport.tp.other, teleport.location, teleport.vanilla
-
teleport.admins
- teleport.mods, teleport.tpo, teleport.tpohere, teleport.silent, teleport.rewind
2.2 b102 seems to work fine for me, i haven't tested it with SquadBot though, i'll edit this post later.
When enabling this plugin it says it's enabling v99, is that normal?
Does this support multi-worlds, in such a way where for instance, i can say 'no tping across worlds'?
Why doesn't build 100 work for you?
I'm actually rolling out an update right now (b102) that fixes a few possible errors that MIGHT occur.
Edit: that error is impossible, something is reflectively getting the TeleportSuite instance and using it to do something weird.
Edit #2: teleport.back is a permission. Give it to your VIPs to give them access, then give your normal users access to it later.
CB1.2.5-R4.0
TPS 2.1.2 b95 (b100 doesn't work for me)
SquadBot v5
http://dev.bukkit.org/paste/5653/
Right after I loaded SquadBot these errors started happening.
There is something seriously wrong in MobArena. There is an infinite loop somewhere in his code. He needs to fix this, the error on my end is coming from a List.subList(0, 4), which is essentially impossible.
Edit: After a brief look at MobArena's source, it appears that you are simply using a version that is super out of date. Please update to the latest version.
@krinsdeath
Here yah go! the entire log
Thanks for looking in to this. The error starts about half way down....warning, its HUGE!! LOL
http://dev.bukkit.org/paste/5648/
It would be nice if i could give my VIPs insta-access to /back, and my normal players after x minutes.
That is the very last part of the teleport event as it's passed down the chain to TeleportSuite. The error is in another plugin, it's not TeleportSuite's fault. From the stack trace, TeleportSuite doesn't operate on any data at all, and there's no caused by. If you would be so kind as to replicate this error with a FULL server.log and paste it using http://dev.bukkit.org/paste/ I would be much appreciative!
@krinsdeath
2012-06-22 19:33:12 [SEVERE] Could not pass event PlayerTeleportEvent to TeleportSuite org.bukkit.event.EventException
None of that has anything to do with TeleportSuite. The entire error is caused by MobArena, and nowhere in it is TeleportSuite even mentioned.
wow MASSIVE server crashing bug......this happens when someone tries to /TPA from Mob Arena.... it crashes the server hard
ThisUsernameIsMine: I don't intend to preserve pitch and yaw angles on teleport. It's additional overhead during the creation and persistence of the location object necessary to send the teleport request. Consider 20 players online, each with 5 stored locations for /rewind or /back, and preserved pitch/yaw (2 additional bytes per location per player, and an additional overhead for processing time during the teleport event to correct/change the current pitch/yaw/vector relation); basically, the effect of having the persistence is not worth the overhead.
Can you post tickets/issues with the stack traces from the errors and/or NPEs? I'm willing to patch them out as quickly as I can. :)
An update :-)
edit: oh, i've been using b95 for some time and i still get many event errors/npe's with it :-/
pimsserver: Are you using mcMMO? It has a /accept command. I believe the plugin AcceptRules also has it.
They might be conflicting.
i have a little problem.
/accept <name>
does not work (on my server?).
/tpaccept, however, does work.
/tpaccept <name>, returns an internal server error
CB1.2.5-R4.0
TPS v.2.1.2 b91
Hey dude! Cool plugin, we love it on our server!
I was just wondering if theres anyway to teleport a player to a location, like the /loc command but targeting play x instead of yourself. Any help would be great =D
Quoth
Oh man my players are going to love the /back improvements. Thanks much Krins!
@pimsserver
Instead of leaving out the unwanted permission nodes, negate them
(bPermissions uses ^ for this, i don't know about the others)
For some reason even players without the proper permissions can still use /tpa and /tpahere...
i want my normal players to only be able to accept requests and only VIPs to be able to request tp's.
I am using build 95 with CB1.2.5-R3.0
BTW: i've always had this problem with your plugin.
No problem, bigscary! If you have any feature requests or bug reports, just post them in my issue tracker. I'm glad you're enjoying it!