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 May 27, 2013Hi. Can you plz help me? I cant find out how I remove a randomlocation sign... :/
Best regards Benleo.
-
View User Profile
-
Send Message
Posted May 26, 2013Why do I keep getting 'Was not able to find a location to teleport to.' when typing /rspawn? I set the radius to 3000 blocks from myself and there is generated land for 20000 blocks.. When I type it enough times it then teleports me.
-
View User Profile
-
Send Message
Posted May 21, 2013@ShadowOfBlood
I will be looking into it when I get home to Norway, currently traveling in England :D
-
View User Profile
-
Send Message
Posted May 21, 2013In v.4.12 I'm getting the following error occasionally:
-
View User Profile
-
Send Message
Posted May 20, 2013@honfar95
Ok, but I need an ip, you could either message me in private or post it below
-
View User Profile
-
Send Message
Posted May 19, 2013@xGamingDudex
turns our /rl is an alias for reload. that was the issue. not the plugins fault. but im having trouble setting up the portal. if you had any free time it would be awesome if you could hop on my server and show me how to set up a portal.
honfar
-
View User Profile
-
Send Message
Posted May 18, 2013Ok it works great, thanks!
-
View User Profile
-
Send Message
Posted May 18, 2013@jacob_vejvoda
You mean giving it a name? When you do /rSet <ZoneName> <1/2> or /rSet me <ZoneName> <Blocks> then the name is ZoneName, which you can use when /rSpawn <ZoneName>
-
View User Profile
-
Send Message
Posted May 18, 2013How do you define a zone?
-
View User Profile
-
Send Message
Posted May 18, 2013@jacob_vejvoda
/rspawn [ZoneName]? Or on signs you define it on the second line Or with portals you use /rset teleport too <PortalZone> <ZoneTooTeleportToo>
-
View User Profile
-
Send Message
Posted May 18, 2013Is there a way to choose the zone you teleport randomly in?
-
View User Profile
-
Send Message
Posted May 18, 2013@richicru
Try updating to v4.12, v4.0 contained a bug which throw similar errors but is now fixed
-
View User Profile
-
Send Message
Posted May 18, 2013We get this error every 10 minutes aprox http://pastebin.com/PKJdxTiS
-
View User Profile
-
Send Message
Posted May 17, 2013@ShadowOfBlood
Have fixed it, and uploaded a fix in v4.12, you have to wait until it gets approved by bukkit dev staff though which may take 2h-2d
-
View User Profile
-
Send Message
Posted May 16, 2013Hey, I'm using version 4.1 and have a problem. I have a space world, generated using a generator/plugin called bSpace. I set the teleport type to "Top" and users teleport into the air and fall into the void. If I set it to "Ground" they are able to teleport onto the planets properly, but in my survival world they end up in caves. Also, it seem whenever somebody tries to use a RL sign, the entire server lags terribly and occasionally crashes.
-
View User Profile
-
Send Message
Posted May 15, 2013@smallpen
Sorry, seams that I have typed it wrong in a hurry, it I have uploaded a new version with the fix, but for now use RadonLocation.Admin
-
View User Profile
-
Send Message
Posted May 15, 2013I use v.4.1 and PEX , even if I add "RandomLocation.Admin" permission, but still say "You don't have permission" !!
-
View User Profile
-
Send Message
Posted May 14, 2013@honfar95
Try turning down the Teleporting.Checks in the config, maybe 100-200 and see how it goes, if it still crashes, just reply
-
View User Profile
-
Send Message
Posted May 14, 2013@honfar95
v4.1 still crashes my server. very frustrating. i have lots of players who want to play and no way to warp to the wild. please respond asap
-
View User Profile
-
Send Message
Posted May 14, 2013installed on 1.5.2 bukkit server. when i use any of the plugins commands cpu usage goes to 100% and server crashes and tries to reload all of my plugins. Tried v3.2 does the same thing. tried uninstalling all other plugins still does it. not sure problem, help asap!