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:
    https://github.com/ipsk/CitizensCMD
    [​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

    Looking for a Minecraft host?
    [​IMG]
    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.
    [​IMG]

    Thanks for downloading!
    Osqai, JosueDanielBust, Eth and 10 others like this.

Recent Reviews

  1. FooHead
    FooHead
    5/5,
    Version: 1.2.2
    It's an excellent plugin although CommandNPC is better because it has variables which is very very useful.
  2. Tatten1233
    Tatten1233
    4/5,
    Version: 1.2.2
    Love the plugin just waiting for 12.2.2 update............................................
  3. ScuroK
    ScuroK
    5/5,
    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
  4. NamerPRO
    NamerPRO
    3/5,
    Version: 1.2.2
    Today's update doesn't work for me in minecraft 1.8 bukkit :( Hope that will be fixed soon.
  5. Eth
    Eth
    4/5,
    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.
  6. Socialclubz.com
    Socialclubz.com
    5/5,
    Version: 1.2.0
    Awesome but wish there was away to run 2 commands, Punch and Right Click.

    example:
    Left click could do /prices A (Shows GUI)
    Right Click runs /sellall A (Sells Everything)
  7. 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.
  8. 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!
  9. 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.
  10. IxOSAMA_mcPvP
    IxOSAMA_mcPvP
    5/5,
    Version: 1.2.0
    Nice Plugin !!
    -------------------------
    --------------------------
    --------------------------