- Tested Minecraft Versions:
- Source Code:
Citizens CMD is an addition to the plugin Citizens that allows you to execute commands by right clicking an NPC.
This plugin NEEDS Citizens to be installed, download it here.
Check CitizensCMD on GitHub.
For issues please post it here.
Multiple commands on right click.
Custom permissions for set commands.
One time use command.
%p%|%player% - Clicking player's name.
Commands and Permissions
citizenscmd.* - For all permissions
/npcmd - Displays list of all commands - citizenscmd.npcmd
/npcmd add <console/noPerms/custom*> <command> - Adds command to selected NPC - citizenscmd.add
/npcmd edit <cmd/perm> <id> <new cmd/perm> - Edits a command or permission from NPC - citizenscmd.edit
/npcmd cooldown <timeInSeconds**> - Sets cooldown to selected NPC - citizenscmd.cooldown
/npcmd list - Displays list of all commands and permissions to the selected NPC - citizenscmd.list
/npcmd remove <id/ALL> - Removes 1 command or all from selected NPC - citizenscmd.remove
/npcmd reload - Reloads Config and Saves files - citizenscmd.reload
*custom permission, for example to execute the command /heal from essentials you should add essentials.heal to it.
**Use -1 on cooldown for a one time use command.
Saves.ymlCode (Text):SavedNPCs: #Identifier, don't change.
'0': #NPC ID
cooldown: 0 #Command cooldown in seconds, default set as 0.
customPerms: essentials.broadcast; essentials.broadcast #custom permissions for the command, default set as "console", permissions separated by ';'.
commands: broadcast test command; broadcast test command 2 #command to be executed, commands separated by ';'.
Messages.ymlCode (Text):NoPermission: '&4You have no permissions to perform this command!'
CooldownMinutesSeconds: '&3Please wait &6%M% and %S% &3before using this NPC again.'
CooldownSeconds: '&3Please wait &6%S% &3before using this NPC again.'
InvalidCommand: '&7Command not found &3/npcmd &7for help.'
CooldownDaysHours: '&3Please wait &6%D% and %H% &3before using this NPC again.'
CooldownHoursMinutes: '&3Please wait &6%H% and %M% &3before using this NPC again.'
OneTimeClick: '&3You can only use this NPC once!'
Thanks for server.pro!
Looking for a Minecraft host?
Visit ServerMiner for premium Minecraft servers!
Use code "CitizensCMD" for 20% off!
Be sure to leave a like if you liked the plugin, and feedbacks are welcomed!
Feel free to write some criticisms and suggestions. ♥
This plugin was made by me Mateus Moreira.
If you think the plugin was useful for you and you want to support the creator feel free to hit the donate button.
Thanks for downloading!
Citizens CMD 1.2.2
Add commands to a Citizens NPC.