Citizens CMD 1.2.0

Add commands to a Citizens NPC.

  1. ipsyko
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    [​IMG]

    Description

    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.

    Features
    Multiple commands on right click.
    Clicking cooldown.
    Custom permissions for set commands.
    One time use command.
    Custom messages.
    Custom display.


    Variables
    %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.yml
    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 ';'.

    Messages.yml
    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 server.pro!

    To-do
    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.
    [​IMG]

    Thanks for downloading!
    Fale, Seff300, racerk12 and 7 others like this.

Recent Reviews

  1. dkajlw
    dkajlw
    5/5,
    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.
  2. cowdogfriends1
    cowdogfriends1
    5/5,
    Version: 1.2.0
    wow this is an awesome plugin you can really do a lot with this. Thanks for awesome plugin!
  3. Jenesanity
    Jenesanity
    5/5,
    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.
  4. IxOSAMA_mcPvP
    IxOSAMA_mcPvP
    5/5,
    Version: 1.2.0
    Nice Plugin !!
    -------------------------
    --------------------------
    --------------------------
  5. Betob89
    Betob89
    1/5,
    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. .
  6. EshanK711
    EshanK711
    5/5,
    Version: 1.2.0
    I don't want to rate this plugin based on my issue. I'm not able to right-click my NPC and having it open my command. I have even set it to RIGHT and it still doesn't open. Please help.
    1. ipsyko
  7. KamThail
    KamThail
    5/5,
    Version: 1.2.0
    Please add npc price!!!!
    Please add npc price!!!!
    Please add npc price!!!!
    Please add npc price!!!!
  8. Fale
    Fale
    5/5,
    Version: 1.2.0
    Love this plugin, lets me make my villagers sell commands to my players! Works amazing! :)
  9. ScuroK
    ScuroK
    5/5,
    Version: 1.1.0
    Works well on spigot for minecraft 1.12.2. thanks alot for this awesome and very useful plugin! <3
  10. Seff300
    Seff300
    5/5,
    Version: 1.1.0
    Hello!
    This is my first plugin review and I'm happy that I can give this plugin 5 stars. It works very well and useful for my server.
    Keep up the good work :)