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!
@krustymk Stone buttons are the only buttons that currently work, I have updated that in my latest dev build.
@UnmalditoTroll
I can confirm this, and I will attempt to eradicate this issue, thanks!
TO everyone else: Expect a better version soon with better fixes and a different color theme!
hi, first sorry for my bad english, ok i have a problem my config.yml is generating empty and cant do work...
@krustymk
If they are not working, then.... they're not working. There's nothing you can do to fix it. However, if you're setting it up improperly, then there might be a way to fix it. Make sure that the sign says [RandomTP] on the second line, and make sure the button is on the opposite side of that.
Signs/buttons aren't currently working
so how do you use it then?!?!?
@netherfoam
Oh yeah, there is. I'll try looking into that!
@Dpasi314
Awesome, thanks for looking into it :)
How about checking the biome type? I'm pretty confident there's an OCEAN biome type - Easy enough to check a blocks biome I think.
I could be wrong, I've never dealt with biomes in code before.
@netherfoam
I don't have time to test it at the moment, maybe, hopefully, in the next couple days I'll be able to. And yes, there are several ways to check the practicality of a location, I just didn't use them because I was too lazy to do all the checks for that. Also, if SafeTeleport is on, you'll (almost) always teleport on a glass block if you teleport over water. Thought I haven't tested this with Amplified.... that must be a horrendous sight... I'll put this all on my To-Do list for later.
@Dpasi314
Have a test yourself, see what happens - It was just after I installed it and ran for the first time
Is there any way you can check that where you're teleporting the player is practical? For example...
As a safety it might be an idea to 'give up' after 10 failed attempts or something
@netherfoam
I do use the saveDefaultConfig(); method on RTP. Or well my original code did unless NathanG changes it. Actually now that I look at it, I copy the defaults, and the defaults are included. The config shouldn't be copying empty... >_>;
@Dpasi314
My config copied across empty, I've fixed for my server, but that's probably causing issues for other server owners. Use the call plugin.saveDefaultConfig(); I think.
@19990801RAP_
Hmm looks like some API issues. I have a break from school coming up next week, and I'll start doing some general maintenance on RTP. Thanks for your continued support!!!
ERRORLOG:
18:53:58 org.bukkit.command.CommandException: Unhandled exception executing command 'randomtp' in plugin RandomTP v2.0.2 18:53:58 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 18:53:58 at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) 18:53:58 at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532) 18:53:58 at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchServerCommand(CraftServer.java:519) 18:53:58 at net.minecraft.server.v1_6_R3.DedicatedServer.as(DedicatedServer.java:276) 18:53:58 at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:241) 18:53:58 at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:493) 18:53:58 at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:425) 18:53:58 at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) 18:53:58 Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_6_R3.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player 18:53:58 at com.nedcraft.dpasi314.RandomTP.Commands.RandomTpCommand.onCommand(RandomTpCommand.java:23) 18:53:58 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
@MinecraftWildShows
It seems that you world name that you have in your config.yml doesn't exist. Make sure that you spelled your world name correctly!
I'm getting this in my console whenever I type '/randomtp'
http://pastebin.com/5UNCxmaw
Any help?
@stefvdwel
Glad you like it :D
Thank you very much! I love this plugin!
http://pastebin.com/UeUmsXnZ
It would be cool if the server could preload the chunks before players teleport. Maybe like 10 saved at a time?
Yes the water thing needs to be fixed, along with getting teleported underground. I cant have my users suffocating when they teleport to their new randomly picked home.
I would just like to say that the author and maintainer of this plugin are fantastic. I have received very quick replies from them pertaining to their plugin. Definitely highly recommended.