This plugin allows you to create NPCs which execute any command you assign to them.
- Tested Minecraft Versions:
- 1.7
- 1.8
- 1.9
![]()
Depends on NPCLib and PacketListenerAPI
If you want to modify the name and skin of player NPCs, you will need NickNamer aswell.
Commands
- /cmdnpc create <name> [type] [command] - Creates a NPC with the specified name. Optionally you can specifiy the NPC-type (PLAYER, ZOMBIE, SLIME) and the executed command. (cmdnpc.create)
- /cmdnpc modify <action> [value(s)] - Allows you to modify the NPC settings (cmdnpc.modify)
- NAME - Changes the NPC name
- SKIN - Changes the NPC skin for players (independent of the name)
- COMMAND
- list - Lists all configured commands
- add - Adds a command
- remove - Removes a command
- TYPE - Changes the command type
- PLAYER - Will be executed by the player who clicked the NPC
- CONSOLE - Will be executed by the console CAUTION: This can execute ANY command, including /op or /ban
- NPC - Will be executed by the clicked NPC (Commands like /say will have the name of the NPC) CAUTION: Just as the CONSOLE command, any command will be executed
- DELAY - Changes the time players have to wait before they can interact with the NPC again
- MESSAGE - Changes the specified message
- ACTIVATION - Message sent when players interact with the NPC too fast
- CYCLE - Enable/Disable command cycle. (Command will cycle through all available commands)
Command selectors
- /cmdnpc remove - Removes a NPC (cmdnpc.remove)
- @i - gets replaced with the player who interacted
- @p - get replaced with the closest player to the NPC
Config
Code (YAML):#If enabled, skins will be saved locally which allows you to use skins a player doesn't have anymore
saveSkinsLocal: true
#If the plugin should use Bungeecord (enables /server command for NPCs)
bungeecord: false
Links
Thanks to some of my Supporters:
Code (spiget-meta (Unknown Language)):SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7VituWmlWekZvWW0xJCsxVkYrVzFrYlZaNVl6SnNkbUpxTUcqa2JWWjVZekpzZG1KcFYrMGtSMlYwSlE9PQ==
Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.

CommandNPCs [1.7 | 1.8 | 1.9] 1.2.4
Run commands when interacting with an NPC
-
ForumsBot, OGRoop, jose_herrera and 5 others like this.
Recent Updates
- FIx Jun 15, 2016
- Spaces in names May 30, 2016
- Skin fix Apr 16, 2016
Recent Reviews
-
KingStarseeker
- 1/5,
Does not work. (1.7.10) was looking for Citizens replacement, well i did not find it here
-
IsamuSoftware
- 5/5,
People listed here, are complete idiot's.
You guys should never use any technical device or the internet in general..
<!DOCTYPE html>
<html>
<body>
<h2>Stupid guys, who can't and shouldn't use the internet..</h2>
<p>To find on spigotmc.org</p>
<ul>
<li>Matthew_Cash</li>
<li>Patriotictoast</li>
<li>DumptruckLove</li>
<li>BrandonMacedo</li>
<li>IxOSAMA_mcPvP</li>
<li>snazzygaming</li>
<li>nktfh100</li>
</ul>
</body>
</html>
Inventivetalent is making great plugins, you guys should just learn how to use it or at least read the description..and also this plugin is working without problems..
PS: I hope somebody uses the html-code above for his website lol :-)
Greets, K. -
Matthew_Cash
- 1/5,
Three addon plugins for this. Absolutely terrible, you should NEVER make the user download more than 1 extra plugin. Don't be lazy, and integrate your APIs into the plugin.
-
Patriotictoast
- 1/5,
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd wont work
-
DumptruckLove
- 1/5,
I tried installing it, it lead me to a website and all my anti viruses where going of saying they blocked a dangerous installation and i didn't even click anything. the plugin didn't even work anyway.
-
BrandonMacedo
- 1/5,
dont work mc server 1.7 1.8, lslslslslslslslslslslslslslslslslslslslslslslslslslslslsl
-
stevejone1997
- 2/5,
Not working with the latest apis. Too much time used on searching for downloading APIS.
-
Zeiyon
- 5/5,
NOTE TO EVERYONE IN RATINGS SECTION:
This plugin works fine, but the description has not been updated yet.
I found the correct info in a thread which lead me here - https://dev.bukkit.org/projects/cmdnpc
The correct command is (You must first have your NPC selected)
/npc addcmd <in console(true/false)> <customPerm/noPerm> <command>
Example - /npc addcmd false noPerm rewards
-----------------------------------------------------------------
Works perfectly, but please update description -
NoahRoberts
- 5/5,
Beautiful plugin, helped me with my server for years, well done bro! maybe next time add a more simple command system ;)
-
snazzygaming
- 1/5,
Didnt work at all! https://dev.bukkit.org/projects/cmdnpc use this link and use that plugin as it worked greate for me <3