Mineuniverse
Log in Register
Plugins

CommandNPCs

Make Villagers (NPCs) run commands!
by _ForgeUser9649389
Download Claim this project
31,453 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools General

http://i.imgur.com/JAx63Cg.jpg

CommandNPCs
Makes any mob run commands, as an NPC! This is a simple plugin, so a good plugin without all the rubbish big plugins come with.
All commands will be ran from the console!

Update 1.4: Disabling AI now works on all versions.
Update 1.3.2: Fixed villager shops.
Update 1.3: Now works with any mobs!
Update 1.2.1: Slight issue with the plugin.yml. Now fixed :)
Update 1.2: Added setting to disable all AI and villager damage! See changelog.

Commands
/commandnpcs - Main command. Shows usage.
/commandnpcs cancel - Cancels any admin commands that are active (add, remove).
/commandnpcs add <command> - Adds a command to an NPC. Note, use _ for spaces. See the 'Example usage'.
/commandnpcs remove - Removed all commands from an NPC.

Permissions
commandnpcs.use - Allows the use of CommandNPCs. By default, players have this.
commandnpcs.admin - Allows the use of admin commands (add, remove, cancel).

Variables
%player% replaces with the player's name.
%next% signifies the next command.

Example usage
/commandnpcs add broadcast_Hello!%next%heal_%player%
This will assign '/broadcast Hello' and '/heal Sponges' to the npc.

Source code
All on my personal site, http://spongybacon.com/npcs. Please note that spongybacon.com is a personal site and is not affilliated with dev.bukkit.org - all downloads and viewings are at your own risk.

Upcoming features
- Make commands run from player.
- Add per npc permissions for running the command, from that npc.

1.4 - Version independance
MC 1.8
Release 2015-06-03 Get
1.3.2 Villager shops fix
MC 1.8
Release 2015-05-28 Get
1.3
MC 1.8
Release 2015-05-25 Get
1.2 AI update
MC 1.8.1
Release 2015-05-02 Get
1.2.1 Plugin.yml fix
MC 1.8.1
Release 2015-05-02 Get
1.0
MC 1.8
Release 2015-04-25 Get

More from _ForgeUser9649389

ItemStackBuilder
840
MiniEconomy
1,145

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945