RandomLocation
RandomLocation
1.9 Update
I haven't done much with this plugin for a really long time, but as it is more or less no longer working for 1.9 I decided that it was probably time for an update. Though with studies and three other jobs, finding time for this projects isn't going to be easy. I have also decided to do a full recode of the project and planing on making it open source, allowing others to help update and implement new features in the future. Please stay tuned for more information regarding updates.
What's RandomLocation
RandomLocation lets you teleport to random location in preset areas. This can be done by command, signs or custom portals. You can also configure it to teleport people that join for the first time to a random location for getting a better start where there ain't others.
Features
- Spawn players in a random location in a preset area
- Easy to use, no configuration needed
- In-game reload
- Full permissions, but not needed
- Teleports through signs
- Teleports through custom portals
- Light Weight
- Cooldown
- Multi-World support
- Choose from spawning in the air with god mode or safely on the ground
- Highly configurable
- Plenty of spawn settings that fits every server from survival or skygrid to urban servers
- Teleport on first join support
- Plenty of settings to edit per zone
- Ability for custom permissions per zone
- Advanced zone options that are easy to configure
- Edit zone options in game
- Take regular updates with custom intervals of the config files
- Command to fit zones to WorldBorder settings
Supported Plugins
RandomLocation will hook into the supported and provide a better location and prevent players from being teleported into protected areas All hooks can be disabled in the config file
- Faction support
- Towny support
- WorldBorder support
- WorldGuard
- Vault (Economy)
Spawning Conditions
You have some config options for how players shall spawn. This is changed under the zone mode You can choose "Ground", "Air" or "Top".
For all the above options except for "air" players will not spawn on or in:
- Lava
- Water
- Fire
- Cactus
- Cobweb
- Normal Portal
- End Portal
- And more
Players will neither spawn in mid air or in solid blocks.
Tutorials
I haven't gotten the time to make a tutorial myself, but if any one else wants to make one then I'll be very great full
Thanks to LegendSmile for providing at least a german tutorial:
https:www.youtube.com/watch?v=_J5ULsNvrqE
FAQ/Help
If you have any questions just ask, BUT before you ask read:
If you have a problem at all then the first thing you should do is see if there is an update, if you got to the latest update then you can also read about all previous updates, and one of the might contain something fixing your issue. This is one of the most common request I get, as people report bugs that are old and fixed. The plugin also contains an auto updater, announcing when a new update is found. When reporting a problem, do also state your plugin version.
If you have problems with the plugin displaying "Cant find a location to teleport to" then post a comment with the following info:
- A screen shot of the result you get from "/rLoc option <ZoneName> info"
- A description of what type of condition the zone is if (does it have a roof, what is the most common ground block, what world is it in, etc.)
- The coordinates (do not have to be precise for bigger zones, can be "400,110,1000", meaning ca x ≈ 400, y ≈ 110... (for both pos1 & pos2)
If you are having lag problems then there is often two reasons. One is that players are teleported to chunks which haven't been loaded before, and therefor the server needs to generate the chunks while it is teleporting the player. To fix this you could try and use WorldBorder which got a fill feature to generate the chunks within a world border.
Another reason for lag might be that you server doesn't got much resources to disposal. Meaning either your server is over loaded or that you don't got a very strong cpu. To reduce the lag created by the plugin, check out the "Performance" section in the config page above. Look into the settings and adjust them to your needs.
Auto Updater
The plugin has its own plugin updater, which checks wether there is an update available or not. The updater will not download anything, only notify console and admins. To disable this and prevent the plugin from using any network access click on this: Config Setup and scroll down to the Auto Updater settings a bit down on the page
Metrics
As of version 4.69 Beta, this plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true
The plugin also got an auto updater, which will check for the latest version and download or only notify if it finds a method. If you want to disable this, go into the config.yml and set "Updater.Enable" to false
Bugs
To report a bug just leave a comment describing you bug, also if you got any errors in the log please provide them to with a web site like pastebin. Also provide the current MC version, RL version and other information that might be of interest like if you are running a custom build like spigot.
- None
ToDo
Todo - Priority
- Add messages file for editing the messages displayed by RandomLocation - Low
- Clean up commands & text - Low
- Add option for radius check in search of protected areas when spawning, e.g. not spawning to near Faction land and so on - Medium
- Add range option for nearest player - Medium
- Add more options to the AIR mode (height and so on) - Medium
- Add more perms (cooldown bypass etc) - Medium
- Allow multiple destination zones for portals (maybe commands too) - Medium
- Custom cooldowns per portal (maybe per destination zone instead, custom cmd, sign and portal cooldown) - Medium
Support
Feeling generous?
You can also check out my youtube channel here.
________________________________________________________________________________________

-
View User Profile
-
Send Message
Posted Apr 27, 2013@xGamingDudex
Sweet, can't wait =)
By the way, it looks in the config as if you can set up more than 1 world.
I'm not quite sure how to do it yet though, I want people to be able to click a RL sign in skylands (world_skylands) so they will get to a random location there. Possible or is this in the to-list (Add non-spawn zone - Medium)?
Thanks!
-
View User Profile
-
Send Message
Posted Apr 22, 2013@roggbart
I have the no spawn zone on the todo list
Thanks :D
Also on the todo list ;)
I hope to check of some of points on the todo list some time soon but I'm currently quite busy with school so will try to it when I get a break ;)
-
View User Profile
-
Send Message
Posted Apr 21, 2013@xGamingDudex
Enable minimum radius/z/x from to prevent some random locations to be set to near. I have a pretty big spawn with market and some times the players will get a random location that is still within the protected spawn zone.
My players love this plugin by the way.
A command to teleport other players to a random location could also be useful so I could make portals commandblocks to trow the player to a random location.
-
View User Profile
-
Send Message
Posted Apr 18, 2013@atypicaluser
You should not be able to spawn inside solid blocks, but I will check on it. It has been quite a time since I updated this as it seams that there haven't been any bugs with any bukkit update until maybe now.
-
View User Profile
-
Send Message
Posted Apr 17, 2013This plugin is great. It's just what I needed for my multi-world setup. I'm having one small issue, however. It seems that one of every five uses of my random location portal sign, I get dropped into an unsafe situation: I spawn at the new, random location inside tree leaves. Needless to say, I suffocate to death. You explicitly mention that players will not spawn on or in lava, water, fire, cactus, cobweb, or normal/end portals. I just assumed that also included in dirt, stone, gravel, sand, trees ... basically anything solid and, well, deadly if you're inside it!
Could my spawning inside tree leaves be a bug or is my assumption simply wrong, meaning one might actually spawn inside dirt, stone, trees, etc. and that's just the risk of random portals we have to live with?
Thanks!
-
View User Profile
-
Send Message
Posted Apr 2, 2013@_iMinecrafter_
yes
@EncryptedCurse
yes
note: Have been on vacation so sorry for late reply
-
View User Profile
-
Send Message
Posted Mar 31, 2013I have been looking for this for a while. Are you planning on keeping this updated with future Minecraft updates?
-
View User Profile
-
Send Message
Posted Mar 21, 2013@xGamingDudex
So I can select my spawn and make that into a zone, then whenever someone types /rspawn, they'll be placed somewhere random that is within 750 blocks of the zone?
-
View User Profile
-
Send Message
Posted Mar 21, 2013@xGamingDudex
Thanks dude! :D
-
View User Profile
-
Send Message
Posted Mar 20, 2013@EncryptedCurse
If you want to add so that players can do /rSpawn within 750 blocks from spawn, you have to make a zone that have a radius of 750 and the center at spawn. But say that you just wanted people to randomly spawn in a city located from x: -352, -458, y: 62, 74, z: 96, 124, but spawn is at x: 1998, y: 3091, z: -1462, then you can't just let them spawn in a radius of 750 blocks from spawn. Thats where the zones comes in. You can then make a zone called City and one named Spawn.
-
View User Profile
-
Send Message
Posted Mar 19, 2013I don't quite understand this plugin. I'd just like to have the player be able to use /rspawn and be teleported anywhere up to 750 blocks from the spawnpoint. What exactly are the zones?
-
View User Profile
-
Send Message
Posted Mar 19, 2013@MCLegendServer
The plugin is fully 1.5 compatible :D
@cancabron
I'll add it to the todo list. I know the list is already growing quite long, but at the moment I've got very much to do with school and all
-
View User Profile
-
Send Message
Posted Mar 19, 2013Could you add a time of teleport-invulnerability? It could be good because sometimes i spawn near a lot of zombies and kill me..
-
View User Profile
-
Send Message
Posted Mar 18, 2013Hi. Can you plz update this plugin to 1.5 soon? :)
-
View User Profile
-
Send Message
Posted Mar 7, 2013Can you add a configurable delay to the command? For example when you type /rspawn you always have to wait 5 seconds before teleport everytime.
I know there is a cooldown. So dont say this is already added.
-
View User Profile
-
Send Message
Posted Feb 22, 2013I am so using this plugin on my server but I think that portals would increase this plugins popularity. I think it's priority should be high I have been looking forever for a plugin that does that great plugin though I really appreciate your hard work and effort.
-
View User Profile
-
Send Message
Posted Feb 19, 2013@Desertive
You could use a sign at the spawn and only have cooldown for the /rspawn command, but I'll look into it. May have to and a non-spawn zone. Also the message file is already on my ToDo :D
-
View User Profile
-
Send Message
Posted Feb 19, 2013Great job! I really appreciate your fast working style :)
What me and my friend talked about, is there a possibility to make "minimum-range" for random teleport? I can quess that many admins here uses this to get out of the spawn quickly, but if you get unlucky and get teleported to somewhere in spawn, you have to wait to get cooldown down before you can try again.
Edit. Also setting texts with my own language would be awesome!
-
View User Profile
-
Send Message
Posted Feb 13, 2013Update v3.2 is out
I have finaly added the SpawnOn option which makes it possible to let only players spawn on grass. Also cleaned up the config.
When you read this you might not find the file as it hasn't been approved yet. For the bukkit dev team to approve the update it takes normally between 6 hours to 2 days
-
View User Profile
-
Send Message
Posted Feb 10, 2013@Ruzuki
Do /rset default <ZoneName>, you can also do /rspawn <ZoneName> if you have more than one zone