Commandnpc Plugin

CommandNPC Plugin (1.12.2) 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.

CommandNPC Plugin (1.12.2) – Bukkit, Spigot, Paper 1

Commands and Permissions

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

  • /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 <id> [-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!

Screenshots:

CommandNPC Plugin (1.12.2) – Bukkit, Spigot, Paper 2

CommandNPC Plugin (1.12.2) – Bukkit, Spigot, Paper 3

CommandNPC Plugin (1.12.2) – Bukkit, Spigot, Paper 4

CommandNPC Plugin (1.12.2) – Bukkit, Spigot, Paper 5

CommandNPC Plugin (1.12.2) – Bukkit, Spigot, Paper 6

How to install:

  • Download a plugin of your choice.
  • Place the .jar and any other files in your plugins directory.
  • Run the server and wait for it to fully load.
  • Type stop in your Minecraft server console to bring the server to a clean stop.
  • Run the server.
  • All done! Your plugin should be installed and ready to be used.

CommandNPC Plugin (1.12.2) Download Links

For Minecraft Bukkit 1.12

Download from Server 1

Mods

1.19.4 Mods

1.19.3 Mods

1.19.2 Mods

1.18.2 Mods

1.16.5 Mods

1.15.2 Mods

1.12.2 Mods

1.8.9 Mods

1.7.10 Mods

1.18.1 Mods

1.17.1 Mods

1.14.4 Mods

1.13.2 Mods

1.11.2 Mods

1.10.2 Mods

1.9.4 Mods

Minecraft Modpacks

1.19.4 Modpacks

1.19.3 Modpacks

1.19.2 Modpacks

1.18.2 Modpacks

1.16.5 Modpacks

1.12.2 Modpacks

1.7.10 Modpacks

Forge Mods

Fabric Mods

Quilt Mods

Resource Packs

1.19.4 Resource Packs

1.19.3 Resource Packs

1.19.2 Resource Packs

1.18.2 Resource Packs

1.16.5 Resource Packs

1.15.2 Resource Packs

1.12.2 Resource Packs

1.8.9 Resource Packs

1.7.10 Resource Packs

1.18.1 Resource Packs

1.17.1 Resource Packs

1.14.4 Resource Packs

1.13.2 Resource Packs

1.11.2 Resource Packs

1.10.2 Resource Packs

1.9.4 Resource Packs

Shaders

1.19.4 Shaders

1.19.3 Shaders

1.19.2 Shaders

1.18.2 Shaders

1.17.1 Shaders

1.16.5 Shaders

Maps

1.19.4 Maps

1.19.3 Maps

1.19.2 Maps

1.18.2 Maps

1.16.5 Maps

1.15.2 Maps

1.12.2 Maps

1.8.9 Maps

1.7.10 Maps

1.18.1 Maps

1.17.1 Maps

1.14.4 Maps

1.13.2 Maps

1.11.2 Maps

1.10.2 Maps

1.9.4 Maps

Data Packs

1.19.4 Data Packs

1.19.3 Data Packs

1.19.2 Data Packs

1.18.2 Data Packs

1.16.5 Data Packs

1.15.2 Data Packs

1.18.1 Data Packs

1.17.1 Data Packs

1.14.4 Data Packs

1.13.2 Data Packs

MCPE/Bedrock

Mods & Addons

MCPE 1.19 Add-ons

MCPE 1.19 Mods

Texture Packs

MCPE 1.19 Texture Packs

MCPE 1.19 Resource Packs

Maps

MCPE 1.19 Maps

Clients

MCPE 1.19 Clients

Mod Menu Clients

Shaders

MCPE 1.19 Shaders

Render Dragon Shaders

Launchers

Skin Packs

Clients

1.19.4 Clients

1.19.3 Clients

1.19.2 Clients

1.18.2 Clients

1.16.5 Clients

1.12.2 Clients

1.8.9 Clients

Launchers

1.19.4 Launchers

1.19.3 Launchers

1.19.2 Launchers

1.18.2 Launchers

1.16.5 Launchers

1.12.2 Launchers

1.7.10 Launchers

Seeds

1.19.4 Seeds

1.19.3 Seeds

1.19.2 Seeds

1.18.2 Seeds

Skins

Plugins

Bukkit Plugins

Spigot Plugins

Paper Plugins

Tutorials

Installation Guide

Mobs Wiki Guide

Seeds Wiki Guide

Biomes Wiki Guide

Status Effects Wiki Guide

Enchantments Wiki Guide

Materials Wiki Guide

Command Blocks

Versions

Backlinks