LeafRTP | Random Teleport
by leaf26
Each rtp call on the server sends the player to a random, safe location somewhere in the world, and LeafRTP is the mod that provides this teleport.
What it does
The rtp command moves a player to a random location that passes a safety check. The mod is built to find that spot in the lowest-cost way it can, selecting chunks instead of single blocks so that the checks do not scan adjacent blocks one by one, and the chosen spot stays clear of chunk boundaries. Server owners can configure the behavior, and the mod can be extended with swappable suppliers and consumers, so safety checks, biome checks and selection shapes can be replaced in code.
The author rewrote the mod in a later version after earlier random teleport plugins were blamed for lag on servers. Profiling was used to find the cost, and the author describes the work as cleaning up code structure and cache and data access patterns. A test bench plugin measured throughput at one random teleport call per game tick, 20 per second, and a pure reroll model was tested against the selection approach.
LeafRTP runs on Fabric and NeoForge, and is also available for the server platforms Paper, Spigot, Bukkit, Purpur, Folia and Velocity. Only the server needs it, so players join without installing anything. It supports game versions 1.20.1 – 26.2 across 22 release versions, and the mod is open source under the MIT License.
Key features
Random safe teleport
The rtp command sends a player to a random spot that passes the configured safety checks.
Chunk-based selection
Candidate spots are chosen by chunk rather than block, which keeps the selection cost low on the server.
Swappable checks
Suppliers, consumers, safety checks and biome checks can be replaced through a programmatic interface.
Throughput test bench
A separate test plugin measured the selection process at one teleport call per game tick.
Gallery
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x12 of 12 versions with builds
1.20.x6 of 6 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Simple Teleport Commands is server-side only, published for Fabric 1.21.1 – 26.1.2 under All rights reserved, and is not open source. RTPMod - Random Teleportation is server-side only, open source under the MIT License, and covers 1.21.11 – 26.1 on Fabric. ExtraRTP is also open source under the MIT License and server-side only, but it adds Forge and covers 1.16.5 – 1.21.1.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| LeafRTP | Random Teleport | Fabric and NeoForge | 1.20.1 – 26.2 | Server-side only | 2026-08-16 |
| Simple Teleport Commands | Fabric | 1.21.1 – 26.1.2 | Server-side only | 2026-04-15 |
| RTPMod - Random Teleportation | Fabric | 1.21.11 – 26.1 | Server-side only | 2026-03-28 |
| ExtraRTP | Fabric, Forge and NeoForge | 1.16.5 – 1.21.1 | Server-side only | 2026-06-14 |
Questions
Does LeafRTP need to be installed on the client?
Which loaders does LeafRTP support?
Which game versions have files?
In the catalog
LeafRTP | Random Teleport is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 13,894 mods support Minecraft 26.2.
More from leaf26
Similar mods
What the author says
LeafRTP is a /rtp command. It teleports a player to a random, safe spot in the world, in the most cpu-efficient way it can. We were all players once, and we've all complained about "lag" on servers. Many of us tried to pinpoint where it came from and tbh in my studies it took days of work just to find out that a…
Official listing
- Modrinth page
- modrinth.com/mod/leafrtp
- Owner
- leaf26
- Published
- 2026-05-11
- Updated on Modrinth
- 2026-08-16
- Facts verified
- 2026-10-15
