CommandNPC Plugin

Links

Introduction

This plugin is installed on all UniversalCraft servers.

Commands

/npc cmdadd

 [-c console] [-o Op] [-r random] [-i ignorePermMsg] [-l ignoreMoneyMsg] [–v price] [–t clickType] [–d delay] [–cd cooldown] [–p custom.permission.node] <command…> – Add a command to be executed upon clicking the selected NPC.

/npc cmdinfo [id]

Gets various information about all the NPC commands If you include the command ‘id’ it will only show information for that command. You get the ‘id’ from using the ‘cmdinfo’ command

/npc cmdremove

 <id> – Removes a specific commandYou get the ‘id’ from using the ‘cmdinfo’ command

/npc cmdset 

[-c console] [-o Op] [-r random] [-m cdMsg] [-i ignorePermMsg] [-l ignoreMoneyMsg] [–v price] [–t clickType] [–d delay] [–cd cooldown] [–p custom.permission.node] [command | cdMsg…]- Set various variables for the commandThe -c flag runs the command through the console. (This will toggle between true/false)The -o flag runs the command as an op. (This will toggle between true/false)The -r flag picks a random command and executes that one command only.

/npc cmdreset 

Remove all commands from the selected NPC.

Configuration

No changes to the default configuration of this plugin have been made.