NPCCommand
Do you want to make your citizens NPC run commands on right click?
Now you can do it! Easy to setup and use!
Languages
- English;
- Português;
Tutorial
- Grab a Command block;
- Rename it (Command block) with the command you want to place in the NPC;
- Left click on the NPC with the command block in hand;
- And all done! Just right click on it :).
Dependencies
Images
Coming soon...
Videos
Coming soon...
Commands
v2.0
Command | Permission | Description | |
---|---|---|---|
/NPCCommand | none | Shows all available functions. | |
/NPCCommand info | none | Show information about the plugin. | |
/NPCCommand set | npccommand.set | Gives you a command block with a command. | |
/NPCCommand get | npccommand.get | Gives you a command block when left clicked on an NPC and shows all the commands it contains. | |
/NPCCommand clear | npccommand.clear | Gives you a command block when left clicked on an NPC and clears all the commands from it. | |
/NPCCommand rename | npccommand.rename | Replaces the command in the command block with another one. | |
/NPCCommand remove | npccommand.remove | Gives you a command block with a command when left clicked on an NPC and removes the command from it. | |
/NPCCommand permission | npccommand.permission | This command allows you to set a permission to limit access to an command. |
Permissions
v2.0
Permission | Description | |
---|---|---|
npccommand.use | Allows the player to right click on NPC. | |
npccommand.edit | Allows the player to edit commands on NPC. |
Variables
Name | Description | |
---|---|---|
%name% | This variable will be replaced with the player name who clicked. | |
%npcname% | This variable will be replaced with the NPC name which has been clicked. |
Features
- Multiple commands are now supported;
- Added new commands;
- Added new permissions;
- Added color support;
Warning
This plugin contains an auto-update, if you want to change the state of it go to NPCCommand folder, open Config.yml an choose between:
Auto update disabled: "Auto Updater: false"
Auto update enabled: "Auto Updater: true"
Servers running this plugin
Send me a private message with your server name and IP if you want to be here!
Bugs
If you find a bug please create a ticket with it.
Other Projects
PlotMe Chat - Do you want to have an plot chat on PlotMe ?
Donation
Donations are appreciated, no matter the value :)
Please leave suggestions in the comments :)
@madtomic
Yes I will do it.
I tried as suggested. It don't seems to work with binding the command to the NPC when left click on cb1.7.2-r0.3. Can you build one for this version of CB?
@Meastrofer5
Good idea, I will try to do it.
can i add more commands to npc ?
and can i add command to npc who will be for any group ?
for example:
player is in group DEFAULT, and i set to npc command when he click on npc - /spawn and for group with name DEFAULT and next player is in VIP group and i set to same npc command for VIP group - /warp vip
@Meastrofer5
Can you explain better please?
can i add more commands ? or can i add command for any groups ?
@madtomic
I believe so but these versions may contain bugs.
@bobbysaran
Yes of course. If later you want to pass me the link to put in the post, I'd appreciate it :)
can i make a vid on this
Can I use with CB1.7.2-r0.3?