Description

Random Teleport
A simple random teleportation(rtp) plugin for Hytale servers.
Features
- /rtp - Teleport to a random location away from spawn
- Warmup time asks user not to move to teleport
- Translation support in config
- 1 hour cooldown default to prevent spam (configurable)
- Aliases: /randomtp, /randomteleport you can also customize it in config.
- Permission support.
- Teleporting other players as console or admin via: /rtp --player=Nick
How to Install
- Download the JAR file
- Place it in your server /mods folder
- Restart the server
- Configure it in mods/_RandomTeleport/config.json or leave it as default
- Use /rtp command in game.
Configuration:
{
"pluginName": "RandomTeleport",
"version": "1.2.0",
"debugMode": false,
"command": {
"name": "rtp",
"aliases": [
"randomtp",
"randomteleport"
],
"description": "Randomly teleports you away from spawn"
},
"permissions": {
"use": "randomteleport.use",
"bypassCooldown": "randomteleport.bypass.cooldown",
"bypassWarmup": "randomteleport.bypass.warmup",
"teleportOther": "randomteleport.admin.teleportother"
},
"tiers": {
"diamond": {
"permission": "randomteleport.tier.diamond",
"cooldownSeconds": 300,
"warmupSeconds": 1,
"minDistance": 8000,
"maxDistance": 15000,
"minHeight": 120,
"maxHeight": 260
},
"gold": {
"permission": "randomteleport.tier.gold",
"cooldownSeconds": 900,
"warmupSeconds": 2,
"minDistance": 6000,
"maxDistance": 12000,
"minHeight": 120,
"maxHeight": 260
},
"silver": {
"permission": "randomteleport.tier.silver",
"cooldownSeconds": 1800,
"warmupSeconds": 3,
"minDistance": 4000,
"maxDistance": 9000,
"minHeight": 120,
"maxHeight": 260
},
"bronze": {
"permission": "randomteleport.tier.bronze",
"cooldownSeconds": 2700,
"warmupSeconds": 5,
"minDistance": 3000,
"maxDistance": 6000,
"minHeight": 120,
"maxHeight": 260
}
},
"defaults": {
"cooldownSeconds": 3600,
"warmupSeconds": 5,
"minDistance": 5000,
"maxDistance": 9000,
"movementThreshold": 0.5,
"minHeight": 120,
"maxHeight": 260,
"maxAttempts": 10
},
"messages": {
"cooldown": "\u00265[RTP] \u0026bYou must wait \u0026e{time} \u0026bbefore using /rtp again!",
"noPermission": "\u00265[RTP] \u0026cYou don\u0027t have permission to use /rtp!",
"noWorld": "\u00265[RTP] \u0026cYou must be in a world to use this command!",
"warmupStart": "\u00265[RTP] \u0026bTeleporting in \u0026e{seconds} \u0026bseconds... Don\u0027t move!",
"movedCancelled": "\u00265[RTP] \u0026cTeleportation cancelled! You moved too much.",
"noSafeSpot": "\u00265[RTP] \u0026cCould not find a safe landing spot. Try again!",
"error": "\u00265[RTP] \u0026cError scanning for safe location.",
"teleported": "\u00265[RTP] \u0026bTeleported to \u0026fX: {x}, Y: {y}, Z: {z} \u0026f({distance} blocks from spawn)",
"searching": "\u00265[RTP] \u0026fSearching for safe location... (attempt {attempt}/{max})",
"teleportedOther": "\u00265[RTP] \u0026bTeleported \u0026e{player} \u0026bto \u0026fX: {x}, Y: {y}, Z: {z} \u0026f({distance} blocks from spawn)",
"noPermissionOther": "\u00265[RTP] \u0026cYou don\u0027t have permission to teleport other players!",
"targetNotFound": "\u00265[RTP] \u0026cTarget player is not in a world!"
}
}
Permissions: ( You can configure tier cooldown and warmup in config. )
| Permission | Default | Description |
|---|---|---|
|
✓ | Access to rtp |
|
✗ | Skip cooldown entirely |
|
✗ | Instant teleport (no warmup) |
|
✗ | 5 min cooldown, 1s warmup |
|
✗ | 15 min cooldown, 2s warmup |
|
✗ | 30 min cooldown, 3s warmup |
|
✗ | 45 min cooldown, 5s warmup |
Source Code: GitHub
If you find this useful, give it a ⭐ on GitHub and follow me for more plugins!



