# GUI Customization

### Button customization

By default, McmmoGui takes the `name` and `lore` from the language file, we use a single language file for all translatable text of the plugin. Look for the button name in the language file, match it with the GUI name and you’ll find it easily.

<table><thead><tr><th width="183">Property</th><th width="395">Description</th><th>Example</th></tr></thead><tbody><tr><td><code>Material</code></td><td>Item material. Supports Bukkit materials, <code>head-&#x3C;base64></code>, <code>head-%player%</code></td><td><code>DIAMOND_SWORD</code>, <code>head-%player%</code></td></tr><tr><td><code>Slots</code></td><td>List of slot numbers (0-indexed) for button placement. Set it to <code>[-1]</code> to disable the button.</td><td><code>[10]</code>, <code>[11, 12]</code></td></tr><tr><td><code>ModelData</code></td><td>Custom Model Data for resource packs.</td><td><code>1001</code></td></tr><tr><td><code>Glow</code></td><td>Make item glow with enchantment effect.</td><td><code>false</code>, <code>true</code></td></tr><tr><td><code>Flags</code></td><td>ItemFlags to apply. Use <code>[*]</code> to hide all flags.</td><td><code>["HIDE_ATTRIBUTES"]</code>, <code>["*"]</code></td></tr><tr><td><code>HideTooltip</code></td><td>Hide item tooltip (1.20.6+).</td><td><code>false</code>, <code>true</code></td></tr><tr><td><code>ItemModel</code></td><td>Namespaced key for custom item models (1.21+).</td><td>minecraft:custom_sword</td></tr><tr><td><code>TooltipStyle</code></td><td>Namespaced key for tooltip styles (1.21+).</td><td>minecraft:custom_style</td></tr><tr><td><code>Enable</code></td><td>Enable/disable the button.</td><td><code>false</code>, <code>true</code></td></tr><tr><td><code>Commands</code></td><td>A list of commands will run when you click the button,</td><td><code>["weather clear"]</code></td></tr><tr><td><code>Clickable</code></td><td>Disable button interaction.</td><td><code>false</code>, <code>true</code></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.hyronic.dev/plugins/mcmmogui/gui-customization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
