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 Jul 12, 2014Thanks for being so good about updating and support, I really love this plugin. Could you make the color of the type on warp signs configurable? Most new players can't read the light blue of the warp name. It would be nice to have it as a setting that we can adjust. Thank you =]
-
View User Profile
-
Send Message
Posted Jul 11, 2014@MisterSanglad
Are you runnning version v4.69 beta?
@SXRWahrheit
Glad to hear that everything worked out so great ;)
-
View User Profile
-
Send Message
Posted Jul 10, 2014World listening seems to be working great with the border-fill zone in our nether. I think it even keeps the portals from being generated when people use their portals in the main world. Excellent work!
-
View User Profile
-
Send Message
Posted Jul 9, 2014"Cant find a location to teleport to" 1- http://www.hostingpics.net/viewer.php?id=920143Random.png 2- Island: Sand/Dirt/Grass 3- Pos1 (1500,255,1200) & Pos2 (230,0,-120)
Thank you in advance !
-
View User Profile
-
Send Message
Posted Jul 5, 2014I'm going to test out the world listener, thanks for adding it!
-
View User Profile
-
Send Message
Posted Jul 4, 2014@xGamingDudex
Hi, i update server, and now is working fine :D I have latest version and it s nice...
(Last area was just a test zone)
Tnx :D
-
View User Profile
-
Send Message
Posted Jul 4, 2014@bLeeqTeeq
The image is from a region which is only 5x1x8 not 5000x50x5000, and you are sure that the locations inside this region are location which are able to spawn in. That means that the zone contains a location of air which got a solid block underneath it, and another air block above it. As you got such a little area could you try and take a screenshot of that too?
-
View User Profile
-
Send Message
Posted Jul 4, 2014@xGamingDudex
Hi,
Exactly that, you said. Around the spawn is normal terrain and no roffs. When I give on mode top is the problem same.
Here is the screenshoot of MC. This is test area, but still nothing :( :
http://shrani.si/f/1d/AM/1sMdSh0B/pic2.png
And thanks for really quick response.
-
View User Profile
-
Send Message
Posted Jul 4, 2014@bLeeqTeeq
So you have already created the zone and it is around your spawn. And inside the zone there is normal terrain (grass, trees, hills, water...) and no roofs? And when you use mode Ground you get the message "Could not find a location to teleport to"? Do you got any ground blocks specified? If you try setting mode to Top does that change anything for you?
-
View User Profile
-
Send Message
Posted Jul 4, 2014@xGamingDudex
Hi, with version 4.69 still have problem. I just want area about 5000x50x5000 around the spawn. No roofs, just normal area. When i create small test area there is still that error, but whene i give on air mode, i don t have problem any more.
Please help me :D
(I already tried oldest versions)
-
View User Profile
-
Send Message
Posted Jul 2, 2014@xGamingDudex
Nevermind I got it:
Thank you for the update. Working great!
-
View User Profile
-
Send Message
Posted Jul 2, 2014@TheOnlyRealTGS
@rwsender
@gawgwg
@dutchy1001
@LegendaryAdmin
@KokaNoodles
Should have fixed the error caused by not have created any zones and also the "Could not find a location to teleport", which seams to be caused only in zones with mode set to "Ground". I've also added metrics in the update, see the main page for more info. Please leave a reply on how the update works and any improvements needed ;)
Download for v4.69 Beta
-
View User Profile
-
Send Message
Posted Jul 2, 2014Having the same issue with the latest version, didn't change anything.
-
View User Profile
-
Send Message
Posted Jul 2, 2014I'm having the same problem as many others 'could not find a location' but I've selected the entire world for people to be teleported to, i used 29.999,999 29,999,999 and -29,999,999 -29,999,999, ive also changed to the latest release. have i done something wrong? it seemed to work fine when i used it on my test server
-
View User Profile
-
Send Message
Posted Jul 1, 2014@LegendaryAdmin
Yep, update is broke, it also seems to mess with zones file, but restoring that makes no difference, you get the no locations response. Also ran this in test environment just in case,same issue. We are quite keen for the update, as been getting some real resource killing disconnects after so many hours running, and suspect this potentially may be the culprit, in its current guise.
-
View User Profile
-
Send Message
Posted Jul 1, 2014@xGamingDudex
I screamed to early. The update makes it worse and the error I have now keeps repeating itself till you stop the server in a fast tempo.
Log is to long for here so I made it on Pastebin
-
View User Profile
-
Send Message
Posted Jul 1, 2014@KokaNoodles Almost the exact same thing is happening with me, only difference is, the plugin tells me there is no where to teleport to. I updated to the new version last night of RL, I am running the latest spigot, been using this plugin for over 2 months and it has been great, something is just a bit mixed up on the update is all xD
I am going to rollback the plugin till this is fixed =]
-
View User Profile
-
Send Message
Posted Jul 1, 2014@xGamingDudex
great work, thx for the very quick respons and update.
-
View User Profile
-
Send Message
Posted Jul 1, 2014@KokaNoodles
Which version of the plugin and bukkit are you using? Have it been working before or haven't it been working at all? Are there blocks to spawn on between the y value of 63 and 85?
-
View User Profile
-
Send Message
Posted Jul 1, 2014Hey guys i have the " Can't find location to teleport to" issue also :( My screen shot of the results i am getting when clicking on the sign
The terrain is a mixture of mountains and plains there is no roofs as the terrain is kept natural for players to break and edit it how they like.
The coords for the 4 random signs we have is between -1250 85 1250.
If anyone has some advice that would be great =)