Menu
Skip to article

DeluxeMenus – a plugin for custom GUI menus on Minecraft servers

DeluxeMenus by HelpChat builds command-opened GUI menus on Bukkit, Spigot and Paper. Needs PlaceholderAPI; commands and permissions listed.

14.9K3 min

DeluxeMenus by HelpChat builds command-opened GUI menus on Bukkit, Spigot and Paper. Needs PlaceholderAPI; commands and permissions listed.

DeluxeMenus is an inventory GUI plugin developed by HelpChat. It builds menus that open through custom commands and can show different items, or run different actions, depending on who opens them. The source is on GitHub under the MIT licence.

Requirements

  • Platform: Bukkit, Spigot or Paper. Modrinth lists Java Edition 1.16.x up to the newest releases.
  • PlaceholderAPI is required.
  • Optional: HeadDatabase for custom heads, ItemsAdder and Oraxen for custom items in menus.
  • Java 11 or higher for versions 1.13.4 and above, according to Modrinth.

What it changes

Nothing in the base game. It adds a layer of menus you define yourself in YAML. A menu can take arguments in its open command (for example a player name), and a slot can switch to another item or action when a requirement is met, including requirements written as JavaScript conditions.

Setting up menus

The config.yml file has a gui_menus section. Each entry is a menu name with a file key that points to a separate YAML file. The default config registers three examples:

gui_menus:
  basics_menu:
    file: basics_menu.yml
  advanced_menu:
    file: advanced_menu.yml
  requirements_menu:
    file: requirements_menu.yml

To add your own menu, add an entry with the same shape and run /dm reload. If the file does not exist yet, DeluxeMenus creates it with a default layout, which you then edit and reload again. A menu file needs an open command or it will not load. Set open_command: [] if the menu should have no command.

The examples are worth reading before you write anything:

  • basics_menu.yml: a commented beginner menu with 9 slots, a permission requirement and a stone item with lore.
  • advanced_menu.yml: kit and shop examples that use view_requirement to pick an item by priority, plus a filler item.
  • requirements_menu.yml: buy and sell examples for gold blocks, a free diamond with a temporary cooldown permission, and an item whose placeholder refreshes.

Commands and permissions

The base command /dm also answers to /deluxemenus, /deluxemenu and /dmenu. It shows plugin info and needs no permission.

CommandPermissionWhat it does
/dm open <menu>deluxemenus.openOpens the menu for you
/dm open <menu> <player>deluxemenus.open.othersOpens the menu for another player
/dm open <menu> -p:<target>deluxemenus.placeholdersforOpens the menu for you with placeholders parsed as the target player
/dm list [page/all]deluxemenus.listLists loaded menus
/dm reload [menu]deluxemenus.reloadReloads all files, or a single menu
/dm dump <menu> or /dm dump configdeluxemenus.adminCreates a paste with the menu or config and debug info
/dm execute <player> <action>Op onlyRuns an action for a player

Two permissions work per menu or per target: deluxemenus.openrequirement.bypass.<menu> skips that menu's open requirements (deluxemenus.openrequirement.bypass.* skips all of them), and deluxemenus.placeholdersfor.exempt stops other players from using you as the -p: target.

The full option reference is on the HelpChat wiki.

Installation

A typical installation takes about 5 minutes. The flow is the same; only the loader and the matching build differ.

  1. 1Stop your Minecraft server.
  2. 2Drop the plugin .jar into the server /plugins folder.
  3. 3Start the server once so the plugin generates its config files.
  4. 4Edit /plugins/<name>/config.yml as needed, then run /reload confirm or restart.

Gallery

Found: 6