RTP¶
This module adds the /rtp
command to randomly warp to a location of the world.
Configuration¶
attempts
How many times to try to find a valid spot to teleport to before failing.
timeout
How much time in milliseconds /rtp can take at most before failing.
min-radius
Minimum radius from the center of the world border.
max-radius
Maximum radius from the center of the world border. It caps to world border size.
around-player
Use player as the center of the radius instead of the world border.
prohibited-biomes
List of biomes an attempt should fail at.
require-world-permission
Require that the player has the permission of the world solstice.rtp.worlds.<worldName>
to initiate the random teleport in the world.
biome-groups
Groups of biomes the player is allowed to RTP to via the command /rtp <biome>
.
Use the permission solstice.rtp.biomes.<world>.<groupName>
to assign the group.
Furthermore, to use the <biome>
argument, the permission solstice.rtp.biome.base
is required.
Groups that contain prohibited biomes will succeed.
Cooldown¶
enable
This setting makes it so players have to wait before running the command a second time.
cooldown
Seconds to wait for the cooldown to expire.
cancel-on-fail
Cancel the cooldown if /rtp fails.
Commands¶
rtp
Warp to a random location of the world.
Permissions
solstice.rtp.base
- Default: 2solstice.rtp.worlds.<worldName>
- Default: 2
Seerequire-world-permission
setting.
rtp <biome>
Warp to a random location of the world in the biome of choice.
This command is prone to failed attempts, especially for rarer biomes.
Permissions
solstice.rtp.biome.base
- Default: 2
Allow argument.solstice.rtp.biomes.<world>.<groupName>
Grant biome group access.solstice.rtp.exempt.biome
- Default: 2
Allow any biome.