KRandomTeleport
KRandomTeleport
Allows creation of a sign which will randomly teleport players a specified distance away from sign location. This is useful on worlds were grieving, factional warfare, or PVP is allowed. Normally, a player has to walk a certain distance away from spawn to build, prevent other players from grieving, or being raided too quickly. With this sign you can specify the minimum and maximum distance that a player will be randomly teleported with in.
Sign Creation
These conditions have to be satisfied to create the sign:
- You must have OP (operator) status on the server.
- First line of the sign must be "RandomTeleport" with out the quotes.
- Second line of the sign must be "[Click Me]" with out the quotes.
- Third line must be the maximum teleport distance.
- Forth line must be the minimum teleport distance.
For example:
RandomTeleport [Click Me] 10000 3000
This would teleport players between 10,000 blocks away and 3,000 blocks when they right clicked on the sign.
Water World Warning
I recently updated the plugin, at the request of many users, to not teleport you into water. The problem is there were two ways I could program this into the plugin. The fast way and the slow way. So I choose the fast way. The problem with the fast way is that if you for example had a world with abnormally large amounts of surface water than you could encounter a lockup in the plugin, because essentially it stops the server when it starts calculating to find land and if it never finds any well it will never stop looking. This will likely only effect like 0.0001% of the users of this plugin.
However, if you notice using the signs causes a lockup or the number of cycles is growing quite large and causing your server to stutter just come on here and leave me a comment or private message and I will take the extra time to make it work better for your server. It is just that it will require a hour or two of extra coding time because I have to redesign how it works slightly and of course I am really busy so I am not going to do that unless someone actually needs it!
Changes / Features / Problems
To report desired changes, ask for features, or report problems please just leave a comment below or you can contact me at kmcg3413 at gmail.com.
Developers
If you want the source for this plugin simply unzip the JAR and you will find the source files along side the compiled class files.
-
View User Profile
-
Send Message
Posted Dec 15, 2012@kmcguire3413
Yes
-
View User Profile
-
Send Message
Posted Dec 15, 2012Okay, the version http:dev.bukkit.org/server-mods/krandomteleport/files/3-1-1-2b/ has logic to detect the spawning over water and recalculate until it finds lands.
Warning: If you have a world with nothing but water or highly abnormal amounts of water the amount of time to execute this command could increase. If you notice your server locks up when executing this command post here and I will update the plugin to support servers with large amounts of water. It is just that the code to do this requires an extra hour of coding work because I have to slightly redesign how it works internally to not lock the server up and pre-calculate teleport locations during idle time. So, if this happens to you and you want this feature (to support worlds with large amount of water) then post here and let me know.
However, for 99.9% of you guys who are using this plugin this will not effect you.
-
View User Profile
-
Send Message
Posted Dec 15, 2012@siemaeniu500
Do you mean add to config where you can change the messages to match another language? As in German, Russian, or such other?
-
View User Profile
-
Send Message
Posted Dec 15, 2012Ok, let me see if I can make it where it will not spawn you over the water.
-
View User Profile
-
Send Message
Posted Dec 8, 2012Can you add option, for example player can't spawn on ocean biomes /water biomes?
-
View User Profile
-
Send Message
Posted Dec 4, 2012Thumbs up. Please make it avoid water though (or ocean biomes?) because it's horribly annoying to teleport into them.
-
View User Profile
-
Send Message
Posted Dec 2, 2012Great Plugin , i need that :) You can add config to translate messages, and default min. and max. teleport distance
-
View User Profile
-
Send Message
Posted Dec 1, 2012Oops, I should have it fixed in the new version.
http:dev.bukkit.org/server-mods/krandomteleport/files/2-1-0-1b/
-
View User Profile
-
Send Message
Posted Dec 1, 2012Your plugin stops all people except me (the head overseer with *.* perms) from creating signs.
-
View User Profile
-
Send Message
Posted Nov 26, 2012LOL, I will see what I can do. That is quite possible to do.
-
View User Profile
-
Send Message
Posted Nov 26, 2012Would be cool if you add a feature that Avoids being teleported in water :)
-
View User Profile
-
Send Message
Posted Nov 24, 2012Exactly what I've been looking for
Thanks in advance