RTP999 图标

RTP999

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.6
本资源为搬运资源,原资源地址: https://modrinth.com/mod/rtp999
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10

平台: bukkit paper purpur spigot

标签: adventure game-mechanics transportation

资源介绍

RTP999 is a fast, safe, and configurable random teleport plugin for Minecraft servers. It ensures players teleport only to safe locations by checking ground solidity, avoiding caves (optional), and preventing teleports into hazardous blocks like lava or water. The plugin supports per-world configuration, cooldowns, and dimension restrictions.

Features
Random teleportation within configurable range.
Safe spot detection avoiding unsafe blocks and hazards.
Optional cave detection to prevent teleporting inside caves.
Configurable cooldowns per player to prevent spam.
Per-world configuration support for range, cooldown, attempts, cave check, and dimension allowances.
Global disabled worlds list to block RTP in specific worlds.
Configurable dimension restrictions for Nether and End.
Asynchronous scanning for minimal server lag.
Cooldown management with periodic cleanup.
/rtp999 reload command to reload config without restarting server.
Permission-based command access.
Teleport effects: sound and portal particles.
Player Y offset adjusted to prevent spawning inside blocks.
Commands
/rtp
Teleports the player to a random safe location within the configured range.
Usage: /rtp
Permission: rtp.use

/rtp999 reload
Reloads the plugin configuration from config.yml without restarting the server.
Usage: /rtp999 reload
Permission: rtp.admin

Permissions
rtp.use
Allows the player to use the /rtp command.
Default: true (all players)

rtp.admin
Allows the player to use admin commands such as /rtp999 reload.
Default: op (server operators)

Core Systems
Configuration Management:
Loads global defaults and per-world overrides from config.yml. Supports enabling/disabling RTP per world and dimension.

Safe Location Finder:
Asynchronously scans random locations within range, finds solid ground by scanning downward, checks for unsafe blocks, and optionally detects caves.

Cooldown System:
Tracks player teleport timestamps in memory to enforce cooldowns. Periodically cleans expired cooldowns.

Command Handling:
Handles /rtp and /rtp999 commands with permission checks and appropriate feedback messages.

Teleport Execution:
Teleports player safely with Y offset +1.5, resets fall distance, plays teleport sound and portal particles.

Dimension and World Restrictions:
Blocks RTP in disabled worlds and disallowed dimensions (Nether, End) based on config.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Huntcore

价格:0 墨喵币
下载量:0

查看详情
Ratatouille

价格:0 墨喵币
下载量:0

查看详情
More Xp More Size

价格:0 墨喵币
下载量:0

查看详情
Roost Ultimate - Biomes O' Plenty [ADDON]

价格:0 墨喵币
下载量:0

查看详情