卡住了?

卡住了?

一个为Minecraft Spigot制作的插件,用于将玩家从基岩层127层解救出来,或传送到更安全的位置。

冒险

Unstuck 插件

描述

Unstuck 插件专为 Minecraft Spigot 服务器设计,用于帮助被困在高度 127 的基岩层中的玩家。此插件提供了一个简单的命令,可将玩家传送至更安全的位置,确保他们能够继续冒险而不被困住。

功能

  • Unstuck 命令:玩家可使用此命令将自己传送出基岩层。
  • 安全传送:插件会计算基岩层上方的安全位置或预设的安全区域。
  • 可配置设置:服务器管理员可配置安全传送位置或玩家应被传送至的高度。
  • 基于权限的访问:只有拥有相应权限的玩家才能使用 unstuck 命令,以确保公平使用。

命令

  • /stuck - 将玩家传送至更安全的位置

  • /escape - 玩家逃离至更安全的位置

权限

无需权限。

安装

  1. 下载插件 jar 文件。
  2. 将 jar 文件放入 Spigot/Paper 服务器的 plugins 文件夹中。
  3. 重启服务器以加载插件。
  4. 如有必要,在生成的 config.yml 文件中配置插件设置。

配置

config.yml 文件允许服务器管理员设置安全传送位置或玩家应被传送至的高度。示例配置:

# Unstuck Configuration for Minecraft Java
# Time in seconds between uses of /stuck command
cooldown-seconds: 30
# Radius from current position to search for a safe spot
search-radius: 5
# Maximum number of attempts to find a safe location
max-attempts: 50
# Y-coordinate range for safe locations
# These are adjusted based on world min/max Y if necessary
# For 1.21+ worlds, the plugin will auto-adjust if these are defaults
min-y: 32
max-y: 120
# Enable debug logging (only use for troubleshooting)
debug: false
# Skip hazardous blocks when teleporting (lava, fire, cactus, etc.)
avoid-hazardous-blocks: true
# Avoid unstable blocks like leaves and snow layers
avoid-unstable-blocks: true
# Print success message when player gets unstuck (disable to reduce spam)
print-success-message: true