This plugin enables players to teleport to a random location in the wilderness. Handy for stopping griefers!
All of the commands added by this plugin are grouped under the /rtp command. Here is a list:
/rtp- the parent command under which all other commands are grouped- Usage:
/rtp [subcommand] [args] - Aliases:
/rtele,/rteleport,/randtp,/randtele,/randteleport,/randomtp,/randomtele,/randomteleport - Permissions:
rtp.rtpto allow use of this command. If a player doesn't have this permissions, they can't use/rtpat all, including subcommands!
- Usage:
/rtp tp- teleports the user to a random wilderness location- Usage:
/rtp tp [radius] - Aliases:
/rtp tele,/rtp teleport - Permissions:
rtp.tpto allow use of the commandrtp.tp.radiusto allow specifying a custom radiusrtp.tp.nocooldownto allow teleporting without having to wait in between
- Usage:
/rtp config- view the plugin configuration- Usage:
/rtp config - Aliases:
/rtp conf,/rtp c,/rtp configuration - Permissions:
rtp.configto allow use of the command
- Usage:
/rtp reload- reload the plugin configuration- Usage:
/rtp reload - Aliases:
/rtp rl - Permissions:
rtp.reloadto allow use of the command
- Usage:
/rtp help- display help message- Usage:
/rtp help - Aliases:
/rtp h - Permissions: Enabled for everyone who has access to
/rtp
- Usage:
rtp.rtp- anyone without this permission can't use/rtpat all!rtp.tp- allow use of/rtp tprtp.tp.radius- allow use of/rtp tpwith a radius specifiedrtp.tp.nocooldown- allow repeated use of/rtp tpwithout any cooldownrtp.config- allow use of/rtp configto view the configurationrtp.reload- allow use of/rtp reloadto reload the configurationrtp.*- give every permission listed above. Use with caution!
By default, normal players have rtp.rtp and rtp.tp. Ops get every permission listed above except for rtp.*.
A normal config.yml file looks like this (note that the indentation is important, and you must use spaces instead of tabs):
cooldown-seconds: 60
maximum-checks: 100
enabled-worlds:
world:
radius: 20000
centre:
x: 0
z: 0
world_the_end:
radius: 20000
centre:
x: 0
z: 0
I'll explain what each bit does:
cooldown-secondsis the length of time after someone uses/rtp tpfor which they can't use the command again. This prevents people spamming the command and lagging the server. If you want a particular player to bypass this cooldown, give them thertp.nocooldownpermission.maximum-checksis the maximum number of random locations generated and examined by the/rtp tpcommand. If this number is too high, the command may check too many locations and lag the server. If this number is too low, the command may fail to find a safe location and the player will not be teleported. Adjust depending on how powerful your server is and how many players use the command.enabled-worldstells the plugin which worlds players can use/rtp tpin. If you don't want a particular world to have/rtp tpenabled, don't include it here.radiusis the maximum distance from the pointcentrethat the command can teleport someone. I generally don't recommend enabling this command in any nether worlds, since it'll just drop someone in a random location on top of the nether. In End worlds, there's a lot of empty void space so the plugin will have to do a lot of checks, but it will at least work.
- Download the
.jarfile from the latest release. - Put the
.jarfile into your server'spluginsdirectory.