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 Mar 11, 2014@xGamingDudex
I tested that yestoday, got this huge long error spamming: http://pastebin.com/bNrbucbc
Downgraded to 4.6 and the error is still there. Very strange.
EDIT: more http://pastebin.com/tCtSev4f
@Machinemania3
I didn't use a plugin, i used spigot.
-
View User Profile
-
Send Message
Posted Mar 10, 2014@TheOnlyRealTGS
Can you tell me the name of that program your using to calculate the loading, i need to test some of my plugins.
-
View User Profile
-
Send Message
Posted Mar 9, 2014@xGamingDudex
I believe the backup routine is failing (at least on windows servers) because the colon in the filename isn't an allowed character for filenames :(
-
View User Profile
-
Send Message
Posted Mar 9, 2014@xGamingDudex
http://paste.ubuntu.com/7065117/
-
View User Profile
-
Send Message
Posted Mar 9, 2014@TheOnlyRealTGS
Doesn't it say that RandomLocation uses only 1,38%? Isn't that quite low?
Anyway I upload a new optimized version last week (28.feb) which still hasn't been approved due to VERY slow approval process by the bukkit staff. I really don't know what is taking them so long, though I know this is not the only project suffering from slow approval the last couple of days
-
View User Profile
-
Send Message
Posted Mar 9, 2014I know you optimized RandomLocation before, but it's still pretty heavy:
More would be cool if possible :)
-
View User Profile
-
Send Message
Posted Mar 7, 2014@xGamingDudex
yes already.
-
View User Profile
-
Send Message
Posted Mar 7, 2014@piritacraft
But have you removed "Respawn''" from the config?
-
View User Profile
-
Send Message
Posted Mar 7, 2014@xGamingDudex
error log yet : http://pastebin.com/arcvR9qE
-
View User Profile
-
Send Message
Posted Mar 5, 2014@tkx
The respawn bug should be fixed in the next update, which I uploaded almost a week ago, so I guess we just have to stay tuned for it to get approved
@Lord_Kaydan
Currently no, you would in that case need a custom plugin, which just checked the spawn location after the player has been teleported by RandomLocation
@piritacraft I am aware of the bug and its a config error in v4.60, just remove "Respawn: ''" and reload, which should resolve the problem
-
View User Profile
-
Send Message
Posted Mar 5, 2014Error log spamming: http://pastebin.com/qEe3FUT5
-
View User Profile
-
Send Message
Posted Mar 3, 2014Hi xGamingDudex! If a player joins for the first time at a random location ... There is a way to keep this location? I mean that if that player dies... he respawn in that location again?
-
View User Profile
-
Send Message
Posted Mar 3, 2014@xGamingDudex
It did but then for some reason it stopped working. I use it for a death spawn. Someone told me later that they were getting transported to initial spawn after death and they were getting the message that I provided. If you are interested in checking it out, http://www.SESIGames.com/minecraft.
-
View User Profile
-
Send Message
Posted Mar 3, 2014@tkx
But does it work with mode set to ground, and with GroundBlocks set to 87?
-
View User Profile
-
Send Message
Posted Mar 3, 2014@xGamingDudex
I had to cut the roof out of the nether and then set the node to air for it to work...
I did try the Performance update thing to 200 but still didn't work. Weird thing is that it did originally work and then stopped working so I needed to cut open the nether
-
View User Profile
-
Send Message
Posted Mar 3, 2014@tkx
@soulscapex
@tkx
@blazzzer213
Does the plugin say this every time you try to download or only once in a while, like every other. If so then you could try and turn up "Performance.ChunksToCheck" as stated before in commends below and the change log.
If that doesn't work then you should check your settings for the zone, if you have set the mode to top, check that there is locations that don't got blocks above them, or that you add those blocks the the TopBlocks filter. The same goes for GroundBlocks.
I have uploaded an update which should fix most of the "Could not find a location to teleport to" 2 days ago, but it seams that the bukkit staff either is really slow on this one or that they just got a lot to do atm.
-
View User Profile
-
Send Message
Posted Mar 3, 2014After just creating the Zone, it works. 20 Hours later, it doesn't work.
It states that, "Could not find a location to teleport to".....
Please fix.
-
View User Profile
-
Send Message
Posted Mar 2, 2014@xGamingDudex
Ugh<sub>,</sub>Now I get the error "Could not find a location to teleport to".....
-
View User Profile
-
Send Message
Posted Mar 2, 2014@xGamingDudex
ok i have removed , ill see what happens on reboot
MoveRestriction:
Enable: false
Time: 5
IgnoreBed: false
Respawn:
Aliases: ''
ZoneCheckDelay: 300
-
View User Profile
-
Send Message
Posted Mar 2, 2014@tkx
yes ive been having that issue for bout 2 updates now, i had to eventually set to air ,
for it to work.