Clean RTP
RTP datapack with chunk preloading to prevent server crash from teleporting into unloaded chunks
Simply add to world and use command /trigger rtp to randomly teleport!
Includes configurable RTP Range, RTP Cooldown, and Dimension Whitelist, so you can balance its usage as needed
Configuration
Operators can use /function clean_rtp:__config to configure as desired
RTP Range is 10000 blocks by default
Nether Max Y Position is y126 by default (to prevent rtp onto nether roof)
RTP Cooldown is 6000 ticks (5 minutes) by default
Whitelist includes all Vanilla Dimensions and is Enabled by default
Note:
If you dont know what the mod id and/or dimension name is for a dimension..
You can reference them by typing /execute in, and the auto-complete will list all the dimensions
1.16 - 1.20.6
Precise configuration of RTP Range and Nether Max Y position require macro-functions, which were introduced in 1.21. Presets are available instead for pre-1.21 config
RTP Range presets include ranges 5000, 10000, 20000, 50000, 100000, 1000000 blocks
Nether Max Y position can be toggled between y126 and y254. To accommodate for the vanilla nether roof at y128 and popular mods that change the nether roof to y256
