HomeJavaModsNPCMenu
NPCMenu
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!

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:
Code (Text):

#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: " "

 

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

NPCMenu is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 1,231 times (via Spigot). Download it and open it directly in the game.

Explore more