GUI
All GUI menu related options & configurations
Syntax
Menu Title
The menu title that is shown at the top of the GUI. You can use color and formatting codes here, and PlaceholderAPI placeholders.
Open Command
Multiple open commands:
The command used to open the GUI menu. It can only be a single word.
Open Requirements
Sets requirements a player should have to open the GUI menu. Check the Requirements page for more info.
Placeholders Support Arguments
In version 1.14.1 of DeluxeMenus, the order of placeholders and arguments being parsed was changed for security reasons. If you know there is no security risk for you, the old order can be reverted by adding this option.
Security Warning!
Some placeholders do more than returning values. To prevent user input from being used directly into placeholders, this option is disabled by default. If you know the placeholders you use inside menus are not doing such things, feel free to enable this option!
Open Commands
Runs the command(s) you set when the player opens the menu.
Close Commands
Runs the command(s) you set when the player close the menu by clicking an item that have the close action ([close]
).
At the moment, it is not possible to run these actions when a menu is closed by other means such as pressing the "ESC" key.
Inventory Type
Default value:
CHEST
Supported types:
ANVIL
BARREL
BEACON
BLAST_FURNACE
BREWING
CARTOGRAPHY
DISPENSER
DROPPER
ENCHANTING
ENDER_CHEST
FURNACE
GRINDSTONE
HOPPER
LOOM
PLAYER
SHULKER_BOX
SMOKER
WORKBENCH
Allows you to define a different type of Inventory.
Size
Default value:
54
Supported values:
9
18
27
36
45
54
Sets the inventory size.
Register Command
Registers the open command with the server.
Arguments
TEXT The argument name (Should be unique).
Gives you the ability to set arguments after the open command, and use them inside the menu by adding the argument placeholder (the argument name inside curly braces {TEXT}
).
Arguments can also be specified when the [openguimenu]
action is used.
You can have multiple arguments, and they will be set in the same order in the open command.
{first}
returnsFirstArg
{second}
returnsSecondArg
{last}
returnsAnd the rest
It's highly recommended to add the Args Usage Message option.
Requires Register Command to be enabled!
Arguments Wrong Usage Message
Custom message to be sent to a player when he uses a command to open a menu but does not specify the required arguments. Colors and formatters can be used in this message.
Requires Arguments to be defined.
Argument Requirements
Arguments can have their own requirements and they are checked before the menu is opened.
Update Interval
This is for any items that use the update:
option (Check it here).
The number defines the delay (in seconds) between each refresh of the placeholders in an item's lore/display name.
Note: This refreshes/updates the placeholders only.
Items
This line should be left as is. It is merely telling the plugin you are about to begin defining items. Check the Item page for more information.
Last updated
Was this helpful?