Lethium

GUI Maker

Minecraft GUI Maker

Build a chest menu, see it like in the game and download it for DeluxeMenus or zMenu. Slot numbers included.

Tools / GUI Maker

Preview

When a slot already has an item
Shapes for the selected item
Size
Server version
Plugin
First slot is number
Start from a template

Items

The order matters when items share a slot: the first one whose view conditions pass is shown.

Item

More options

Custom texture GUI Nexo, ItemsAdder, Oraxen
Open requirement and command arguments
Animated title zMenu

Your menu file

Import a menu

The file is read in your browser and replaces the menu above. Undo brings the old one back.

This slot is in use

How to use the chest GUI generator

  1. Pick a template or start empty. Set the menu id (it becomes the file name), the title and the command that opens the menu.
  2. Choose the size: 1 to 6 rows, a hopper or a dispenser, and the plugin you use: DeluxeMenus or zMenu.
  3. Add items. For each one set the material, the name and the lore with & colour codes or hex colours, and what a click does.
  4. Select an item and click or drag over the grid to place it. Click a slot again to take the item out. The shapes fill a border, a row, the corners or every empty slot. Switch to Move to drag items to other slots.
  5. Hover a slot (or move to it with the keyboard) to see the tooltip as players will see it.
  6. Copy or download the file under Your menu file and follow the steps for your plugin below. Undo and redo work with Ctrl+Z and Ctrl+Y, and the menu is saved in this browser.

Pick your server version in the menu settings. From 1.21.4 on, items take an item model, a tooltip style and the new kind of custom model data, and the tool writes the keys that version needs.

Where the files go

DeluxeMenus

Save the menu as plugins/DeluxeMenus/gui_menus/<id>.yml. Then tell DeluxeMenus about it in plugins/DeluxeMenus/config.yml:

gui_menus:
  shop:
    file: shop.yml

Run /dm reload and open the menu with its command. DeluxeMenus needs PlaceholderAPI for placeholders such as %player_name%.

zMenu

Save the inventory as plugins/zMenu/inventories/<id>.yml. The command that opens it goes in plugins/zMenu/commands/commands.yml:

commands:
  shop:
    command: shop
    inventory: shop

Run /zm reload. zMenu inventories are always chests, so the zMenu file needs a size of 1 to 6 rows; a hopper or dispenser works only for DeluxeMenus.

Player names

zMenu writes the player as %player%, DeluxeMenus as %player_name%. Type either one; each file gets the form its plugin understands.

Items that change: locked, buyable, unlocked

One slot can hold several items, called states. The game checks them from the top and shows the first one whose view conditions pass. The last state usually has no condition, so the slot is never empty. The Unlockable item template shows the idea: players with the permission see the unlocked kit, players with enough money see the buyable one, everyone else sees it locked.

In DeluxeMenus each state is its own item on the same slot, with a priority (a lower number is checked first) and a view_requirement. In zMenu the states are one button with an else chain: when the button's view-requirement fails, zMenu tries the else part. The tool writes both for you.

A click can have its own condition, for example "has 1000 money", with actions for when it passes and others for when it does not. Money conditions and the take and give money actions need Vault and an economy plugin. Give permission is a DeluxeMenus action; in zMenu the tool writes a LuckPerms command instead.

Use Preview as player under the grid to switch each condition on and off and check what every kind of player sees.

Menus with pages

Press Add page above the grid. Each item is shown on one page or on every page (set it under Shown on), and an item can be a Previous page or Next page button. On the first page the Previous button steps aside and the item below it on that slot shows instead; the same goes for Next on the last page.

Settings for one page

Under Page settings each page can have its own title, size, open command, open requirement and update interval, and can leave out the texture background. Every setting has its own switch; a setting that is off follows the menu. Use it for a page 2 only VIPs can open, a shorter last page, or a /shop tools command that jumps straight to page 3. Both plugins check a page's open requirement every time it opens, also when a player clicks the arrow on the page before.

Pages in zMenu

zMenu has real pages. The file gets page: 2 on the items of page 2, is-permanent: true on the items shown on every page, type: PREVIOUS and type: NEXT on the arrows with the slot's other item as their else, and %page%/%max-page% in the title. zMenu's pages share one title, size and open requirement, so once a page has its own settings the tool writes one inventory per page instead, linked by the arrows with the inventory action, and each page's own command goes into commands.yml.

Pages in DeluxeMenus

DeluxeMenus has no pages (HelpChat issue #180). The tool writes one menu per page, shop_p1.yml, shop_p2.yml and so on, with "(1/3)" in each title. The arrows open the next file with [openguimenu]. Only page 1 gets the open command, unless a page has its own under Page settings; DeluxeMenus allows a menu without one, so the other pages open through the arrows. Add every file under gui_menus: in config.yml. Download all as .zip gives you the files, the config.yml lines and a README.

Custom texture GUI (ItemsAdder / Nexo)

A textured menu draws your own picture behind the slots. The picture is a font image in your resource pack, and the menu title shows it with a negative shift so it starts at the left edge of the chest. Under More options, open Custom texture GUI:

  1. Download the slot template for your size and paint over it, or choose a PNG you already have. The picture stays in your browser.
  2. Pick Nexo, ItemsAdder or Oraxen and a glyph id. Move Shift and Ascent until the picture lines up with the slots in the preview.
  3. Put the glyph config and the 256 px wide PNG into your pack plugin and reload it.
  4. The menu files use the texture title: &f%nexo_shift_-8%%nexo_menu_bg% for Nexo and &f%img_offset_-8%%img_menu_bg% for ItemsAdder in DeluxeMenus (through PlaceholderAPI), and <shift:-8><glyph:menu_bg> in zMenu, with the PlaceholderAPI form as a second choice.

Check the offset in game; it depends on the texture and the pack plugin. The Oraxen names follow the same pattern as Nexo and were not checked against Oraxen's own docs.

Player head base64 and custom model data

Player heads

For the viewer's own head use head-%player_name%; zMenu gets playerHead: "%player%". For a custom head, open the Player head helper and paste a textures.minecraft.net link, the texture hash or the base64 value from a head site. The tool builds the base64 itself, without asking any server, and writes basehead-<base64> for DeluxeMenus and url: <base64> for zMenu.

Custom model data

Up to 1.21.3 custom model data is a number: model_data in DeluxeMenus and modelID in zMenu. From 1.21.4 on the server version selector shows the new form with floats, strings, flags and colours, written as model_data_component, plus item_model, tooltip_style, hide_tooltip and rarity (in zMenu item-model, tooltip-style, hide-tooltip and item-rarity). Old nbt_ keys stop working on 1.21.4, and the import check points them out.

Open requirements, arguments and animated titles

An open requirement stops the menu from opening unless every condition passes, and runs the "if not met" actions instead. Arguments let players type more after the command, like /shopfor Steve: DeluxeMenus reads them as {target} and needs register_command: true and a restart, and zMenu reads them as %zmenu_argument_target% from commands.yml. An animated title is zMenu only and needs PacketEvents on the server.

The import check

When you import a menu, the tool also looks for common mistakes and lists them with their line: slots outside the menu, a key written twice, tabs, arguments without register_command: true, nbt_ keys on 1.21.4 and newer, unknown action tags, & codes inside [minimessage], and %player% in DeluxeMenus where %player_name% is needed.

How chest GUI slot numbers work

Minecraft numbers the slots of a menu from the top left, left to right, row by row, starting at 0. Every row of a chest has 9 slots, so the slot number is row × 9 + column, with both counted from 0. The player's own inventory below the menu is not part of these numbers.

RowSlotsLast slot of a menu this size
10-88 (1 row, 9 slots)
29-1717 (2 rows, 18 slots)
318-2626 (3 rows, a single chest, 27 slots)
427-3535 (4 rows, 36 slots)
536-4444 (5 rows, 45 slots)
645-5353 (6 rows, a double chest, 54 slots)

A hopper has slots 0 to 4, and a dispenser or dropper 0 to 8 in a 3 by 3 square. The border of a 6-row menu is 0-9, 17-18, 26-27, 35-36, 44-53, and the border of a 3-row menu is 0-9, 17-26.

The Slot numbers tab lists the slots of the selected item as a list, as ranges and as a slots: block, for any plugin. If your plugin counts from 1, switch "First slot is number" to 1. The DeluxeMenus and zMenu files always count from 0, as those plugins do. Both accept ranges such as 0-9 in a slots list.

Colours and formatting

Names, lore and the title take the classic codes &0 to &f, &l bold, &o italic, &n underline, &m strikethrough, &k scrambled and &r reset. For hex colours you can type &#1F8A70, #1F8A70, <#1F8A70> or {#1F8A70}. The DeluxeMenus file gets &#RRGGBB and the zMenu file #RRGGBB. A colour code resets bold and the other styles, so write the style after the colour: &6&l, not &l&6.

Unformatted lore is dark purple in the game, so start each lore line with a colour such as &7. For gradients, make the text in the hex gradient generator and paste it here.

The ꜱᴍᴀʟʟ ᴄᴀᴘꜱ button under the name and lore turns letters into small capitals and leaves colour codes and placeholders alone. When you switch the plugin, hex colours are rewritten for it: &#RRGGBB for DeluxeMenus, #RRGGBB for zMenu.

Material and sound names from PrismarineJS minecraft-data (MIT). The item icons are drawn by this page; no game textures are used.

Questions

How do I make a DeluxeMenus GUI?

Pick a size and a template, place your items, give them names, lore and click actions, then download the DeluxeMenus file. Put it in plugins/DeluxeMenus/gui_menus/, add the menu under gui_menus: in DeluxeMenus' config.yml and run /dm reload.

How do I add a menu to zMenu?

Switch the plugin to zMenu and download the inventory file into plugins/zMenu/inventories/. Copy the commands.yml part into plugins/zMenu/commands/commands.yml so a command opens it, then run /zm reload.

Can I edit an existing menu?

Yes. Paste a DeluxeMenus menu file or a zMenu inventory into the import box, or open the file. The tool reads the items, slots, states, conditions and actions. Keys it does not know are kept and written back unchanged.

How do I make an item that shows only if the player has money or a permission?

Give the item a view condition, for example Has permission kits.vip or Has money 1000, and put a second item without conditions on the same slot as the fallback. The Unlockable item template shows the full set: unlocked, buyable and locked.

How do I make a custom texture GUI with Nexo or ItemsAdder?

Open Custom texture GUI under More options, choose your PNG (or download the slot template and paint over it) and pick Nexo, ItemsAdder or Oraxen. Add the glyph config and the 256 px PNG to your pack, and the menu title becomes the font image with a negative shift. Check the offset in game; it depends on the texture.

How do I get a player head texture for DeluxeMenus?

Open the Player head helper under the material field and paste a textures.minecraft.net link, the texture hash or a base64 value. The tool turns it into base64 on the page itself and writes basehead-<base64> for DeluxeMenus and url: <base64> for zMenu. For the viewer's own head use head-%player_name%.

Does DeluxeMenus support pages?

No. DeluxeMenus has no pagination, so for a menu with pages the tool writes one menu per page (shop_p1, shop_p2 and so on) linked by the arrow buttons with [openguimenu]. Only page 1 gets the open command. zMenu has real pages, and its file uses page:, is-permanent and PREVIOUS / NEXT buttons.

Are the item pictures from Minecraft?

No. The icons are simple drawings made by this page from the item name: dye colours for glass, wool and concrete, a head shape for heads and a coloured tile with a short label for the rest. No game textures are used.

What are the slot numbers of a double chest?

A double chest, or a 6-row menu, has 54 slots numbered 0 to 53. The top row is 0 to 8 and the bottom row is 45 to 53.

Do Minecraft menu slots start at 0 or 1?

The game counts from 0, and so do DeluxeMenus and zMenu. A few plugins count from 1. Switch "First slot is number" to 1 for those: the numbers on the grid and in the Slot numbers output shift by one. The DeluxeMenus and zMenu files always count from 0.

How do I fill the border of a menu?

Select an item, for example a glass pane, and press the Border shape. For a 6-row menu the border slots are 0-9, 17-18, 26-27, 35-36 and 44-53.

Can two items use the same slot in DeluxeMenus?

Yes. DeluxeMenus shows the item with the lowest priority number whose view requirement passes. Here you add the second item as another state of the slot, and the tool writes the priorities for you.

Does the tool include the player's inventory?

No. It covers only the menu at the top, which is what menu plugins mean by a slot. The player's own inventory below it is left out.