RandomCoordinates
RandomCoordinates, The best random teleporter. Within this plugin I have support for most land protection plugins, Meaning you can configure if you want a player to teleport to them, or ignore them. Furthermore, the configuration has so many custom options to make this the best for you.
Continue reading this page and the wiki to find out more about the excellent features.
The main feature of this plugin, is to teleport a player to a random location. This location is chosen, and then the necessary checks are carried out to see if the location is safe. The method for gathering a random number in Java may not necessarily be "Truly Random" (Explanation), This is why in my plugin, I have added the ability to use Random.Org to generate a random coordinate!
Features relating to the random teleport function are as follows:
-
Ability to set a global Maximum coordinate and Minimum coordinate, As well as per each world.
-
Ability to blacklist worlds
-
Ability to set the centre of the Max, Min boundary.
-
Ability to disable teleporting into/within a radius of claimed land (See Below for Plugin Support)
-
Ability to set a Limit on a number of times they can Randomly Teleport
-
Ability to teleport players on their FIRST join, plus ability to force a command when done (e.g., /SetHome)
-
Give a player a bonus chest on their first join
-
Ability to set cooldown on the command
-
Ability to configure the time between running the command, and teleporting
-
Ability to stop them teleporting if they move, or if they are involved in combat
-
Ability to allow players a set invulnerable time when teleported
-
Ability to play sound and effect to the player on teleport
-
Ability to configure the price of the command
Teleporting to a random location could be dangerous, there could be lava etc. This is why in this plugin, you can only teleport if the location is free of such things!. It also won't teleport you into water, because who wants to be out in the ocean! In the event there is something there that could hurt you, You could always make the Invulnerable time longer! Not only this but many claim that on slow servers, there is a chance you may teleport in a wall, With this plugin, If suffocating in the wall after teleport, you'll be taken to the surface!
Not only does it check for environment damage, but you can also make it avoid claims such as:
-
Factions
-
Towny
-
WorldGuard
-
GriefPrevention
-
WorldBorder plugin
-
RedProtect
-
Kingdoms+
-
Vanilla World Border
-
Nearby Players
As well as the above safety checks, The blocks that you can not teleport to are configurable. This is ideal for custom maps etc. This blacklist is as simple as a file in the plugin folder with a list of blocks to not teleport to.
For the best usage, be sure to load parts of the world first. This blacklist also works side by side with the above safety checks.
This plugin is not just a command, You can also set up random teleport portals. These portals teleport players in the same way the command would when they enter, But they also allow you to teleport them in another world randomly. These are incredibly easy to set up and no longer needs WorldEdit to do so!
Alongside these features, you can also:
-
Apply the limiter to portals
-
Charge players for portals
-
Place nether portal blocks inside of the portal, as well as flowing water/lava without it spreading outwards
-
Portals to teleport to other worlds
-
Ability to set a custom maximum and minimum coordinate for each portal
-
Easy to create and delete
Alongside teleporting to random coordinates, you can also allow them to be teleported to a random warp, a preset location. This enables you to have warps in the world, but it is random as to which one they go to.
Alongside these features, you can also:
-
Disable warping cross world, Will only warp to ones in current world
-
Charge for using the warps
-
Use a command just for warps
-
Limit the usage of warps
-
Change the methods of Signs, Portals and Commands to only go to the warps
Alongside the commands, You can also set up Signs to do the same thing when clicked on. These signs can allow you to set the world they randomly teleport the player in, as well as a per sign price.
Alongside these features, you can also:
-
Limit the usage of signs
-
Stop signs being broken by non-admins
-
Change signs method to only go to random warps (See Warps above)
This feature directly relates to the OnJoin feature. This is where the player will teleport to a random location on their first join. Alongside this, I have added an ability to spawn a chest next to them, with various configurable items. If you are using essentials, you can set a kit to be in that chest. Lastly, the chest will only spawn once, on the first join.
What Does This Do?
Put simply; It will spawn a block (configurable) below the player, ensuring that they won't fall into the void.
This is useful for those who use custom world generators, as my plugin will think that there is a block there, but upon teleporting the custom, the generator will take over and remove said block.
Along with this, The worlds this works in can be customised. Furthermore, there is an auto-remove feature meaning that when the player is no longer on the block, it will disappear (2.5 blocks away to be more precise).
As well as being able to stop them teleporting into regions, This plugin also allows you to randomly teleport them within a region. This can be useful for PVP arenas etc.
Alongside this feature:
- Command to teleport yourself randomly within a region
- Command to teleport others within a region
- Per-region permissions allowing for control over where players go
Longer Feature List:
Getting this Exception with RandomCoords 6.0
Spigot 1.8.7
WorldGuard 6.1
Been testing this out on our towny server for a few days now, there seems to be a issue when our players use /rc, they take fall damage once they land on the ground (although falling down slowly). Anyone has a fix for this?
Hey there thought I would pop in and ask a question. Do you have any clue as to why I can't make portals? Every attempt to use the command /rc portal create as per to your instructions. Results in literally nothing happening. Nothing comes up in console, there is no "Unknown Command". It just does absolutely nothing.
Using plugin version 2.1.1
The server is a 1.7.10 Cauldron server running as per to the /version command KCauldron version 1.7.10-1448.121 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
with the plugins as listed Citizens, WorldEdit, Punishmental, RandomCoords, WorldBorder, Essentials, GriefPrevention, EssentialsSpawn, GroupManager, WorldGuard
vertical-accounting: false, this option fixed it in NoCheatPlus but that one is needed to block real fly hackers.
Secondly, I do get fall damage then and die, can you add me on skype? Chris_GSPvP
There is a huge glitch when using /rc with the newest version, you get blocked by NoCheatPlus.
Your plugin tries to spawn the player to the ground slowly but NoCheatPlus doesn't likes it and they get damages and kicked for "Flying is not enabled."
@EnergizerBEAST1
Permission is random.portaluse
@Refalm
Reset your config and try again.
When I try to create a portal, I get this error http://pastie.org/10106090
Hello,
I have set up a portal, but when people go in it, they won't teleport, it only works for me. I can't find a permission that let people use the portal, so it this a bug, or do I do something wrong?
@Yndi74
Your config is fine, And I have just noticed that its the AutoSaveWorld plugin you have interfering with the plugin. To fix it turn off AutoGenerator or look for a way to turn off the network watcher in AutoSaveWorld.
@jolbol1
@Yndi74
What does your config look like? This is a config error.
Hy. I try your plugin, and spamming in console this thing several times(4-6):
16:07:10 [WARN] [AutoSaveWorld] Plugin RandomCoords attempted to establish connection https://www.random.org/integers/?num=1in=-9900ax=9900ol=1ase=10ormat=plain&rnd=new in main server thread
Next up on my list is probably economy support again.
Guys, Im incredibly sorry that I have been inactive. The reasoning behind this is because I started to explore different areas of coding such as web design etc. Im now however wanting to get back into this plugin game. To do so, I would like to here more about what you want added, and any existing issues posted here: https://github.com/jolbol1/RandomCoords/issues The source code has always been online, Just no link. However that can be found on the github too. If you have any coding experience at all and would like to help, Please feel free to PM me. Besides that I hope to release a small update in the upcoming weeks. I just have to see if I still have some necessary files on my computer.
Currently broken with FactionsUUID. Can you add support with that version of factions?
The source can be found here: https://github.com/drtshock/Factions
Would it be possible to add a config option, which would let us specify to which methods of teleportation the predefined locations apply to? What I mean is, I want /rc command to be truly random, while I want a portal to choose between predefined coords. It would be great if you could add this.
Also I don't think the WorldBorder check is working properly, I constantly hit WB border when teleporting, even though I have set it to true in the config.
And could you possibly hint us an ETA on the next release please? :)
Is there a place I can define what world it teleports a player to? The server I use this plugin on has a separate world for the spawn and I'd like /rc to teleport a player to a random spot in the overworld.
Your plugin is the best I have seen please fix the NullPointer because I think it causes lag and maybe issues (see many of theses wheen player join or on /rc) Seems to search for position of whatever.
Or give source code access we could contribute to fix
it or
I have the same problem as radicalpizza when I try to make a portal, an error occurs: "An internal error occured while attemping to perform this command"
I made a cuboid selection, I even did "sel cuboid" the second time to make sure.
Could this be because I'm using WorldEdit 6?