功能特性
- 使用 ServerPlayerEntity(与 Citizens 相同的技术)实现逼真的 NPC
- 支持任意 Minecraft 玩家的自定义皮肤
- 通过点击 NPC 执行动作系统
- NPC 上方显示浮动文本行(全息图效果)
- 简单直观的指令
- 轻量级且针对服务器进行了优化
指令
所有指令均需权限等级 2(OP)。
基础管理
/npc create <name> <skinPlayer>- 创建具有玩家皮肤的 NPC/npc remove <name>- 移除指定 NPC/npc removeall- 移除所有 NPC/npc list- 列出所有活跃的 NPC/npc rename <name> <newName>- 重命名 NPC
定位
/npc teleport <name> <x> <y> <z>- 传送 NPC/npc teleport <name> <x> <y> <z> <yaw> <pitch>- 带旋转角度传送 NPC
皮肤
/npc skin <name> <skinPlayer>- 更改 NPC 的皮肤
动作(点击 NPC 时执行)
/npc action <name> add <action>- 添加一个动作/npc action <name> remove <index>- 移除指定索引的动作/npc action <name> list- 列出所有动作/npc action <name> clear- 清除所有动作
文本行(全息图)
/npc lines <name> add <text>- 添加一行文本/npc lines <name> remove <index>- 移除指定索引的行/npc lines <name> list- 列出所有文本行/npc lines <name> clear- 清除所有文本行
动作类型
添加动作时,可使用以下格式:
MESSAGE: <text>- 向玩家发送消息(支持使用&表示颜色)PLAYER: <command>- 以玩家身份执行命令(如同玩家输入一样)CONSOLE: <command>- 通过控制台执行命令/<command>- 执行服务器命令
在动作中使用 %player% 可替换为当前玩家的名称。
使用示例
# 创建具有 Notch 皮肤的 NPC
/npc create Vendor Notch
# 添加文本行
/npc lines Vendor add &6&l商店
/npc lines Vendor add &7点击购买!
# 添加点击时的动作
/npc action Vendor add MESSAGE: &a你好,%player%!
/npc action Vendor add CONSOLE: give %player% diamond 1
# 传送 NPC
/npc teleport Vendor 100 64 200 90 0
# 更改皮肤
/npc skin Vendor jeb_
Features
- Realistic NPCs using ServerPlayerEntity (same technology as Citizens)
- Custom skins from any Minecraft player
- Action system executed by clicking on the NPC
- Floating text lines above NPCs (holograms)
- Simple and intuitive commands
- Lightweight and optimized for servers
Commands
All commands require permission level 2 (OP).
Basic Management
/npc create <name> <skinPlayer>- Creates an NPC with a player's skin/npc remove <name>- Removes an NPC/npc removeall- Removes all NPCs/npc list- Lists all active NPCs/npc rename <name> <newName>- Renames an NPC
Positioning
/npc teleport <name> <x> <y> <z>- Teleports an NPC/npc teleport <name> <x> <y> <z> <yaw> <pitch>- Teleports with rotation
Skin
/npc skin <name> <skinPlayer>- Changes the NPC's skin
Actions (executed when clicking on the NPC)
/npc action <name> add <action>- Adds an action/npc action <name> remove <index>- Removes an action/npc action <name> list- Lists all actions/npc action <name> clear- Removes all actions
Text Lines (holograms)
/npc lines <name> add <text>- Adds a line of text/npc lines <name> remove <index>- Removes a line/npc lines <name> list- Lists all lines/npc lines <name> clear- Removes all lines
Types of Actions
When adding actions, you can use the following formats:
MESSAGE: <text>- Sends a message to the player (supports&for colors)PLAYER: <command>- Executes a command as if the player had typed itCONSOLE: <command>- Executes a command via the console/<command>- Executes a server command
Use %player% in actions to replace it with the player's name.
Examples of Use
# Create an NPC with Notch skin
/npc create Vendor Notch
# Add lines of text
/npc lines Vendor add &6&lStore
/npc lines Vendor add &7Click to buy!
# Add actions when clicking
/npc action Vendor add MESSAGE: &aHello, %player%!
/npc action Vendor add CONSOLE: give %player% diamond 1
# Teleport the NPC
/npc teleport Vendor 100 64 200 90 0
# Change the skin
/npc skin Vendor jeb_
版本游戏版本平台发布时间本站下载
正式版
1.0.11
DK NPCS 1.0.11
26.1.226.1.1 BukkitPaper 2 个月前 ·
0
26.1.2
26.1.1
26.1
1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9, 1.8.9, 1.8.8, 1.8.7, 1.8.6, 1.8.5, 1.8.4, 1.8.3, 1.8.2, 1.8.1, 1.8
Bukkit
Paper
Purpur
Spigot
2 个月前
0
下载 DK NPCS
版本:1.0.11
游戏版本:26.1.2、26.1.1、26.1 等
平台:Bukkit、Paper、Purpur、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.10
DK NPCS 1.0.10
26.1.226.1.1 BukkitPaper 3 个月前 ·
0
26.1.2
26.1.1
26.1
1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9, 1.8.9, 1.8.8, 1.8.7, 1.8.6, 1.8.5, 1.8.4, 1.8.3, 1.8.2, 1.8.1, 1.8
Bukkit
Paper
Purpur
Spigot
3 个月前
0
下载 DK NPCS
版本:1.0.10
游戏版本:26.1.2、26.1.1、26.1 等
平台:Bukkit、Paper、Purpur、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.7
DK NPCS 1.0.7
26.1.226.1.1 BukkitPaper 4 个月前 ·
0
26.1.2
26.1.1
26.1
1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9, 1.8.9, 1.8.8, 1.8.7, 1.8.6, 1.8.5, 1.8.4, 1.8.3, 1.8.2, 1.8.1, 1.8
Bukkit
Paper
Purpur
Spigot
4 个月前
0
下载 DK NPCS
版本:1.0.7
游戏版本:26.1.2、26.1.1、26.1 等
平台:Bukkit、Paper、Purpur、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.6
DK NPCS 1.0.6
1.21.1 Fabric 6 个月前 ·
0
1.21.1
Fabric
6 个月前
0
下载 DK NPCS
正式版
1.0.5
DK NPCS 1.0.5
26.1.226.1.1 BukkitPaper 6 个月前 ·
0
26.1.2
26.1.1
26.1
1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9, 1.8.9, 1.8.8, 1.8.7, 1.8.6, 1.8.5, 1.8.4, 1.8.3, 1.8.2, 1.8.1, 1.8
Bukkit
Paper
Purpur
Spigot
6 个月前
0
下载 DK NPCS
版本:1.0.5
游戏版本:26.1.2、26.1.1、26.1 等
平台:Bukkit、Paper、Purpur、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.4
DK NPCS 1.0.4
1.21.1 Fabric 6 个月前 ·
0
1.21.1
Fabric
6 个月前
0
下载 DK NPCS
正式版
1.0.3
DK NPCS 1.0.3
1.21.1 Fabric 7 个月前 ·
0
1.21.1
Fabric
7 个月前
0
下载 DK NPCS
正式版
1.0.2
DK NPCS 1.0.2
1.21.1 Fabric 8 个月前 ·
0
1.21.1
Fabric
8 个月前
0
下载 DK NPCS
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
339
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
239
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
238
模组
Applied Energistics 2
shartte
AE2:一款流行的自动化与存储模组
存储科技
217
评论 0
登录后参与评分
还没有评论,来抢沙发吧