Commands
SnRTP registers one root command, /rtp, with the default alias /wild.
| Command | Permission | Description |
|---|---|---|
/rtp | snrtp.use | Open the random-teleport menu. |
/rtp help [page] | snrtp.use | List the commands you can use. |
/rtp force <player> <world> | snrtp.admin.force | Send an online player on a random teleport, ignoring cooldown. |
/rtp reload | snrtp.admin.reload | Reload the configuration. |
/rtp debug | snrtp.admin.debug | Toggle runtime debug output. |
Players pick the destination in the menu: there is no /rtp <world> shortcut, so /rtp always
opens the GUI. A world still enforces its own config.yml permission when you set one.
/rtp help was removed in 1.2.0 and is back since 1.6.0.
Forced random teleport
Since 1.6.0, /rtp force <player> <world> sends any online player into a random safe spot of a
configured world. <world> is a key under worlds: in config.yml and tab-completes the enabled
ones.
- The world's cooldown is ignored: it is neither checked nor started, so the player's own
/rtpcooldown is untouched. - The world's
permissionis ignored. A world withenabled: falsestill refuses the teleport. - The teleport is instant by default. Set
force.use-warmup: trueto make the target wait the world's warmup (moving or taking damage cancels it, as usual). - You get every outcome in chat (searching, sent, no safe spot, player busy or gone); the target is told an admin is sending them.
Aliases are set in config.yml under command.aliases and re-read on /rtp reload. Since
1.3.0 the generated help echoes the alias you typed, so running wild from console
lists /wild reload rather than /rtp reload. Command descriptions can also be translated from
lang/messages_en.yml, under the commands: block SnLib adds on first boot.