An RTP/Wild plugin for player teleports. Beta stages.
Example/Default Config:
_____________________________________________________
commands:
- wild
- rtp
- tpwild
worlds:
world:
center-point: 0,0
max-radius: -5000,5000
target-world: true, world
max-height: false, 0
permission: wtl.use
world_the_end:
center-point: 0,0
max-radius: -5000,5000
target-world: true, world_the_end
max-height: false, 0
permission: wtl.useend
world_nether:
center-point: 0,0
max-radius: -3000,3000
target-world: true, world_nether
max-height: true, 100
permission: wtl.usenether
messages:
success: "§aYou have been randomly teleported!"
no-permission: "§cYou don't have permission to do that."
_____________________________________________________
You may add as many worlds as you need and as many commands such as /wild/rtp/tpwild/randomtp/etc. The target world is the world the /wild or custom command will teleport the player to when using the command in that world. The max radius allows you to limit the teleport destination between negative and positive coordinates. If you do not want a world to use a target-world simply put "target-world: false, current" Worlds that use "max-height: false, 0" do not limit the height. You should be able to adjust and set custom permissions as well for using the /rtp function per-world as to allow you to make certain worlds deny rtp/wild teleport permissions.
This is a beta and updates are planned, some changes to the config may require a server restart vs just a reload but not all. Currently I highly recommend not using /rtp in the end world as it is not setup to ensure you land on solid ground there. Current version of the plugin makes 5 attempts, in further updates this will be adjustable. Currently it does not preload chunks (this was intentional as there are other chunk management plugins that are often used) I would appreciate input on whether or not people would like such done anyhow. You may of course also adjust the fail and success messages on teleport.