- Compatible API Versions
- 1.0.14+
- Sourcecode
- https://github.com/Nukkit-coders/NPC
NPC plugin for Cloudburst Nukkit
Commands:
(ID is the NPC's entity ID that you can get with /npc getid.)
Spawn NPC: /npc spawn <entity type> [name tag]
Remove NPC: /npc remove (and click the NPC)
Get list of all available entities: /npc entities
Get entity ID: /npc getid
Add console command: /npc addcmd <ID> <cmd>
Add player command: /npc addplayercmd <ID> <cmd>
Delete console command: /npc delcmd <ID> <cmd>
Delete player command: /npc delplayercmd <ID> <cmd>
Delete all commands: /npc delallcmd <ID>
See all commands: /npc listcmd <ID>
Edit NPC: /npc edit <ID> <item|offhanditem|armor|scale|name|scoretag|tphere|block|skin> [value]
- You can use %n to split the text on multiple lines in NPC name tags
- You can use %p to use player name in commands like tp %p 100 100 100
- You can use %uuid to use player uuid in commands
- If you find bugs please report them here: https://github.com/Nukkit-coders/NPC/issues
- Notice that the entity name in /npc spawn command is case sensitive
Need an addon for NPC rotation? Check out NPCRotation by PocketMiner82
Plugin developer:
You can check whether entity is an NPC by checking
or specifically a human NPC
Want to support the development of this plugin? Donate via PayPal
Commands:
(ID is the NPC's entity ID that you can get with /npc getid.)
Spawn NPC: /npc spawn <entity type> [name tag]
Remove NPC: /npc remove (and click the NPC)
Get list of all available entities: /npc entities
Get entity ID: /npc getid
Add console command: /npc addcmd <ID> <cmd>
Add player command: /npc addplayercmd <ID> <cmd>
Delete console command: /npc delcmd <ID> <cmd>
Delete player command: /npc delplayercmd <ID> <cmd>
Delete all commands: /npc delallcmd <ID>
See all commands: /npc listcmd <ID>
Edit NPC: /npc edit <ID> <item|offhanditem|armor|scale|name|scoretag|tphere|block|skin> [value]
- You can use %n to split the text on multiple lines in NPC name tags
- You can use %p to use player name in commands like tp %p 100 100 100
- You can use %uuid to use player uuid in commands
- If you find bugs please report them here: https://github.com/Nukkit-coders/NPC/issues
- Notice that the entity name in /npc spawn command is case sensitive
Need an addon for NPC rotation? Check out NPCRotation by PocketMiner82
Plugin developer:
You can check whether entity is an NPC by checking
Code:
entity.namedTag.getBoolean("npc")
Code:
entity.namedTag.getBoolean("ishuman")
Want to support the development of this plugin? Donate via PayPal