DK NPCS
作者:rebot | 分类:模组
Minecraft 版本: 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 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 1.21.11 26.1 26.1.1 26.1.2
平台: bukkit paper purpur spigot
标签: management transportation utility
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_请登录后举报
暂无评论,抢个沙发吧~