Teleport Random Location
Description
Teleport Random Location is a mod that I made for PVP servers to use as a means of giving new players a chance to get started without having to go through PVP areas. It's still a WIP, and I will be doing my best to perfect it over the course of the next week or so.
Usage
This plugin has just one command, /tprl.
/tprl - Will teleport a player to a random location in the world within the bounds specified in config.yml (default -10000, 10000)
/tprl [min] [max] - will teleport a player to a random location in the world between the supplied bounds
Configuration Options
min_default_location - The minimum value to generate random locations from
max_default_location: - The maximum value to generate random locations from
default_invulnerability_ticks - How many ticks invulnerability the player has after teleporting. Should at least be set to 200, as the player spawns 255 blocks in the air and then falls (without the invulnerability, the player would die).
Coming Soon
- Currently the plugin only supports a square box drawn from 0,0.
- Add a configurable center point.
- Add in the ability to supply more options (Like the ability to supply polygons of coords to spawn a player in)
Source
This is my second plugin for Bukkit, and I'm a bit new at Java programming. If anyone wants to check out the source, or give me pointers on my code it can be viewed/cloned at https://github.com/xylude/tprl.
-
View User Profile
-
Send Message
Posted Jul 8, 2013I love the plugin, its great for what im doing for my server. One thing, are you able to add a time limit to when they can use the command in seconds. Also, could you add a option to only enable them to use it after every death. This would put your plugin over the other teleport ones, and I will donate if you are able to do so. Thank you.
-
View User Profile
-
Send Message
Posted May 4, 2013@X0Gold
Why not make a button with a command block, or a [Warp] random sign that teleports you to a pressureplate that leads to a command block that uses the /tprl command?
-
View User Profile
-
Send Message
Posted Apr 1, 2013@tpanhuyzen
Life saver :P
-
View User Profile
-
Send Message
Posted Mar 4, 2013Hi , I have a MineZ server and i want to have a sign for random spawns . You right click on it and it will tp in a area that i will make . How about them apples ?
-
View User Profile
-
Send Message
Posted Feb 24, 2013I looked at the code for this plugin. The permission node is tprl.Tprl guys
-
View User Profile
-
Send Message
Posted Feb 3, 2013Hi! Whats the permission?
-
View User Profile
-
Send Message
Posted Nov 17, 2012A reload command would be good.
We also can't seem to use this in creative mode.
-
View User Profile
-
Send Message
Posted Oct 29, 2012default_invulnerability_ticks - How many ticks invulnerability the player has after teleporting. Should at least be set to 200, as the player spawns 255 blocks in the air and then falls (without the invulnerability, the player would die).
Instead of dropping them from 255 blocks you could just get the highest non air block
For more info look at http://jd.bukkit.org/doxygen/dd/daa/interfaceorg_1_1bukkit_1_1World.html
And just spawning them right above that block
No need for invulnerability and way more easy
-
View User Profile
-
Send Message
Posted Oct 1, 2012ehhm a permission to players? -.-
-
View User Profile
-
Send Message
Posted Sep 15, 2012Agreeing to KoroshiyaHunter's post, an option to not teleport above water would be awesome, cuz thats the only place i do spawn ._.
-
View User Profile
-
Send Message
Posted Sep 15, 2012Might I also suggest that the plugin detect if the player would spawn above water or lava? Even with invincibility, spawning in the middle of an ocean is a major inconvenience and it's possible to not be able to trudge out of a pool of lava before the timer wears off.
Also, permissions support would be fantastic so that we can define who can use this and where they can use it.
-
View User Profile
-
Send Message
Posted Sep 7, 2012IVE BEEN LOOKING EVERYWHERE FOR THIS PLUGIN OMG FINALLy SOMEONE MADE IT :DDDDD
-
View User Profile
-
Send Message
Posted Sep 7, 2012@xylude
randomlocation has that feature but it is complicated this plugin will be perfect with your signs implemented
-
View User Profile
-
Send Message
Posted Sep 4, 2012@auben - I'll definitely be doing that, I'm going to be testing it out to see what needs done for that to work this week.
-
View User Profile
-
Send Message
Posted Sep 3, 2012You should make a feature that lets player click a sign and it teleports them some where random, instead of having and admin/op do it every time.