Skip to content

Configuration

natan307 edited this page Nov 20, 2026 · 4 revisions

Configuration

File: plugins/CrossUI/config.yml. Run /crossui reload after editing.

Options

Key Default Description
debug false Prints extra console output about intercepted menus.
bedrock.convert-chest-guis true Converts chest GUIs of other plugins into Bedrock forms.
bedrock.title-blacklist Roulette, Spinning, Crate Opening Menus whose title matches are never converted. Plain entries are a case-insensitive "contains" match. Prefix with regex: for a regular expression.
bedrock.whitelist-mode false Converts only menus that match title-whitelist.
bedrock.title-whitelist [] Titles to convert when whitelist mode is on.
bedrock.decoration-materials glass panes, iron bars, chain, barrier Items of these materials with a blank name count as decoration and are removed. * is a wildcard.
bedrock.include-unnamed-items true Turns items without a custom name into buttons, using the material name.
bedrock.icons true Shows a picture next to every button of a converted menu.
bedrock.icon-url-template "" Load pictures from your own host instead; %material% is the lowercase Java item id
bedrock.icon-pack-url GitHub icons/ folder Web folder with the item pictures (icons/ in the repository). "" uses the plain textures of the Bedrock client.
bedrock.head-url-template https://mc-heads.net/head/%value% Picture of player heads with a skin. %value% is the skin texture hash or owner UUID. "" turns it off.
bedrock.icon-exclude [] Item ids without a picture; *_slab matches every id ending in _slab, an empty list shows all.
bedrock.icon-overrides {} Set the picture of single items: a Bedrock texture path or a full URL
bedrock.show-lore-in-button true Shows the first lore line under the button text.
bedrock.lore-max-length 40 Maximum length of that lore line.
bedrock.keep-colors false Keeps color codes in button text. RGB colors are reduced to the nearest basic color.
bedrock.form-content "" Text shown above the buttons of a converted menu.
bedrock.dual-click.left-keywords left-click, left click, lmb Lore keywords that mark a left-click action.
bedrock.dual-click.right-keywords right-click, right click, rmb Lore keywords that mark a right-click action. When both are present on one item, the player is asked which action to run.
bedrock.refresh-delay-ticks 4 Delay before the form is rebuilt after a click.
bedrock.fallback-to-chest-when-empty true Shows the menu normally when it has no usable buttons.
java.native-dialogs true Uses native dialogs for Java 1.21.6+ clients.
messages.* Every player-facing text, including the /crossui testgui strings.

Item pictures

Bedrock forms cannot show 3D inventory icons, so CrossUI ships a picture pack: the icons/ folder of the repository, one transparent PNG per item (about 1,470 items). The transparent margin keeps neighbouring buttons from merging.

  • The player's client downloads the pictures from bedrock.icon-pack-url, so they appear a moment after the menu opens and need internet access. The pictures are not inside the jar.
  • Use bedrock.icon-pack-url: "" for instant plain textures from the Bedrock client. They are flat and have no margin.
  • Host the folder yourself, or use a CDN such as https://cdn.jsdelivr.net/gh/natan307/CrossUI@main/icons/, and set bedrock.icon-pack-url.
  • Player heads show their own skin. bedrock.head-url-template builds the address from the skin texture hash (or the owner UUID). This also works for basehead- heads of other plugins. Set it to "" to turn it off.
  • Use bedrock.icon-overrides to change single items, for example diamond_sword: "https://example.com/sword.png". A value is a full URL or a Bedrock texture path such as textures/items/diamond_sword.
  • Use bedrock.icon-exclude to hide the picture of some items, for example ["*_slab", "*_stairs"].
  • Items without a picture (for example the dragon head) get no image.
  • An existing config.yml is not updated. Delete it or add the new keys by hand after updating to 2.0.0.

The pack is generated by the scripts in the tools/ folder from the official bedrock-samples textures.

Tips

  • Put fast or animated menus (crates, roulettes, loading screens) in title-blacklist. Converting a menu that changes many times per second makes the form flicker.
  • Set include-unnamed-items to false only if you want plain vanilla items without a custom name to be hidden from converted menus.
  • Use debug: true together with /crossui reload when you need to see why a menu was or was not converted.

Clone this wiki locally