promotional bannermobile promotional banner
premium banner
Simple and effective random teleportation for Forge servers.

Description

CustomRTP 

CustomRTP is a server-side random teleportation utility for Forge. It provides players with a straightforward way to explore the world through automated, secure teleportation.



 

🛠 Key Features

  • Safety Verification: Scans potential destinations to avoid water, lava, and solid blocks, ensuring players land on safe ground.

  • Chunk Handling: Forces the game to process destination chunks before teleporting to confirm terrain validity.

  • Distance Logic: Ensures the new location is at least 500 blocks away from the player's current position to promote actual exploration.

  • WorldBorder Integration: Automatically detects active world borders to keep players within the intended gameplay area.

  • Usage Limits: Includes a configurable cooldown system to manage command frequency.

💻 Commands

  • /rtp: Search and teleport to a distant safe location.

  • /randomtp: Alternative command for random teleportation.


 


⚙️ Configuration Settings

Modify the mod's behavior via the customrtp-common.toml file: | Parameter | Description | Default | | :--- | :--- | :--- | | minDistance | Minimum distance from current position | 500 | | maxAttempts | Maximum tries to find a safe spot | 30 | | cooldown | Wait time between uses (seconds) | 30 | | worldBorderOffset | Safety margin from the world border | 150 |

 

 

🚀 Installation

  1. Place the mod JAR into your mods folder (Server-side only).

  2. Start the server to generate the configuration file.

  3. Adjust settings in the config file as needed.