CommandNPCs

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.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files