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 Dec 26, 2013@dnluca
Do the RandomLocation.Admin work?
Be sure you have spelt it correctly, like copy pasted for instance.
If the above don't work could you also send the GroupManager config, so I could take a look.
If you want all users to have the RandomLocation.Use then you could also turn "Teleporting.rSpawnPermission" to false as this will more or less disable the use of the RandomLocation.Use permission
-
View User Profile
-
Send Message
Posted Dec 25, 2013@xGamingDudex
I can't seem to get the RandomLocation.Use node working with GroupManager.
Spigot 1.7.2 - RO3
-
View User Profile
-
Send Message
Posted Dec 25, 2013@xGamingDudex
This can work thanks a lot agien! :D
-
View User Profile
-
Send Message
Posted Dec 25, 2013@Arton123
Thanks I'll see what I can do about the thread/topic ;)
For your situation I would suggest you go to the build world and do something like "/rSet me <SomeZoneName> <Huge Number ;), e.g. 10000>". This will create a zone that stretches x (the huge number) blocks away from you in all directions. Then at spawn you set up a sign that says [rl] on the first line and on the second line the name zone you just created (SomeZoneName). Then when a player clicks the sign he/she will be teleported to the build world :D
I would also suggest you to set "Teleport.SpawnOn" to "Grass" in the config, letting only players spawn on grass blocks, or set "Teleport.SpawnOn" to "CustomTop" and then "Teleport.CustomTopBlocks" to "[18]" making the players spawn on the highest possible block, but under leaves
-
View User Profile
-
Send Message
Posted Dec 25, 2013@xGamingDudex
You are welcome! :D
Alright beacuse i would like a feature that can do, example there is a spawn world where players cannot do anything, before using a sign/portal that takes you to a another world that you can select, and it will trow you in a random location as far as possible from other players.
I am not really good at understanding english but i try my best. :D
EDIT:
Btw i think it would look cool to have the picture in the thread/topic as the first you see, and colourize the topic to match the logo :D
-
View User Profile
-
Send Message
Posted Dec 25, 2013@Arton123
Thank you so much for the logo, looks great :D
Currently you got quite a few settings you can tweak to fit your needs like whether the player should spawn on top (not under any blocks) and then you got filters with blocks you can spawn under, or if you should only spawn on some blocks like grass for instance.
Currently that can only be set in the config and applies for every zone, but in the next update you can change all the settings individually per zone.
-
View User Profile
-
Send Message
Posted Dec 24, 2013@xGamingDudex
Cool sounds awesome!, btw i noticed that this plugin does not have a logo and thought it should have one, so i took me some time to create one for it. :) http://i.imgur.com/qXzqc7Y.png
EDIT:
what is that thing with "zones" to do? :P
-
View User Profile
-
Send Message
Posted Dec 24, 2013@Arton123
Thanks, and glad you like the plugin ;) There will probably be a pretty big update in the next days depending on how much I get to do due to Christmas ;), but it will change most of the config setup, so I'll recommend you to not lay to much work into it, as you may end up doing most of it one more time after the update. Most of the features will still remain so all I can recommend you doing is just experiment with it ;)
-
View User Profile
-
Send Message
Posted Dec 24, 2013@xGamingDudex
Woaw you are fast at answering, you where the first to answer our of 5 other post i done on similar plugins, seems like im going to stick to this one here.
and thanks i will upload the plugin to my server, and test it out!
-
View User Profile
-
Send Message
Posted Dec 24, 2013@Arton123
You can :D You can read all about how to do it on this page: How To Create Teleport Signs
Basically create a sign with [rl] on the first line, then on the second the name of the zone. On the third and fourth line you may put what ever text you want ;)
If you leave the second line empty then you will be teleported to the default zone, if there is one
-
View User Profile
-
Send Message
Posted Dec 24, 2013Hello 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. :P
-
View User Profile
-
Send Message
Posted Dec 21, 2013@EmberC
You might have the "Teleport.SpawnOn" set to Top or CustomTop
Else you might be having the "TeleportSpawnOn" set to "CustomGround" and then not defined any blocks like nether rack in the config, which means that it can't find any blocks to teleport you on to
-
View User Profile
-
Send Message
Posted Dec 21, 2013@xGamingDudex
When I set a zone in the nether it states, "[RandomLocation] Could not find a location to teleport too". I'm not sure what I need to do in order to get it to work.
-
View User Profile
-
Send Message
Posted Dec 21, 2013@EmberC
The plugin has multi-world support, which means that you can set the zone in any world you like, even nether and the end
-
View User Profile
-
Send Message
Posted Dec 21, 2013Is there anyway to add support for the doing this in the Nether?
-
View User Profile
-
Send Message
Posted Dec 21, 2013@MRLUCKYSHOT11
There are two ways of setting up a zone.
You can do /rSet <ZoneName> <1/2> - Sets pos 1/2 for zone ZoneName. This sets the two corners of the zone. The zone name is case sensitive
You can also do /rSet me <ZoneName> <Number> - Sets pos 1 & 2 Number blocks from you.
-
View User Profile
-
Send Message
Posted Dec 20, 2013Hey how do you create a zone?
-
View User Profile
-
Send Message
Posted Dec 19, 2013I'm really looking forward to using this plugin, but I cannot use it until the Towny Support is added. Please work your hardest to get that done before December 30th! <3
-
View User Profile
-
Send Message
Posted Dec 16, 2013@shadowfaxenator
Added it to the todo list ;)
-
View User Profile
-
Send Message
Posted Dec 15, 2013Is it possible also to add Towny support? Not to allow spawning in a town regions