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 Sep 1, 2014@xGamingDudex
I am getting this error - http://pastebin.com/89QDJTDY - I think it's because you need to update the worldguard support to the latest version.
-
View User Profile
-
Send Message
Posted Aug 24, 2014Thanks alot "I" Fixed it
-
View User Profile
-
Send Message
Posted Aug 24, 2014@unweptpit
Are you using the latest version? Also do you use any plugins to protect the area or something like that, say you got Factions or WorldGuard. You could always try and disable all the hooks (this requires a restart/reload) and then check if it works, then you can enable the hooks one by one till you figure out which one it is.
-
View User Profile
-
Send Message
Posted Aug 24, 2014I have a problem with "Could Not Find a Location to Teleport To", here is the information you've asked for me to give you.
1) http://prntscr.com/4fzzt0 2) The zone is in a void world, there is no roof and the most common ground blocks are cobble, stone and stone brick slabs. 3) Pos 1 = 2, 2, 57 : Pos 2 = 219, 255, -156
-
View User Profile
-
Send Message
Posted Aug 24, 2014@MinecraftAdmin
Will look into it
-
View User Profile
-
Send Message
Posted Aug 24, 2014Is it possible for you to add another spawn condition, "Close to players" so it randomly teleport's you withing a configured radius around a random player?
-
View User Profile
-
Send Message
Posted Aug 23, 2014@SXRWahrheit
Guess that you could make a hub in the nether, and make add a listener to the nether world for a 1x1 zone in the middle of the hub (making all players teleporting to the nether teleporting to the hub). Then add a new zone to the nether which covers most of the nether world, and add some portals connected to that big zone inside the nether hub. This way players teleporting to the nether will come to the hub, then they can walk inside a portal and be teleported to a random location inside the nether. Then use some plugin to give area specific permissions (quick google search gave me this) to give players permission to a command like /tpa, then give all players in the nether permission to the /tpaaccept command. This way only players in the nether hub can request teleport to players who are in the nether, meaning that players that are in another would would not be able to accept the request.
Hope you understood all of that and that it fits your needs. If you didn't catch all of it, then just ask on what is a bit vaguely described :P
-
View User Profile
-
Send Message
Posted Aug 22, 2014Is there a way, then, to allow my users to have their own nether portals (and teleport randomly as they do now) but to have a different portal that bypasses the listener, or will do them all together?
Basically, players can only go to the nether on their own because they get split up on entry. They can survive, but of course things are more fun when you play together.
-
View User Profile
-
Send Message
Posted Aug 20, 2014@vampirictorch
Don't quite understand what you mean by setting positions for the void, but as long as things are working out then I'm glad ;)
-
View User Profile
-
Send Message
Posted Aug 20, 2014finally, was up all night looking for a plugin like this must of overlooked it in teleporting plugins.. all the others I found were shit or teleported randomly to te void and die lol.. this one i can set positions for the void! THANKS!
-
View User Profile
-
Send Message
Posted Aug 18, 2014@unquieterpig
Try updating to v4.72, should probably fix it ;)
-
View User Profile
-
Send Message
Posted Aug 17, 2014Im getting this weird error should I be worried? http://pastebin.com/pBGqFxjB Im using the latest shapshot of spigot by the way
-
View User Profile
-
Send Message
Posted Aug 14, 2014@xGamingDudex
Ah, I see. Thanks, no more errors!
-
View User Profile
-
Send Message
Posted Aug 14, 2014@Robertthegoat
Seams like you are not using the latest version of Factions, as v4.71 was an update response to the faction update. You can either try disabling the faction hook, or update the faction plugin ;)
-
View User Profile
-
Send Message
Posted Aug 14, 2014@xGamingDudex
I appreciate your help! Using v4.72, we received this error: http://pastebin.com/0waNfzt5
I'll be glad to continue providing what I can to help you out in finding a solution.
Thanks!
-
View User Profile
-
Send Message
Posted Aug 13, 2014@Robertthegoat
Thanks, try this version: http://dev.bukkit.org/bukkit-plugins/randomlocation/files/88-random-location-v4-72/
@SXRWahrheit
Still thinking of a way to implement it so that it can benefit most servers, currently I don't quite see that it would be a successful feature, more some very specific for your server. But I will keep thinking about it.
-
View User Profile
-
Send Message
Posted Aug 11, 2014@xGamingDudex
Have done, just wanted to check on your end as well. :)
Any chance to see the option for people teleporting together soon?
-
View User Profile
-
Send Message
Posted Aug 11, 2014Hello again. As you requested, I've kept track of the issue brought up before post-update:
http://pastebin.com/vfPiNXKq
The error is currently present on version 4.71 and 4.70, the updates that came after the version I first had the issue with.
Thanks!
-
View User Profile
-
Send Message
Posted Aug 10, 2014Wonderful, thanks for updating it.
-
View User Profile
-
Send Message
Posted Aug 10, 2014@KevinEssence
Glad it worked ;)
@SXRWahrheit
The error got nothing todo with RandomLocation. You should rather go to the HomeSpawnPlus developer and tell him/her that there is an error in the plugin. Seams to be related to SQLITE.