The plugin teleports the player within a given radius of the spawn (/setworldspawn).
Full customization of all messages from the plugin.
WorldGuard support.
Commands
/rtp - random teleport command.
/rtp reload - reload plugin command.
Permissions
customrtp.rtp - rtp permission, default for players
customrtp.reload - reload plugin permission, default for OP
Code (YAML):
messages:
prefix: "[CustomRTP]" yesButton: "[YES]" rtpMessage: -
"Teleporting..." rtpMessageVault: -
"[RTP]" - "Cost: %rtp_cost%" -
"Teleporting? "# Button yes after space noMoney: "Error: you don't have that much money." successfullyTeleported: "Successfully teleported." rtp:
location:
radius: 1000
# Radius from the spawn (/setworldspawn) height:
min: 60
# from max: 256
# to world: "world"# Name of the world to rtp. In other worlds the command will not work.