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 Aug 9, 2014This has been causing problems with HomeSpawnPlus. Any idea why?
http://pastie.org/9449390
-
View User Profile
-
Send Message
Posted Aug 8, 2014@xGamingDudex
-thumbsup- works thanks!
-
View User Profile
-
Send Message
Posted Aug 8, 2014@KevinEssence
As I though, you are running a unsupported version of RL. You are probably running the latest version and a patch have been uploaded to fix it, though it may take some time for Bukkit staff to approve it. In the mean time you can simply disable the Faction hook in the config, or you will have to downgrade your faction plugin. It normally takes the staff about 1/2 to 3 days to approve, and I uploaded it yesterday.
-
View User Profile
-
Send Message
Posted Aug 7, 2014Alright here is your error, just tested fresh version when entering a portal.. http://pastebin.com/TH5v1wYS
-
View User Profile
-
Send Message
Posted Aug 7, 2014@xGamingDudex
Sorry, I skim read it, thanks.
-
View User Profile
-
Send Message
Posted Aug 7, 2014@Wolfy262
Have you even read the main page? It clearly states what you should do and the proper way of consulting the number one question to this plugin.
-
View User Profile
-
Send Message
Posted Aug 7, 2014Whenever I set up a region to be randomly teleported into, as I enter in the random teleport command, it says that it "couldn't find a location to teleport to". Please can someone explain what I'm doing wrong?
-
View User Profile
-
Send Message
Posted Aug 6, 2014@xGamingDudex
You have a point, I'll definitely keep that in mind and store them for a bit longer. Strange, hmm I haven't tested it off my faction server, I'll try it on a blank server and see if I can get it to work.
-
View User Profile
-
Send Message
Posted Aug 6, 2014@KevinEssence
Just tested out the plugin and found no errors after updating to 1.7.10, so there must be something wrong on your side, sorry. Without the error logs there isn't too much I can to. Also I still don't see the point of only storing your log for a week. I mean, I checked on a server that has been running 24/7 with quite a good deal of players (good deal of chat) that got logs back 3 months and the entire log folder only take about 35mb, the average world folder easily beats that.
@xDizasterCYx
@wugthefk
Have updated the faction support, plugin currently under approval ;)
-
View User Profile
-
Send Message
Posted Aug 5, 2014@xGamingDudex
Hehe I usually store them, but we do clear them every few weeks or so.
-
View User Profile
-
Send Message
Posted Aug 5, 2014@KevinEssence
Thanks, have scheduled to look into it tomorrow, but why on earth would you want to clear your log! I mean nothing good comes out of it as the server log is one of the best, most effective and most powerful tools you have when running a server. And do you then mean by clearing the log that you also don't get the log saved in the /logs folder in your server directory? It is your server, so do what you'd like but my advise is that you should always keep your logs, no mater what.
-
View User Profile
-
Send Message
Posted Aug 5, 2014@xGamingDudex
Shoot, I temporarily deleted the plugin. I'm not sure if this helps but it does spit out errors in the console when trying to teleport through a portal or by simply using the rspawn command. These were previously working before we upgraded our servers to 1.7.10 so 1.7.10 could be the case. I clear logs almost daily so don't have a log for you sorry :_
-
View User Profile
-
Send Message
Posted Aug 4, 2014@wugthefk
Thanks will have to look into the latest faction update ;)
@Tomlmatt
Glad everything worked out ;)
@SXRWahrheit
Thanks for the suggestions, will see if I can come up with anything along the lines of it ;)
@EmpowerGaming
Thanks man, that would be great :D
@rlpn
I don't know, I only try and keep the plugin compatible with the latest version of plugins, so I won't be adding compatibility to older plugins. Though it might happen that they work, if not and you really want to be using an old version then you could look back at older versions and see if you find a version that works of RL
@KevinEssence
Thanks for the notice, will have to look into it. But in what way is it broken? Broken that it throws exceptions in the logs (if so please send them), or more like that it can't find a location to teleport to?
@LegendaryAdmin
The latest update have been tested and works just fine on 1.7.9, will have to look into to myself with 1.7.10
-
View User Profile
-
Send Message
Posted Aug 4, 2014Is the update not working at all? Or just for 1.7.10?
-
View User Profile
-
Send Message
Posted Aug 3, 2014Broken in 1.7.10
-
View User Profile
-
Send Message
Posted Aug 3, 2014Does this hook into old factions? Like version 1.6.9?
-
View User Profile
-
Send Message
Posted Aug 3, 2014Hey, xGamingDudex I will be doing an English video tutorial for you as soon as I learn all the features. I will keep you posted and will send you video link here for you to put it on the page ;) I find this plugin very useful and an English tutorial would be extremely useful, so that's what I will aim for!
-
View User Profile
-
Send Message
Posted Aug 2, 2014The world listener has been working great so far. I just have a simple request.
Could you make it so there's some way for players to be able to enter the same location together? mcMMO has a party system that you could hook, and I don't want to enable its teleportation feature because I think that would be abused in the main world.
There could also be a config option for, like, using the same travel source within X seconds, to account for people entering the same portals.
Either of those doable? Maybe both? :)
-
View User Profile
-
Send Message
Posted Aug 2, 2014@xGamingDudex
Hey, thanks, I had a world guard region and a warzone claimed (It was a PvP Arena) So that was blocking all teleportation.
-Matt
-
View User Profile
-
Send Message
Posted Aug 2, 2014Apparently, mcore integration broke because one of the classes changed from mcore to massivecore I think.