This plugin is an advanced random teleportation plug with abstract teleportation conditions that can provide maximum flexibility for maximum convenience.
When creating the plugin, I was prompted by the news that irandomteleport would be abandoned forever, as well as the fact that not all of its functionality was available in the newest versions of the game.
Functionality and features:
- Ability to create multiple teleportation channels with custom functions
- Asynchronous location search
- 3 teleportation modes:
- Standard
- Near players
- Near WorldGuard regions
- Custom teleportation command
- Configurable cooldowns before teleportation
- Optional boss bar countdown for each channel
- Customizable pre-teleport, post-teleport, and countdown actions for each channel
- Optional restrictions for each channel:
- Movement blocking
- Teleport prevention
- Damage dealing/receiving
- Block and biome blacklist/whitelist for valid teleport locations
- Toggleable prevention of teleportation to WorldGuard regions and Towny towns per channel
- Optional RTP (Random Teleport) on:
- First join
- Void falling
- Respawn
- Configurable square or circular valid teleportation areas
- Multi-world support (Overworld, Nether, End)
- Optional price for random teleportation
- PlaceholderAPI support
Permissions:
- rtp.channel.<channel> – Permission to use the specified teleportation channel (.* for all channels)
- rtp.bypasscooldown – Bypass RTP cooldown
- rtp.admin – Access to admin commands
Commands:
- /rtp – Main plugin command (can be customized)
- /rtp <channel> – Teleport using the specified channel
- /rtp admin – Admin command menu
- /rtp admin reload – Reload the plugin
- /rtp admin forcertp <player> <channel> – Force-teleport a player to the specified channel
Placeholders (PlaceholderAPI):
Cooldown Placeholders
- %ovrtp_cooldown_<channel>_<subarg>%
- Returns remaining cooldown time for a channel.
- Subarguments: hours, minutes, seconds
- If no subarg is provided, uses default time formatting.
- %ovrtp_hascooldown_<channel>%
- Returns whether the player has an active cooldown for the specified channel.
Cost Placeholders
- %ovrtp_cost_<channel>_<subarg>%
- Returns the teleportation cost for a channel.
- Subarguments: money, hunger, exp
- If no subarg is provided, nothing is displayed.