NewCraftRank SitesA free website and storeMake yours ›
1.10.41CraftRank Launcher is out Download ›AshlarFree server software built on Paper, with DDoS and backdoor protection See Ashlar ›Server ownersYour own launcher with your name, logo and one click onto your server See themes ›
Resources / Plugins / CommandNPC

CommandNPC

Add Commands to your Citizens 2 NPC! 1.12 Ready (When Citizens comes out)

PluginsFree1.8 – 1.12
by messageofdeath · listed from SpigotMC · ★★★★★ 4.1
Download ›

Opens SpigotMC · 119,672 downloads there

What it does

Add Commands to your Citizens 2 NPC! 1.12 Ready (When Citizens comes out)

CommandNPC is a plugin for Paper / Spigot servers, made by messageofdeath. It supports Minecraft 1.8 – 1.12. It has been downloaded 119,672 times on SpigotMC. 49 people rated it 4.1 out of 5. The last update came out on Jul 14, 2017.

Supported versions

1.121.8

Release history

CommandNPC has had 11 releases on SpigotMC since May 1, 2017. None of them came out in the past year. The newest is 1.9.1, released on Jul 14, 2017.

VersionReleasedType
1.9.1Jul 14, 2017Release
1.9.0Jul 5, 2017Release
1.8.9Jun 11, 2017Release
1.8.9Jun 5, 2017Release
1.8.8.2May 21, 2017Release

Commands

The commands named on the SpigotMC page of CommandNPC:

/npc
Description from the author on SpigotMC

CommandNPC is a plugin inspired by the server Mineplex, which adds a new function to NPCs. It allows users to run commands by simply right clicking on a Citizens NPC. Requires Citizens 2!
Keep in mind, if you are an early adopter for any update. If it says unknown webpage, please wait until the BukkitDev staff approve the plugin first. Once approved you'll be able to see it. REQUIRES JAVA 8!

Commands and Permissions
(Now supports PlaceholderAPI)

To set up the npc with the commands you need the permission 'commandnpc.admin'

Be aware that flags that require additional input like [--v price], you need 2 dashes(-)!

  • /npc cmdadd [-c console] [-o Op] [-r random] [-i ignorePermMsg] [-l ignoreMoneyMsg] [--v price] [--t clickType] [--d delay] [--cd cooldown] [--p custom.permission.node] <command...> - Add a command to be executed upon clicking the selected NPC.
  • The -c flag runs the command through the console.
  • The -o flag runs the command as an op.
  • The -r flag picks a random command and executes that one command only.
  • The -i flag when true, noPerm message doesn't send
  • The -l flag when true, noMoney message doesn't send
  • The --v flag charges the player the specified amount, when running the command. (Numeric with decimal)
  • The --p flag requires the player to have the specified permission.
  • The --d flag is the amount of ticks that the command will be delayed by. (Integer input)
  • The --cd flag is a cooldown for the command in ticks. (20 ticks in a second)
  • The --t flag sets the clickType('left', 'right', or 'both') | This will default to the global setting in config.yml
  • /npc cmdinfo [id] - Gets various information about all the NPC commands
  • If you include the command 'id' it will only show information for that command.
  • You get the 'id' from using the 'cmdinfo' command
  • /npc cmdremove <id> - Removes a specific command
  • You get the 'id' from using the 'cmdinfo' command
  • /npc cmdset [-c console] [-o Op] [-r random] [-m cdMsg] [-i ignorePermMsg] [-l ignoreMoneyMsg] [--v price] [--t clickType] [--d delay] [--cd cooldown] [--p custom.permission.node] [command | cdMsg...]- Set various variables for the command
  • The -c flag runs the command through the console. (This will toggle between true/false)
  • The -o flag runs the command as an op. (This will toggle between true/false)
  • The -r flag picks a random command and executes that one command only.
  • The -m flag is when you have a cooldown amount specified. When the player is in a cooldown and attempt to use the NPC, it will send them this message. (Usage: /npc cmdset -m [cdMsg...]) Note: When using other flags the cdMsg as to be the last things within the command.
  • The -i flag when true, noPerm message doesn't send
  • The -l flag when true, noMoney message doesn't send
  • The --v flag charges the player the specified amount, when running the command. (Numeric with decimal)
  • The --p flag requires the player to have the specified permission.
  • The --d flag is the amount of ticks that the command will be delayed by. (Integer input)
  • The --cd flag is a cooldown for the command in ticks. (20 ticks in a second)
  • The --t flag sets the clickType ('left', 'right', or 'both')
  • You get the 'id' from using the 'cmdinfo' command
  • /npc cmdreset - Remove all commands from the selected NPC.
  • You can use '%name' in commands as a placeholder for the user who is clicking the NPC.
  • This plugin now supports a BungeeCord command. You may now use 'server <serverName>' to teleport people between servers!

How to setup the NPC

  • Edit config.yml to your likings
  • Select the NPC you wish to add commands too.
  • Use the command 'cmdadd' (Syntax listed above) to add the commands you wish.
  • These commands will be saved.
  • If you wish to remove the commands simply use the 'resetcmds' command. (Syntax listed above)

Metrics by bStats

Github

===== Donations =====

If you like what you see and want to support the development of this plugin and any other plugins I decide to create, you can donate to the developers! Just go to the upper right of
this page.

Written by messageofdeath. Read it with pictures on SpigotMC.

How to install CommandNPC

  1. Make sure your server runs Paper and Spigot on Minecraft 1.8 – 1.12.

  2. Download the .jar file from SpigotMC and put it in the plugins folder of your server.

  3. Restart the server. Avoid /reload, many plugins do not handle it well.

  4. Type /plugins in the console: CommandNPC should be listed in green. Its config files are created in the plugins folder on the first start.

Compatibility

Minecraft versions
1.12, 1.8
Runs on
Paper, Spigot
Edition
Java
Needs
Nothing else
Price
Free
Upkeep
Actively updated (Nov 10, 2026)

CommandNPC compared with similar ones Compare all alternatives

ResourceDownloadsRatingVersionsLast updatePrice
CommandNPCthe one you looked at120K4.11.8 – 1.12Jul 14, 2017Free
CitizensCMDHexedHero376K4.31.8 – 1.20Oct 3, 2024Free
Bedrock Player Managment for Floodgateofunny1.4M4.81.8 – 1.19Apr 24, 2021Free
CitizensGUIEnder_Griefeur99125K4.91.8 – 1.21Feb 6, 2024Free

Questions

Does CommandNPC work on Minecraft 26.x?

Not yet. The newest version it supports is Minecraft 1.12.

Is CommandNPC free?

Yes. CommandNPC is free to download from SpigotMC.

Which server software does CommandNPC run on?

CommandNPC runs on Paper and Spigot servers.

Is CommandNPC still updated?

Yes. The last update came out in the past day.

What are the best alternatives to CommandNPC?

The closest ones are CitizensCMD, Bedrock Player Managment for Floodgate and CitizensGUI. Compare all alternatives

Alternatives to CommandNPC

DiSkyPlugins · 1.8 – 26.x

The best Skript add-on for Discord management! Slash commands, interaction, components, modal, and much more are available!

Free34,293 downloads
Compare all alternatives ›

Reviews

–★★★★★
0 reviews
50
40
30
20
10

4.1 from 49 ratings on SpigotMC.

Log in to leave a review.