Tags
Creators
Details
1.0.1
Compatibility
Changes
New Features
- Disabled Worlds
Added support for a list of worlds where /rtp is blocked.
Controlled through the disabled-worlds section in config.yml.
- Nether Check
Teleporting in the Nether is now blocked entirely.
Prevents players from glitching above bedrock or into lava ceilings.
- CommandExecutor Implementation
Your main plugin class now officially implements CommandExecutor.
Makes command registration cleaner and more correct.
🛠️ Improvements 4. Thread Safety
You moved player.getLocation() and player.getWorld() outside of the async thread.
Prevents thread safety issues with Bukkit’s API.
- Random Location Generation
Switched from square-style teleport (X ± range, Z ± range) to a circular-style spread using angles.
This creates more evenly distributed teleport locations.
- Cave Detection Logic
Replaced the basic ceiling-only check with a proper cave check.
Now checks for both a solid floor and solid ceiling to avoid caves.
- ThreadLocalRandom
Replaced the Random object with ThreadLocalRandom for better performance and thread safety in the async task.
✅ Still Present and Unchanged
Cooldown system per player
Safe location checks (air above, solid ground below)
Particle + sound effects on teleport
Config-based range, max attempts, and Y-level limits
RTP runs asynchronously to avoid server lag
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:VjPJxHE8:P8ZlUi7g"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:VjPJxHE8:P8ZlUi7g"
}

