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 10, 2012@Maroseliss
All plugins on BukkitDev must be approved by a moderator. That means that a moderator have to read through the code line by line to see if there is something suspicious like a virus. This also means that when I upload a new version you won't be able to download it before a mod has approved it. I have uploaded v2.9.1 which is not the same as v2.9. Sometimes it takes just an hour but sometimes it takes days.
-
View User Profile
-
Send Message
Posted Dec 10, 2012@xGamingDudex
I still receive this message (not sign) using 2.9, is 2.9.1 a version that is not out yet?
Great plugin to help the noobs on my PvP server out!
Thanks so much!
-
View User Profile
-
Send Message
Posted Dec 9, 2012@numanumajosh
I'm so sorry. I had forgotten to remove some debug messages from the plugin after testing. Should have removed all in v2.9.1 =)
-
View User Profile
-
Send Message
Posted Dec 9, 2012-
View User Profile
-
Send Message
Posted Dec 8, 2012@owengraven
Fixed it in v2.9
-
View User Profile
-
Send Message
Posted Dec 5, 2012@xGamingDudex
With or without world specified it does nothing, not even an error message and it givesme the green txt as in tut.
Cb beta 1.4.5 0.2 , multiverse , cmndbook are my main plugs. Griefprevention claiming.
I tested in different worlds, in andout of protection and i still click it without effect, nor left or right click and no error in chat or console.
The /rspawn does work in a /rset me radius of 5000 , its set to take 25 checks. (tried more, nothing changed)
-
View User Profile
-
Send Message
Posted Dec 4, 2012@owengraven
Is it like nothing happens or do you get an error message in the log? Is it one of the signs shown at the sign tutorial? Do it have a world specified?
-
View User Profile
-
Send Message
Posted Dec 4, 2012Cant right click sign after making it, as op or not.
How to fix?
-
View User Profile
-
Send Message
Posted Nov 24, 2012@siemaeniu500
Added to the ToDo list
-
View User Profile
-
Send Message
Posted Nov 23, 2012Can you add option to teleport player to for example 5000 m from sign, value could set
-
View User Profile
-
Send Message
Posted Nov 23, 2012@sync667
Be sure to use the latest version or RandomLocation, it was a bug in a older version that the RandomLocation area didn't save to the config only to the ram, which means that when you reload and it gets the area from the config it would be the old area. Also one of the features with RandomLocation is that it will spawn you in any level inside the RandomLocation area, not only at the top block. If you don't like this feature you could set the "spawnOnGround" option in the config to false and the players would spawn in the sky with damage disabled for some seconds or make the RandomLocation are not under a certain hight by editing the config.
-
View User Profile
-
Send Message
Posted Nov 21, 2012Everything ok but... after serwer reset .. rSet me radius is not set...
and manytimes players are in caves etc.
-
View User Profile
-
Send Message
Posted Nov 19, 2012@codemanj94
No probleme =)
-
View User Profile
-
Send Message
Posted Nov 19, 2012@xGamingDudex
Thanks bud! Glad you added that feature. It really helps.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Technoash
I have fixed it in v2.8, just waiting for approval.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@xGamingDudex
Thank you so MUCH!!!!!!!!!
-
View User Profile
-
Send Message
Posted Nov 18, 2012This is an amazing plugin! I do have one problem with it. The cooldown resets when you leave the server. This is very dangerous and can be exploited by hackers to crash servers. Can you please provide a fix for this? Maybe keep the usernames in RAM until cooldown runs out? I don't know too much about Java yet so I haven't tried fixing this myself. Thanks
-
View User Profile
-
Send Message
Posted Nov 18, 2012@siemaeniu500
I have allredy answared that question. See @xGamingDudex.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@xGamingDudex
Yes, buy you can add option that player teleport to postion in all world, not into set region?
-
View User Profile
-
Send Message
Posted Nov 18, 2012@codemanj94
I will look into it.
@siemaeniu500
Have you done /rSet? You will have do make a region for players to spawn in. A little like WorldEdit. You can use /rSet <1/2> or /rSet me <Number>. You should check out Command & Premissions to see more in depth what the commands do.