Skip to main content
Version: 2.1.0

JGuiWrapper

JGuiWrapper is a lightweight and convenient library for creating graphical user interfaces (GUI) in Minecraft plugins on PaperMC 1.16.5+. It allows you to build custom menus and inventories with just a few lines of code — without complex constructs and unnecessary boilerplate.

GitHub Issues License


🔑 Key features

  • 🖼️ Simple API — create menus and elements in just a few lines of code.
  • 🔄 Dynamic GUIs — support for real-time updating of elements.
  • 🎨 Settings — flexible events, click processing, custom actions.
  • 🧩 Modularity — use as:
    • API plugin (connection without shading),
    • Common/NMS library (embedded directly into your plugin).
  • 🚀 Easy integration via Maven/Gradle from the official repository.

Simple GUIAdvanced GUI
Simple guiAdvanced gui

📦 Example of creating a GUI

AdvancedGui gui = new AdvancedGui("&cCustom menu");

gui.registerItem("test", builder -> builder
.slots(0, 1, 2, 3)
Slots operated by the item
.defaultItem(ItemWrapper.builder(Material.DIAMOND)
Standard item for all slots
.displayName("&bDiamond")
.build())
.defaultClickHandler((event, controller) ->
Default click handler for all slots
event.getWhoClicked().sendMessage("Clicked on diamond!"))
);

👥 Who is it for?

  • 🔹 For developers who want to quickly add a menu to their plugin.
  • 🔹 For large projects that require scalable GUI systems.
  • 🔹 For those looking for a ready-made and understandable API instead of reinventing the wheel.