PowerTeleport
Description
PowerTeleport is an independent plugin that provides several methods of player teleportation through the use of commands. This plugin is a cumulative effort between Foretvert and CMonster95. Please comment if you need help, submit a ticket for any errors you find with the plugin, and feel free to offer suggestion of new features that we should implement. Make note that PowerTeleport is distributed as a .zip file, meaning you will have to extract the .jar file out: this file is the plugin. If you have time, please fill out the poll to the right; depending on the results, new features may be added.
Video
Explains every facet of this plugin, both with files and in-game
Commands
/tp <playerName> [playerName] : Forcibly teleport to the given player, or teleport the first player to a second player.
/tphere <playerName> : Force the given player to teleport to you.
/tpa <playerName> : Sends a teleport request to the given player that can be accepted or denied.
/tpahere <playerName> : Sends a teleport request to the given player that requests that the given player teleport to you.
/tpaccept : Accepts a teleport request from the /tpa or /tpahere command.
/tpdeny : Denies a teleport request from the /tpa or /tpahere command.
/tploc <playerName> <X> <Y> <Z> [pitch] [yaw] : Teleports the given player to a location with the X, Y, and Z coordinates defined, or to a location that includes all three coordinates along with pitch and yaw. Pitch and yaw determine the direction a player's head is facing. Pitch can be any integer from -90 (looking up) to 90 (looking down). Yaw is any integer from 0 (facing south) to 359, completing a full circle of revolution. It should be noted that yaw will turn the player clockwise with higher values, meaning the integer 45 will make the player face the south-west direction. Directions can also be used instead of numbers for both pitch and yaw. For pitch, the arguments are: up, straight, and down, while any cardinal or intercardinal direction will work for yaw: n, ne, e, se, s, sw, w, and nw.
/back : Returns the user to their latest death location once.
/tpworld <playerName> <worldName> : Teleports the given player to the specified loaded world.
/powerteleport : Sends a link to this page to the user.
Config
Currently, only values in terms of time can be configured. In later updates, we hope to include custom messages.
tp-request-timeout : Sets the time in seconds before a teleport request from the commands /tpa or /tpahere times out. Default is set to 30 seconds.
tp-request-delay : Sets the time in seconds in which a player needs to stand still before a teleport will commence. Default is set to 5 seconds.
back-delay : Sets the time in seconds in which a player needs to stand still before the teleport will commence with the /back command. Default is set to 5 seconds.
Permissions
pt.* : All PowerTeleport commands.
pt.tpbasic : Parent node that includes the ability to use /tpa, /tpahere, /tpaccept, and /tpdeny.
pt.tp : Allows the use of /tp.
pt.tphere : Allows the use of /tphere.
pt.tpa : Allows the use of /tpa.
pt.tpahere : Allows the use of /tpahere.
pt.tpaccept : Allows the use of /tpaccept.
pt.tpdeny : Allows the use of /tpdeny.
pt.tploc : Allows the use of /tploc.
pt.back : Allows the use of /back.
pt.bypassback : If a player has this node, there will be no teleport delay when using the /back command.
pt.tpworld : Allows the use of /tpworld.
pt.forums : Allows the use of /powerteleport.
Features to be implemented
- Create a better config.yml to allow custom messages;
- Integrate into LilyPad API to permit cross-server teleportation;
- Give an in-game notice to all those with the permission that PowerTeleport has a new version available;
I am proud to announce that I am restarting the development on this plugin again. We've grown a little older, a little wiser, and much better and programming in Java... so hopefully the background code will be a tad cleaner.
Look for it in a month!
@Foretvert
Can you add an option to disable/enable certain commands to your choice? This would allow me to disable your /tp command and use the vanilla command instead, but I still have the benefits of the /tploc command, which includes pitch and yaw, plus the other parts of this plugin.
Is that going to work? I guess you are already quite busy rewriting the codes.
It would certainly solve a lot of problems for me!
@TheMysteriousYT
Unfortunately, there is only a difficult way around this. PowerTeleport naturally replaces vanilla commands and since it is a plugin not native to vanilla Minecraft server commands, command blocks will not work. However, if you search a plugin called VariableTriggers, you should be able to create things similar to command blocks and have them run the command /tploc from PowerTeleport, creating the same effect. Respond if you need further clarification.
I have a problem with this plugin:
If you import custom maps in your server that include command blocks with vanilla tp command to locations, they won't work and the map will be useless on the server.
Do you have a solution for that?
@palipali
Great idea! Look for it in the next update!
Hey guys, just something to look forward to:
There's no date to when this will come out, but it will hopefully be soon. Foretvert, good job :) After the base system, you've been doing most the work. Thanks.
@Foretvert
Will do, Thanks! :-) +1
@ThisUsernameIsMine
I could probably add that in. Perhaps look for it in the 1.7.2 update? :)
This looks really cool! :-)
I'm only missing one thing:
- set/limit which players/ranks can teleport across worlds
(i.e. allow certain ranks to only teleport to players that are in the same/current world, and allow other ranks to teleport to players regardless of the world they are in)
Hopefully you'll (consider) add(ing) this! :-) +1
@TheMysteriousYT
Yes, whenever plugins have conflicting commands there will be errors. If you end up staying with bPermissions, I could create a special version for you, changing the /world argument to a different one. PowerTeleport is distributed as a .zip file since we have bundled the source code with the actual plugin. This is done since PowerTeleport is licensed under Simplified BSD, meaning anyone is free to modify the source. As you have determined, just use the .jar file, which is the actual plugin.
@Foretvert
My current permissions plugin, bPermissions, uses a '/world' command, your plugin does that as well, so I'm expacting issues with that. It won't be a huge problem for me since I'm planning on switching to pex.
The reason why it didn't work for me is because I didn't notice it was a .zip file, and the .jar was inside, I'm not used to that, sorry. I'll test it soon enough.
@TheMysteriousYT
Could you be more specific about the issues concerning /world? This should still work in 1.6.4, but since Bukkit is not currently available in a 1.7.2 build, I cannot update the plugin yet.
bPermissions doesn't like you using /world Also, does this work in later versions of craftbukkit than 1.6.2?
@UltimateRuneMaster
That's why we released it ;)
@CMonster95
You kan haz cookie. This seems to be the most up to date version of a tpa plugin around so far, thanks
first. i kan haz cookie?