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 Jan 6, 2014All types of console errors for me... I will test it again later and post them, I had to revert to v4.3
-
View User Profile
-
Send Message
Posted Jan 6, 2014@Keyman1986
I know the old zones config might have been better as a config, but I wanted to move it over to commands as that makes it easier for real time changes and prevent players from configuration zones wrongly
-
View User Profile
-
Send Message
Posted Jan 6, 2014Loved the plugin... but the new zone.txt is a downgrade compared to the old .yml
-
View User Profile
-
Send Message
Posted Jan 5, 2014@Folas1337
If you haven't reloaded it won't work, if you don't want to reload the hole server you can simply use /rReload to reload the RandomLocation config ;)
@GameplayerHD123
I would suggest you to go to the middle of the map and something like "/rSet me <ZoneName> 10000". Then in the config set "Teleporting.SpawnOn" to ground. Then go into the Zones.yml and look under the <ZoneName> that you used above. Then look at both Pos1 and Pos2 and find the which one that has "Y:0" then change this to maybe "Y:60", this will prevent players from spawning to low as it can be hard to get up but easy to get down. Also I don't know how high up the highest blocks of your sky grid map goes, but check that it goes higher then y:60 ;)
It shouldn't lag as much as what usually lags is that you got large areas but with a small percentage of the locations which you can spawn on. This causes the plugin to work harder to find any spots to teleport to, but on a sky grid map that doesn't seam to be that big of a problem as you got plenty of blocks to spawn on ;)
-
View User Profile
-
Send Message
Posted Jan 5, 2014Hello GamingDudex!
What settings do you suggest i use for a skygrid server? How do i limit the lag with it, since theres around 100 players only in skygrid alone.
Thank you, great work :D
-
View User Profile
-
Send Message
Posted Jan 4, 2014@xGamingDudex
I simply set "rspawn: Default" as an alias :D
The only question now is: How do I allow people to use that alias/command? I already gave RandomLocation.Use
I also added /rLoc option Default setPerm default and gave "RandomLocation.default" to my users... Still didn't work :(Found out that they can't even use "/rspawn Default" even though they have "RandomLocation.Use" and I removed the "RandomLocation.default" and the whole thing again...
It's probably something with the Default or similar or just the case that I did not restart yet with the new config and aliases... I'll try that later and then report back...
-
View User Profile
-
Send Message
Posted Jan 4, 2014@Folas1337
The newest version is v4.53 which isn't approved, meaning not up for download yet by the bukkit staff. If you are using v4.30 then you got the option "Teleporting.DefaultZone"
In v4.53 this option will be removed and you will need to do /rspawn <ZoneName>. But if you don't like that you can still setup aliases. So you can have the players type "/RandomSpot" and they get teleported somewhere inside a zone that you specify. See Config Setup for how to configure it, which already have been updated to document v4.53
-
View User Profile
-
Send Message
Posted Jan 4, 2014I just updated to the most recent version, not sure on what version I was before :D
The good thing about the old version is that "/rspawn" was enough to get teleported in the "Default" zone... Now that's not the case anymore or I can just not find it in the config. Is there any way to still have that? =)
Please let me know and thanks in advance.
-
View User Profile
-
Send Message
Posted Jan 4, 2014@EmberC
I uploaded the new version yesterday, only waiting for it to get approved ;)
-
View User Profile
-
Send Message
Posted Jan 4, 2014@xGamingDudex
Cool when can we look forward to the next release? Right now I have to specify ground instead of customground so people can spawn in the nether randomly. However, in the normal worlds they generally end up in a cave :/
-
View User Profile
-
Send Message
Posted Jan 1, 2014@EmberC
You can specify this per zone in the next update ;)
And I know Mojang is planing to remove the IDs but currently that seams to only be for the users and it still remains and easy way to specify blocks for servers and plugins, at least I think so ;)
So if the IDs get removed then I'll fix it as soon as it happens
-
View User Profile
-
Send Message
Posted Jan 1, 2014@xGamingDudex
Okay thank you. I know the ids will be going away soon. Also, is it possible to set spawn settings per world?
So on a normal world I can set it to groundtop and in the nether I can set it to ground?
-
View User Profile
-
Send Message
Posted Jan 1, 2014@EmberC
Well you don't specify names any where as every thing is done by ids, and as should work with the current version. I updated the plugin to v4.52 yesterday but it is still waiting for approval
-
View User Profile
-
Send Message
Posted Jan 1, 2014Will the next update support the 1.7 naming conventions? I would like to be able to specify users spawning on 1.7 blocks. (Is this already supported? I can't get it to work if it is)
-
View User Profile
-
Send Message
Posted Dec 28, 2013@xGamingDudex
I will use the Teleporting.rSpawnPermission to true, seems simpler. I don't even have the admin node written in, as only OPs will have permission for that stuff anyways
-
View User Profile
-
Send Message
Posted Dec 27, 2013@xGamingDudex
Hehe, awesome. :D
-
View User Profile
-
Send Message
Posted Dec 27, 2013@Arton123
Added it to the todo list, I just hadn't looked to much into the different world border plugins ;)
-
View User Profile
-
Send Message
Posted Dec 27, 2013@xGamingDudex
I would say that this is the leading WorldBorder, it is also the first one that comes up when you search "worldborder" on google, so must be the one most used.
-
View User Profile
-
Send Message
Posted Dec 26, 2013@Arton123
Well as far as I know, then there are not any leading World Border plugins out there, but rather quite a few. To make the plugin support every World Border plugin there is out there would take quite a while, but I'll see what I can do about it ;)
-
View User Profile
-
Send Message
Posted Dec 26, 2013Could you get this to work with worldboarder, so the zone automatic size itself as the limited border?