Citizens CMD 1.2.2

Add commands to a Citizens NPC.

  1. ipsyko
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    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.
    Clicking cooldown.
    Custom permissions for set commands.
    One time use command.
    Custom messages.
    Custom display.

    %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.
    -1 on cooldown for a one time use command.

    Code (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 ';'.

    Code (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!'

    Video Tutorial

    Thanks for!

    Click payment

    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!
    JosueDanielBust, Eth, Fale and 9 others like this.

Recent Reviews

  1. Tatten1233
    Version: 1.2.2
    Love the plugin just waiting for 12.2.2 update............................................
  2. ScuroK
    Version: 1.2.2
    Nice plugin. thx alo to the developer. yes its good and works on 1.12.2. hope u will keep updating it
  3. NamerPRO
    Version: 1.2.2
    Today's update doesn't work for me in minecraft 1.8 bukkit :( Hope that will be fixed soon.
  4. Eth
    Version: 1.2.2
    I REALLY like this plugin, I couldn't find one like this anywhere else, but I am using CraftBukkit, and every time I run a /npcmd command, it fails, so i have to add commands to the Saves.yml file instead.
    Version: 1.2.0
    Awesome but wish there was away to run 2 commands, Punch and Right Click.

    Left click could do /prices A (Shows GUI)
    Right Click runs /sellall A (Sells Everything)
  6. dkajlw
    Version: 1.2.0
    I had a bug with citizens and commandnpc glitching the heck out when I used it with paperpsigot 1.8, rendering the npcs invisible 24/7, with commands crashing. this plugin fixed the error fully, IT WORKS PERFECTLY. THANK YOU SO MUCH.
  7. cowdogfriends1
    Version: 1.2.0
    wow this is an awesome plugin you can really do a lot with this. Thanks for awesome plugin!
  8. Jenesanity
    Version: 1.2.0
    I love this plugin, this is what I have been looking for, a plugin that allows me to add click events to NPCs.
  9. IxOSAMA_mcPvP
    Version: 1.2.0
    Nice Plugin !!
  10. Betob89
    Version: 1.2.0
    Big error, i put 5s to execute commands and went i restart server say i need wait 14d or 6d etc. .