XaGui Docs

XaGUI 1.6.1

Build inventory GUIs for Bukkit, Spigot, Paper, and Folia plugins.

XaGUI is a Java library for building chest-style Minecraft inventory menus. It handles inventory creation, locked slots, button callbacks, multiple pages, navigation, and menu lifecycle events.

These docs target XaGUI 1.6.1. The examples use Java and Bukkit/Paper types, but the core artifact remains Java 8 compatible.

Start here

The four main types

TypePurpose
XaGuiLibrary entry point. Create one instance when your plugin enables.
GuiMenuInterface / GuiMenuA menu: title, rows, pages, slots, and lifecycle handlers.
GuiButtonAn item plus optional name, lore, sound, click callback, or redirect.
VirtualMenu<T>A reusable menu class whose build(T context) method fills the GUI from data.

Menu slots are locked by default, & color codes work in titles and item text, and pages and slots use zero-based indexes in method calls.

Continue with Quick start.

On this page