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
-
View User Profile
-
Send Message
Posted Apr 11, 2012Everytime i try to try to do any commands i get an iternal error and this in the console:
21:33:04 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'tp' in plugin TeleportSuite v2.1-b81 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at net.krinsoft.teleportsuite.TeleportPlayer.getLocation(TeleportPlayer.java:187) at net.krinsoft.teleportsuite.TeleportManager.queue(TeleportManager.java:58) at net.krinsoft.teleportsuite.commands.TeleportCommand.runTeleport(TeleportCommand.java:64) at net.krinsoft.teleportsuite.commands.TPCommand.runCommand(TPCommand.java:47) at com.pneumaticraft.commandhandler.teleportsuite.CommandHandler.checkAndRunCommand(CommandHandler.java:280) at com.pneumaticraft.commandhandler.teleportsuite.CommandHandler.processFoundCommands(CommandHandler.java:144) at com.pneumaticraft.commandhandler.teleportsuite.CommandHandler.locateAndRunCommand(CommandHandler.java:94) at com.pneumaticraft.commandhandler.teleportsuite.CommandHandler.locateAndRunCommand(CommandHandler.java:72) at net.krinsoft.teleportsuite.TeleportSuite.onCommand(TeleportSuite.java:84) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
-
View User Profile
-
Send Message
Posted Mar 28, 2012Sup Krins,
quick question. I wanted to have a look at how you record teleports for use in the /back function. Do you only trap teleports from your plugin or do you have a listener that gets info from bukkit? I'm sure i'll track it down in your code either way :)
Found it. Looks like its in the playerlistener. So if i read this right the back functionality is reliant on the bukkit event system issuing a call to the event handler when a teleport is made ya?
-
View User Profile
-
Send Message
Posted Mar 25, 2012Two comments.
1. I continue to be amused my the majority of perms issues i see relating to PEX. ( love bPerms )
2. For you guys using bPerms have you loaded the nodes into the permissions.yml and then applied them? I know it shouldnt make a difference but I have 0 issues on my server.
Digi
-
View User Profile
-
Send Message
Posted Mar 20, 2012@PaTr0N
Theres no need to enable strict mode. Just negate teleport
- -teleport.*
Then add the specific perms to the groups that can use them.
-
View User Profile
-
Send Message
Posted Mar 16, 2012I've managed to solve the "everyone can /tpa when using PEX" problem with enabling strict mode in the PEX config.yml at the superperms section of this file.
see here https://github.com/PEXPlugins/PermissionsEx/wiki/Plugin-Configuration
Apparently when this error occurs the permissions are actually looked up from SuperPerms. I have no clue why, and i also have nothing configured there. However using this strict mode option -as the manual also says- will make the server perform every single permission check through PEX.
Be very careful because if you enable this, you will need to grant even the most basic permissions like
and so on...
-
View User Profile
-
Send Message
Posted Mar 16, 2012How come they can still use /tpa and /tpahere without the permissions? Im using pex btw.
-
View User Profile
-
Send Message
Posted Mar 10, 2012@krinsdeath
Im only saying what is happening :)
The nodes are correct, our servers been running since 2010, im pretty experienced even when it comes to bodging a hole up and making work arounds for these things. However I cant fix this :)
-
View User Profile
-
Send Message
Posted Mar 10, 2012How is it that TWO permissions managers are doing it wrong, now?
PermissionsBukkit and Privileges both work perfectly.
Just a quick FYI, Codename_B uses (or used to, anyway) this plugin. It's unlikely that bPermissions is failing to negate nodes like, this, but I can't say this for certain.
You just need to set the node to false (don't simply "unset it" as this is not the same thing!) for the player.
-
View User Profile
-
Send Message
Posted Mar 10, 2012@krinsdeath
Tried using negative node for bperms but nothing, im using pex now and it seems to be the same.
-
View User Profile
-
Send Message
Posted Mar 10, 2012@krinsdeath
Just put in: - teleport.world.PVP and it would stop Tping to that world or?
-
View User Profile
-
Send Message
Posted Mar 10, 2012HOW DO YOU DiSABLE teleport.back as i dont want my players to use it
-
View User Profile
-
Send Message
Posted Mar 10, 2012@krinsdeath
Same problem here, I use 1.2.3-R0.2 and all players seem to have /tpa, doesn't matter what I do. I use PermissionsEX
-
View User Profile
-
Send Message
Posted Mar 9, 2012@krinsdeath
hey Kris, I'm using bPerms with CB2034 and perms work good for me. Though, i do make use of superperms for everything. I load all perms into the permissions.yml then set them in bperms.
My setup works as expected.
Oh and i run Vault... if it matters
-
View User Profile
-
Send Message
Posted Mar 9, 2012And you are unable to negate the nodes? Damn permissions managers!
Try setting teleport.* to false, and then explicitly allowing all the permissions you want them to have. These other perms managers really seem to be messing with how things work. >:
Or use Privileges or PermissionsBukkit. :)
-
View User Profile
-
Send Message
Posted Mar 9, 2012Hey krins, using craftbukkit 1.2.3r0.2 everyone seems to have .tpa permissions.
I have used bpermissions and permissionsex and its the same for both.
-
View User Profile
-
Send Message
Posted Mar 8, 2012rebel24: teleport.world.worldname; Disallow worlds by name and they will no longer be able to teleport there.
-
View User Profile
-
Send Message
Posted Mar 8, 2012Can I ask for a feature? I'd like to see a perm node that would stop users TP'ing to other users in another world! For example, I'm in survival and I don't want to be able to tp to a user in Hardcore to kill him...
What d'ya think, that would make this plugin even more awesome!
-
View User Profile
-
Send Message
Posted Mar 8, 2012Hi ProjectInfinity!
That error is now fixed locally and will be pushed with my next version update.
-
View User Profile
-
Send Message
Posted Mar 7, 2012Hey krinsdeath! I have been noticing this NPE lately, I can't seem to find a pattern, other than a person endOfStreaming as it happens.
http://pastebin.com/RpuwWHBu
-
View User Profile
-
Send Message
Posted Mar 6, 2012Bah disregard my below n00bness, Just realized there is 3x toggles i didnt notice in older versions.
Auto reject Auto accept Auto prompt