RandomTeleporter
Description
Lightweight random teleport plugin.
Set up whole areas or single locations where players will randomly be teleport to/in.
Group teleports together and specify a sign for each one.
Adjust options to allow the teleport to caves or just the surface.
Avoid dangerous blocks like lava, cactus, etc or some other situations like spawning in midair.
This will also hook into Factions & GriefPrevention if you want and teleport to free non-claimed ('wilderness') spots.
You can even use WorldEdit selection to set up teleports.
This plugin was requested by danielfr789 here.
Features
- Add exact locations or whole areas for teleportation! (Supports WorldEdit selection.)
- Define chances for each area/location and determine how often it will be used!
- Set up a list with blocks, you don't want player to spawn on! (So noone can spawn in/upon lava!)
- Customizable user messages! With color support!
- Config file with comments and examples! Easy to understand & adjust!
- Supports teleport delay! And adjust, if it is canceled on movement/damage!
- Permission support! (Of course!)
- Bypass delay & cooldown permission nodes!
- Multiworld support!
- Teleport signs! Disable the command and use the sign instead!
- Configurable cooldown for the sign and the /rtp command.
- Multiple locations / areas per world! No Limits!
- Factions & GriefPrevention support! Option to just spawn in unclaimed wilderness of the teleport areas.
- Also an Option to avoid spawning below the surface.
- Chunk preload! don't fall in the void after teleporting!
- Config check! This will tell you if your config isn't up to date anymore.
- Sourcecode available! Just message me.
Commands
[] - optional statements
<> - variables (names / numbers)
quiet simple:
V1.30 + * /rtp teleport [<group>] * /rtp invite <player> * /rtp join <player> * /rtp reload [teleports|settings] * /rtp list [<group>] * /rtp add <teleportName> [<group>] [<chance>] * /rtp remove <teleport> * /rtp combine <teleport1> <teleport2>
Permissions
V1.30 + * randomteleporter.cmd.teleport - Gives access to the teleport command. * randomteleporter.cmd.join - Gives access to the join command. * randomteleporter.cmd.invite - Gives access to the invite command. * randomteleporter.sign.teleport - Gives access to the [RandomTP] sign. * randomteleporter.admin - Gives access to everything else. * randomteleporter.bypass.delay - Gives access to bypass the delay. * randomteleporter.bypass.cooldown - Gives access to bypass the cooldown.
DEV Version
If I extend or change the plugin in any way, there will be a development version. This may contain new bugs or cause errors.
However, it also includes all new features and bug fixes as soon as I can and they are noticed.
Dev versions will not be avaiable on bukkit (because they change really often), but they are avaiable at my CI and Blog.
Please note that only the versions of dev.bukkit were checked by moderators. And you use the development versions at your own risk.
Whats up next?
- >>
Ability to group multiple teleports together... DONE - >>
Suffocation bugfix... DONE - >>
ReCoding algotithms... DONE - >>
Worldedit area selection support... DONE - >>
ReCoding Commands... DONE - >>
Ability to follow a player to destination... DONE
working on other projects :)
- >> intuitive way to join groups ...
- >> Towny support ...
- >> Maybe your enhancement? Create a ticket, if you have great ideas to improve this!
Support Me
Because I do not speak English natively, there might be some spelling/grammar mistakes.
If you find some, please create a comment and tell me how it should be written. :)
I'll fix it as soon as possible.
If you want to donate, there is a button for this in the header.
OK so im a bit confused. I have gotten everything to work on this plugin except i don't understand how to set it up so that people can just simply randomly teleport i don't want to go around and set a thousand places for people to teleport to is there a way that they can click my sign and just go to a truly random spot anywhere in the world aside from areas i have in the area avoid section of the .yml
Using this plugin on my Skygrid server, i love it ;)
is there a way to disable the "[RandomTeleporter] Teleport to CraftBlock{chunk=CraftChunk{x=-21 z=-9},x=-3455,y=42,z=-139,type=AIR,data=0} failed." The console is getting spammed with this when ever someone steps into a portal that I have setup using command blocks.
Hey, can't seem to get the signs to work on this plugin. Using latest version and Minecraft 1.6.2
@opdelta
The Config does not exist, or is in the wrong format (not UTF-8). it should be fixed now. (v_1.26). get it here or Wait for bukkit to approve the file
@ALL
I'll update this soon, but it's exams time, so I can't right now. If there is someone, who want's to update it now, pm me (u'll get the source)
Will this plugin be updated?
Update soon?
I have problems of my own, I cannot disable the plugin to make a 1 time use plugin only, every time the server restarts or plugin reloads they can use the command again.
@drsadistic
Open the folder for the Random Teleporter and go into the config, delete the current teleports. Then go to random spots in the world where you want them to TP to, and type /rtpadd (location name) (multiplyer - do 1 if you want them to go to everyone equal chance.).
Hey guys, All seems to be well with the plugin, except it keeps sending me straight to the Ender Dragon. My objective with the plugin is to use the sign to send the player to a random location in the world. Would you guys mind sending some help my way. Thank you.
When a player does /rtp he gets: "An internal error occurred while trying to perform this command" Console shows up that:
13:24:11 [INFO] opdelta issued server command: /rtp 13:24:11 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'rtp' in plugin RandomTeleporter v1.25 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 9) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServe r.java:523) at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerCon nection.java:971) at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.j ava:889) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java :846) at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292 ) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java :115) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:5 81) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:2 26) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:4 77) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java :410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:5 73) Caused by: java.lang.NullPointerException at org.bukkit.craftbukkit.v1_5_R3.TextWrapper.wrapText(TextWrapper.java: 10) at net.minecraft.server.v1_5_R3.PlayerConnection.sendPacket(PlayerConnec tion.java:730) at org.bukkit.craftbukkit.v1_5_R3.entity.CraftPlayer.sendRawMessage(Craf tPlayer.java:131) at org.bukkit.craftbukkit.v1_5_R3.entity.CraftPlayer.sendMessage(CraftPl ayer.java:136) at com.wordpress.inflamedsebi.RandomTeleporter.MainCmdExecutor.onCommand (MainCmdExecutor.java:107) at com.wordpress.inflamedsebi.RandomTeleporter.Core.onCommand(Core.java: 52) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
This also happens when i try to add a spawn location:
13:28:19 [INFO] opdelta issued server command: /rtpadd location 5 13:28:19 [INFO] [RandomTeleporter] Updating config! 13:28:19 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'rtpa dd' in plugin RandomTeleporter v1.25 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 9) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServe r.java:523) at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerCon nection.java:971) at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.j ava:889) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java :846) at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292 ) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java :115) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:5 81) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:2 26) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:4 77) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java :410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:5 73) Caused by: java.lang.NullPointerException at com.wordpress.inflamedsebi.RandomTeleporter.ressources.DynamicUtility .updateValues(DynamicUtility.java:35) at com.wordpress.inflamedsebi.RandomTeleporter.MainCmdExecutor.onCommand (MainCmdExecutor.java:201) at com.wordpress.inflamedsebi.RandomTeleporter.Core.onCommand(Core.java: 52) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
add fristjoint teleport and compatibile for xauth
@flip284
set the cooldown to '31622400000000' this should be round about 1'000'000 Years ... something similar like once ;)
How do I make it so you can only use it once?
@RasmusTheBaws
Any errors? Java Version? Plugin version?
the folder dont show up when i download it to my server :/
@iRaidBacon
Try to use version1.25 (seems to be the first bugfree release xD). nvm. The cooldown is saved in the server RAM and if you reload/restart the server, the Ram will be cleared. I could save the cooldown to a file instead to RAM, but that will drop performance ... Do u really need it? If yes I would create a modded version but i'll not put it in an official release due to performance decrease.
This is a very nice plugin and well set up. I would like to say though that I too had the issue with no config but I copied the one posted in comments. Theres an issue though that once you restart the server or reload the server the cooldown resets... Anyway this could be fixed? Other then that awesome plugin!
@InflamedSebi
http://pastebin.com/6WVeY86n
Edit: Problem was fixed. My error.
@appletechandhelp @flip284
works on my test server just fine. Any errors? Java Version? Have u tried to create the config manually?
@deleted_9935739
can u paste ur config please? Seems not to be a bug in the code.