Welcome Warp Signs 欢迎传送牌

作者:Tastybento 发布时间:2015年9月14日 原生版本:未知 测试支持:1.9,1.10,1.11,1.12

一种简单而安全的方式让玩家做出曲折!

点此下载

插件详细介绍

Welcome Warp Signs 插件让玩家可以轻松创建传送点。每个玩家一次最多可以激活一个传送点。玩家可以通过放置一个第一行写有 [WELCOME] 的告示牌来创建传送点。如果传送点创建成功,[WELCOME] 会变成绿色。之前的传送点告示牌会被自动禁用。可以通过 /wwarps 命令在 GUI 中查看传送点。玩家可以通过点击传送点或输入 /wwarp <玩家名字> 来传送。破坏告示牌会移除传送点。如果告示牌被环境或管理员破坏,传送点也会被移除。告示牌上的其他行可以写任何内容,这些内容会显示在 GUI 中,方便玩家宣传他们的传送点。传送前会检查传送点的安全性,如果不安全,则不允许传送。

🎉

Welcome Warp Signs

⭐特性

  • 轻松创建和移除传送点
  • 每个玩家限制一个传送点
  • 传送点安全性检查
  • GUI 显示玩家头像和传送点告示牌信息

⚙️设置与安装

必备插件

不需要其他插件。

安装和配置

  1. 下载插件 (wwarps.jar)
  2. 放入 plugins 文件夹
  3. 启动服务器
  4. 插件会创建一个名为 WelcomeWarpSigns 的文件夹,打开它。
  5. 检查 config.yml 并进行调整,设置允许 Welcome Warp Signs 运行的世界。
  6. 重启服务器或输入 /reload

🌐本地化

插件文本可以更改为不同的语言。目前只有英语可用。编辑 locale/locale.yml。如果您翻译了它,请告诉我,我会将其添加到插件中!

🐛问题

如果您发现问题或有改进的想法,请提交工单。

⌨️命令和权限

  • /wwarp/wwarps - 列出传送点
  • /wwarp <name> - 传送到指定玩家的传送点,或者通过GUI传送
  • /wwadmin/wadmin reload - 重新加载配置文件

🔑权限

  • welcomewarpsigns.add:
    • 描述: 允许添加传送点告示牌
    • 默认: true
  • welcomewarpsigns.use:
    • 描述: 允许使用 Welcome Warp Signs
    • 默认: true
  • welcomewarpsigns.admin:
    • 描述: 允许运行管理命令或破坏传送点告示牌
    • 默认: op

💾配置示例 (config.yml)


# Configuration file for WelcomeWarpSigns
# This is a new version of warps that is world specific
# so if you want warps to appear, then they MUST be enabled
# for the world.
#
# Warp signs are identified by having [WELCOME] in the first line
#
# The other three lines of the sign are stored and shown in the warp list GUI
# so players can advertise what they offer.
#
# Warps are only allowed in enabled-worlds.
#
# Permissions:
# welcomewarpsigns.add - permission to add warp signs
# welcomewarpsigns.use - permission to use welcome warp signs
# welcomewarpsigns.admin - permission to run the admin command or destroy warp signs

enabled-worlds:
  - world
  - world_nether
  - world_the_end
locale:
  no-permission: '&cYou do not have permission to do this.'
  warp-removed: '&aWarp removed.'
  warp-set: '&aWarp set.'
  sign-error: '&cIncorrect sign format.'
  no-warps: '&cNo warps available in this world.'
  safe-teleport: '&aTeleporting to %player%''s warp.'
  unsafe-teleport: '&cThat warp is not safe to teleport to.'
  player-not-found: '&cPlayer %player% not found or has no warp.'
  config-reload: '&aConfig reloaded.'
settings:
  cost: 0 # Cost to warp in money. Requires vault. Set to 0 for free.
  remove-on-logoff: false # Remove the warp if the player logs off.
  minimum-light-level: 8 # Minimum light level for a safe teleport.
  check-sky: true # Check if the warp is under the sky.
  check-safe-radius: 2 # Radius to check for safety.
  prevent-monsters: true # Prevent teleporting if monsters are nearby.
  head-api: true # Use head API for player heads. Disable if you don't have a head API.

🔗源码

源码可以在 这里 找到。