A plugin by InfamousJackson
NPCMenu
Works for Bukkit AND SpigotMC
In this plugin you can customize the command run by NPC's. In the config there is 5 options you can customize. NPC Name, command, a message that the player gets when they click the Villager, the permission, and the deny message. To use the plugin, all you have to do is right click the villager that you named. It is very simple and easy to use. This plugin requires a menu plugin if you want to use menus, such as chest commands, but you can completely ignore that part of the plugin, and make it run simple commands like to join a minigame. Citizens works well with the plugin because you can set the name of the NPC with the type villager. Please leave a good rating and a like if the plugin works for you!
- Updated and tested for 1.12
- Fully Customizable!
- Works great for shops, warps, and minigames.
- Infinite Menus
- You can use '&' symbols for colored messages and Villager Names.
- All other villagers will act normal (you can trade with them)
- %PLAYER% variable to find the player that clicked the villager.
- Permissions for players to right click the villagers.
- FULLY CUSTOMIZABLE
I have a plugin creation tutorial series. I suggest checking it out! [Click Me]

COMMANDS:
/npcmenu - Tells you the current version
/mpcmenu reload - Reloads the Config
PERMISSIONS:
npcmenu.admin
And whatever you want the other permissions to be.
DEFAULT CONFIG:
#READ ME: Message me @ InfamousJackson on SpiggotMC.org if you need more menus!
#Dont change the menu names. Keep the quotations. name and command are needed. message is optional.
menu1:
#The name of the Villager. Case does not matter.
name: "Selector"
#This changes the command that is run for the player. (Do not include slash) Use %PLAYER% for the players name!
#example: chestcommands open selector %PLAYER%
command: "chestcommands open selector %PLAYER%"
#You can send a message to the player who clicks the Villager. You can include & color codes.
message: "&aYou have opened the &aMenu."
#Requires the permission to open the menu.
permission: "npcmenu.open1"
#Message the player is sent if he does not have the required permission.
deny: "&cYou do not have access to this"
menu2:
name: " "
command: " "
message: " "
permission: " "
deny: " "
menu3:
name: " "
command: " "
message: " "
permission: " "
deny: " "
menu4:
name: " "
command: " "
message: " "
permission: " "
deny: " "
menu5:
name: " "
command: " "
message: " "
permission: " "
deny: " "Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta