Random Teleport
Random Teleport
Random Teleport is a simple, lightweight plugin that allows players to use a command, or button and sign to teleport them randomly to the wild based on the preferences in the config.yml!
Description
Random Teleport allows users (with the proper permission) to easily teleport into the wild with one simple command! Despite RandomTP's competitors, this plugin allows you to fully configure the plugin to your own desire! With implementation both command or sign, it's easy to let new players know that they can get to the wild easily! No more /warp wild and having that location constantly griefed, each location is randomized per player!
Installation
Simply drag RandomTP.jar into your plugins folder and reload / restart your server. The configuration file will be automatically generated.
Commands
Command | Aliases | Description |
---|---|---|
/randomtp | rtp | Teleports you to a random location in your world if it is configured with RandomTeleport. |
Permissions
Permission | Description |
---|---|
randomtp.tp | Gives permission to use /randomtp |
randomtp.signs.use | Gives permission to use signs |
randomtp.signs.create | Gives permission to create signs |
How to use signs
RandomTP utilizes signs in an entirely new way! Instead of having buttons and signs, it's purely just signs now! The sign setup should be as follows:
Line 1: [RandomTP]
Line 2: World name (i.e world, MyWorld, world_nether, etc)
Configuration
Click here for configuration help.
Donate
Do you enjoy RandomTP? Wanna buy me a drink, or maybe some fries, think of donating to me! Simply click the Donate button below the Login / User preferences bar (Next to the curse link and above the Download button) and send me a thanks! I appreciate you all using my plugins!
Other Information
Like this plugin? Check out my others! IP Detection - Track players IP and stop ban evaders! CloakBreaker - Stop players from burning other while invisible! Region Module - Let players protect their own lots! Random Teleport - Easily let players teleport to the wild!!
If you like this plugin, and want more like it, think of donating to me!
After reading your post on my idea, and seeing the potential problems. I thought a few possible solutions (you probably have already thought of them) Anyways solutions:
* limit the amount of "retries" the plugin will preform in finding a new location to maybe 1-2
Thanks again, not sure if they are possible or proper but hopefully they are helpful
@Dpasi314
If you can make that special build, that would be the icing on the cake to this amazing mod!!
My server is currently running 1.6.2. Due to some of the outdated forge mods I have installed, I can't go higher than 1.6.2 atm.
Thanks again Dpasi314. :)
@Fervid
So it is an issue with the version changes. That's a bummer, I'll try and make you a special jar file (I won't put it on DBO) Also, wouldn't it just be easier to update to 1.7? Or is your server like completely 1.6? Either way, it shouldn't be too much of an issue, I'll make the jar using the Recommended build of 1.6 so make sure that your server is at least running that!
@Dpasi314
It doesn't seem to be working correctly. I removed the previous RandomTP.jar file and the folder. Then I copied over the new 3.0 jar file. Started up my server. Next I stopped my server and edited the config.yml file to this:
In my world I have a command block which executes the command: /sudo @p randomtp
The first few times I clicked the button connected to the command block I received this message: ERROR: The location (coordsx, y and z) is a OCEAN biome! Couldn't find a safe place to teleport you! Try again!
But then after trying a few times the button stopped working. I checked the console and found this:
The plugins I have installed are: Essentials.jar EssentialsChat.jar EssentialsProtect.jar EssentialsSpawn.jar PermissionsEx.jar RandomTP.jar WorldEdit.jar WorldGuard.jar
The 1.6.2 version was working on my server without any issues, I just wanted the ability to utilize more than 25% coverage when teleporting since it wont teleport to negative integers.
@EliteDesign
Yeah.. I noticed that while testing the plugin. I tried to avoid it, but I'm working on fixing that. It's a bug for not :\
EDIT: After fully reading your post, I've already tried that. However, if for some reason it can't teleport the first time, it will get stuck in an endless loop if I attempt to teleport them again while still in the same method. It would be easier if I just fixed the cool down issue.
@Fervid Have you tried using the 1.7 version on 1.6? I didn't change my code at all from 1.6 to 1.7 so I think it should work. In 1.7 the positive integers int he config represent both the positive and negative range ensuring 100% coverage of the map. So try that first, if it doesn't work, I can try to whip something up ;)
This is the best Random Teleporter I've ever seen for minecraft.
Is it possible to allow X and Y to be a range which includes negative integers for MC 1.6.2? I'm not sure if v3.0 is compatible with 1.6.2 or not.
Hey so I love this plugin, and I have an idea that I'd love to see added.
Idea: When a player types /rtp to get warped to a random location, every once in a while they will get the message saying that they weren't able to teleport because it was an ocean biome, or it was dangerous. Now this is only a problem because they can't reuse the command for another 5 min (I have it set to that). Which means they don't get a random teleport at all they just get that message and are out of luck until the 5 min is over and they can try again. Anyways I have a fix, when that happens maybe automatically retry the teleport process until a "safe" biome or non ocean biome is found so the player is guaranteed a random teleport even if at first it can't find a safe place or it finds a ocean biome.
To summarize: Get it so the plugin continually retries to find an open safe spot/biome and it doesn't stop until it does. So instead of having it stop trying after finding a ocean biome, it will keep trying to find a good area. So players will always get a teleport. Thanks!
Thx for ur answer Dpasi.
"RDM" was just a random word to test if I could have different randomtps. It could be so nice if I could do like in the config I posted where I tried to add an extra rtp but with target in another world.
Good to know about the permission usage. ty
@MineCloudGaming
That's impossible. I can't make it so that /rtp can be custom, sorry :\
@Reiner33
Only a [RandomTP] sign works. If there is anything to change that, it's hard coded in right now. I may change it in the future (Possibly next update). I'm not ever sure what RDM is, or why you're using is for that matter. Editing the config at all (except for editing values) would screw up the path and basically ruin the plugin. If you want only signs enabled then make sure that players don't have the randomtp.teleport permission.
I just love this plugin. Thx for making and maintaining it.
1) I would like to use this in my towny world, but also in my miningworld. I tried to edit config as I thought logical, but no result. Is there a way? first sign: [RandomTP] works perfect. second sign: [Rdm] doesn't work
config: RandomTP: Teleport: CoordsX: 10000 CoordsZ: 10000 World: Towny Cost: Enable: false TeleportCost: 0.0 AntiCheat: Enable: false MinumumHealthLevel: 5 Cooldown: Enable: true CooldownTime: 60
Rdm: Teleport: CoordsX: 10000 CoordsZ: 10000 World: ResourceWorld Cost: Enable: false TeleportCost: 0.0 AntiCheat: Enable: false MinumumHealthLevel: 5 Cooldown: Enable: true CooldownTime: 60
2) I prefer only to use signs. Can I block the command and allow only sign use?
@Dpasi314
Can we get it so you can change the command to something custom?
@EliteDesign
Enjoy :D This update is by far the best version I've put forth to date! Make sure you report any issues to the bug tracker ;)
Hey thanks Dpasi314, with the amount of time you have put in, and your astounding effort in the comments to satisfy us; it's difficult not to trust you :D
Anyways thanks again for the link.
@EliteDesign
It still has to be approved :\ If you want to download it before approval you can download it here (http://dev.bukkit.org/bukkit-plugins/random-teleport/files/7-random-tp-v3-0-0/)
Keep in mind that if you feel you don't trust me or my code, you should wait until it is approved by Bukkit Staff. Just as a disclaimer to you.
Hey so with the 3.0.0 version, can you maybe give us a download link, or am I looking in all the wrong places? Thanks keep up the great work. (It does not show under recent files, and I can't seem to find out where to get dev builds)
Dearest everyone: RandomTP v3.0.0 has been uploaded! Many new features and existing features have been changed and added! This update should please you all! Please use the Bug tracker for any issues that you may have!
@krustymk
Signs should be fixed in this update
@LeeEwing02
Config now generates again (hopefully) Thanks for the file though!
@netherfoam
I check for biomes now :D
@Arton123
Wouldn't the sign function of this plugin work just as suffice? Here is a quote from the original post:
-----How to use signs-----RandomTeleport also has a sign implementation, to create a random teleport sign simply create a sign on a block with the second line reading: [RandomTP] and then a button on the opposite side of it.
Hello would it be possible to have a sign that people can click in spawn, and the player will be teleported out in the "play world"/wilderness random locations away from other players. :D
FOR ALL WHO NEEDS THE CONFIG:
https://www.dropbox.com/s/ucrgeyxzvidikem/config.yml