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 25, 2013@xGamingDudex
Link doesn't work, says 404 page not found.
-
View User Profile
-
Send Message
Posted Aug 24, 2013@ShadeRaccoon
Thanks for the heads up, here is an updated version ;)
-
View User Profile
-
Send Message
Posted Aug 24, 2013Great plugin, but there's a bug that's causing us trouble. When set to spawn on top, the plugin cannot make people spawn in areas with this block: http://www.minecraftwiki.net/wiki/Snow_(cover) We have a whole area covered by snow so this makes people unable to warp there, please look into it.
-
View User Profile
-
Send Message
Posted Aug 18, 2013@likeaboss43
It does, if you go into your config.yml you will find something like this:
Teleport:
Stuff: Value OtherStuff: Value SpawnOn: Grass
Where it says grass then Grass is the defined value for Teleport.SpawnOn
-
View User Profile
-
Send Message
Posted Aug 17, 2013@xGamingDudex
The thing is, my config doesn't have any option defined, but it works...?
-
View User Profile
-
Send Message
Posted Aug 17, 2013@likeaboss43
Well the blah blah blah is quite important, but I guess that since it mention the Teleport.SpawnOn that the problem is that it is not defined, which means that you have entered an invalid value to the Teleport.SpawnOn. In the comments above (in the config) is it stated all the different values that it can be, such as Grass, Top & Ground among others. A common mistake it to set it to CustomTop instead of TopCustom
-
View User Profile
-
Send Message
Posted Aug 17, 2013Hello, I have this plugin on my server, and I love it! But, on another server I am a Moderator on, we are trying to set up RandomLocation and it doesn't work. It says "There is an error in the config.yml" and then "Teleport.SpwnOn blah blah blah..." What is the problem? Thanks
-
View User Profile
-
Send Message
Posted Aug 15, 2013@TheOnlyRealTGS
Can add it to the todo list, thanks for the suggestion though ;)
-
View User Profile
-
Send Message
Posted Aug 15, 2013I would like per-zone Spawning Condisions so i can use Ground for my SkyGrid world and Top for survival :)
-
View User Profile
-
Send Message
Posted Aug 13, 2013@JaredJoyal
Feature already exist. In the zone.yml you can set the custom permission, "Donor" so that the player would need the permission "RandomLocation.Donor" to use the zone, which also means that the portal, sign and command used to enter the zone is disabled
-
View User Profile
-
Send Message
Posted Aug 13, 2013This plugin is great, but I have a feature addition request: Let's say I as the server owner want a donor world that only donators can access. I create a portal (or sign) linking to the donor world. However, I want only donators to be able to use it. So, with an in-game command, I set the portal to be "Locked". Now that the portal is locked, only users with the permission 'randomlocation.access.[portalname]' (or whatever you want the permission to be) can go through the portal. If anyone else tries, they get an in-chat message saying, "I'm sorry, you don't have access to use that teleport." (preferably customizable message) Thank you for your consideration. - Jared Joyal
-
View User Profile
-
Send Message
Posted Aug 9, 2013@Pepper_coco
In the config you have an option "Teleporting.Invulnerability" which is how many seconds you will be Invulnerable or not take damage of any kind, by default this is set to 10s
-
View User Profile
-
Send Message
Posted Aug 8, 2013Hey, I love the plugin! Really helps my server.
I do have 1 feature request though.
Would it be possible to make it so you can have an option in the config to give players pvp protection for a configurable amount of time?
Thanks!
-
View User Profile
-
Send Message
Posted Aug 8, 2013@BiweGas
There isn't a proper tutorial up yet but maybe this from the comment below could help:
You have to commands for setting the zone. First you got the "/rSet me ZoneName Radius" this will set pos1 and pos2 the given amount of radius from you so if radius is 5 then it is 5 blocks from you in every direction making a cube that is 11x11x11 with you in the middle. If you want a more precise zone you could use "/rSet ZoneName 1/2" where 1 is pos1 and 2 is pos2. You have now created a zone
To teleport to the zone you would have to do /rSpawn ZoneName" but you could also define one zone as the default zone. This you do by "/rSet default ZoneName" then after that you could just do "/rSpawn" and it would take you to the given zone
-
View User Profile
-
Send Message
Posted Aug 7, 2013where is tutorial to setup zones? what coords should be? please give example
-
View User Profile
-
Send Message
Posted Aug 6, 2013@Wolfy262
First be source you are using the latest version (currently 4.26)
You have to commands for setting the zone. First you got the "/rSet me ZoneName Radius" this will set pos1 and pos2 the given amount of radius from you so if radius is 5 then it is 5 blocks from you in every direction making a cube that is 11x11x11 with you in the middle. If you want a more precise zone you could use "/rSet ZoneName 1/2" where 1 is pos1 and 2 is pos2. You have now created a zone
To teleport to the zone you would have to do /rSpawn ZoneName" but you could also define one zone as the default zone. This you do by "/rSet default ZoneName" then after that you could just do "/rSpawn" and it would take you to the given zone
To create a sign all you have to do is add "[rl]" at the first line. If you click it then you will be teleported to the default zone. If you want to teleport to another zone than the default zone you would have to do add the zone name on the second line so something like
Line1 = "[rl]"
Line2 = "Zone1"
Line3 = "Here you can add"
Line4 = "What ever you want"
or
Line1 = "[rl]"
Line2 = ""
Line3 = "Here you can add"
Line4 = "What ever you want"
-
View User Profile
-
Send Message
Posted Aug 6, 2013Hi, I'm new to the plugin and I don't know how to set a Zone properly and when I create a Teleport sign and right click, it says "Loading Location", can you help?
-
View User Profile
-
Send Message
Posted Aug 6, 2013@xGamingDudex
It was in v2.25 but doesn't matter, didn't really annoy me or anyone else.
-
View User Profile
-
Send Message
Posted Aug 4, 2013@calldeath1
Faction support is working, but you have to use Factions 2.0 with Mcore
@Thyrin
The plugin don't check if the world exist but could add it, but I don't see it as a bug that needs immediately updating or fixing as it is very rear and easily fixed by any server admin/owner
@addemod
Which version was it it said that you downloaded? Should be fine in v2.26 but I know I forgot it in v2.25
-
View User Profile
-
Send Message
Posted Aug 4, 2013You forgot to change the version in plugin.yml. Getting updatecheck :P