1 451
收录服务器
2 157
注册
35 176
玩家
Insane Announcer
使用现代图形用户界面以时尚风格创建您的计划服务器公告
作 者 TechsCode
发布时间 2018年2月15日
支持核心 Spigot
原生版本
支持版本 1.8,1.9,1.10,1.11,1.12,1.13,1.14,1.15,1.16,1.17,1.18,1.19,1.20
点此下载

🛠️ CommandNPC 是一个强大的 Minecraft 插件,允许您创建具有自定义命令和交互的 NPC。它支持多种 Minecraft 版本,并提供多种语言翻译,让您可以轻松地为您的服务器添加独特的互动元素。

🛠️ CommandNPC

✨ 简介

CommandNPC 允许您创建具有自定义命令的 NPC,玩家可以通过右键单击与他们互动。它具有广泛的配置选项,使您可以完全控制 NPC 的外观、命令和行为。

⭐ 特性

  • 创建具有自定义命令的 NPC
  • 玩家右键单击 NPC 时执行命令
  • 支持多种命令类型,包括玩家命令、控制台命令和消息
  • 可配置的 NPC 外观,包括皮肤、名称和全息图
  • 可配置的交互冷却时间
  • 支持多种 Minecraft 版本
  • 多种语言支持

⚙️ 指令

通用指令

  • /npc create <name> - 创建一个新的 NPC。
  • /npc delete <id> - 删除一个 NPC。
  • /npc list - 列出所有 NPC。
  • /npc tp <id> -传送到一个 NPC 旁边.
  • /npc skin <id> <skin> - 设置 NPC 皮肤 (可以使用玩家名称或 URL)。
  • /npc name <id> <name> - 设置 NPC 名称。支持颜色代码。
  • /npc hologram <id> add <text> - 添加全息图文本。支持颜色代码。
  • /npc hologram <id> remove <line> - 删除全息图文本。
  • /npc hologram <id> list - 列出所有全息图文本。
  • /npc hologram <id> clear - 清除所有全息图文本。
  • /npc command <id> add <command> - 添加一个命令。
  • /npc command <id> remove <line> - 删除一个命令。
  • /npc command <id> list - 列出所有命令。
  • /npc type <id> <CONSOLE/PLAYER/MESSAGE> <line> - 设置命令类型。
  • /npc cooldown <id> <seconds> - 设置冷却时间。
  • /npc save - 保存所有 NPC 到文件。
  • /npc reload - 重载配置文件。
  • /npc mimic <id> - 复制你正在看的实体
  • /npc equipment <id> <hand/offhand/helmet/chestplate/leggings/boots> - 给NPC装备你手里的物品.

其他指令

  • /commandnpc help - 显示帮助信息。

🔑 权限

  • commandnpc.admin - 允许使用所有 CommandNPC 指令。
  • commandnpc.use - 允许与 NPC 交互。

⚙️ 配置

CommandNPC 的配置文件允许您自定义插件的各种方面。以下是一个配置示例:


# CommandNPC Configuration

settings:
  language: "en" # 语言文件 (例如: en, de, fr)
  save_interval: 300 # 保存间隔 (秒)
  debug: false # 调试模式

npc:
  default:
    cooldown: 5 # 默认冷却时间 (秒)
    hologram: # 默认全息图
      - "&aCommandNPC"
      - "&7Right click to interact"
    command_type: "PLAYER" # 默认命令类型

📚 NPC配置示例


NPC:
  1:
    name: "&aExample NPC"
    skin: "Steve"
    location:
      world: "world"
      x: 0
      y: 100
      z: 0
      yaw: 0
      pitch: 0
    hologram:
      - "&aExample NPC"
      - "&7Right click to interact"
    commands:
      - "say Hello!"
    command_type: "PLAYER"
    cooldown: 5
    equipment:
      hand: "DIAMOND_SWORD"
      offhand: "SHIELD"
      helmet: "DIAMOND_HELMET"
      chestplate: "DIAMOND_CHESTPLATE"
      leggings: "DIAMOND_LEGGINGS"
      boots: "DIAMOND_BOOTS"
  2:
    name: "&bConsole NPC"
    skin: "Notch"
    location:
      world: "world"
      x: 10
      y: 100
      z: 0
      yaw: 0
      pitch: 0
    hologram:
      - "&bConsole NPC"
      - "&7Right click to execute command"
    commands:
      - "say Server message!"
    command_type: "CONSOLE"
    cooldown: 10
    mimic: "playername"

🤝 支持的语言

  • 捷克语
  • 荷兰语
  • 法语
  • 德语
  • 匈牙利语
  • 意大利语
  • 韩语
  • 波兰语
  • 葡萄牙语
  • 俄语
  • 西班牙语
  • 繁体中文
  • 简体中文

💰 捐赠

如果您喜欢 CommandNPC,请考虑通过 Patreon 捐赠来支持开发!