Skip to content

AhmadNasser04/InvUI-PacketEvents

 
 

Repository files navigation

Logo

Stars GitHub issues License

InvUI

An Inventory GUI library for Minecraft Paper servers.

Highlighted features:

  • Supports most inventory types: Chest, Anvil, Brewer, Cartography, Crafter, Crafting, Furnace, Grindstone, Merchant, Smithing, Stonecutter
  • Different Gui types: Normal, Paged, Tab, Scroll
  • Gui-embeddable inventories with a powerful event system (e.g. only allow input for certain item types, customize maximum stack size per slot, etc.)
  • First-class MiniMessage support
  • Easy localization of UI items using the built-in ItemBuilder

Check out the InvUI Documentation to learn more.
If you have any questions, feel free to join the Discord or ask them in GitHub Discussions.

Version Compatibility

This fork of InvUI replaces the upstream's NMS-based menu implementation with PacketEvents so a single jar runs across supported Minecraft versions without per-version compilation.

Runtime requirements

  • Paper 1.21.0+
  • PacketEvents 2.12.0+

Maven

<repository>
    <id>xenondevs</id>
    <url>https://repo.xenondevs.xyz/releases</url>
</repository>
<dependency>
    <groupId>xyz.xenondevs.invui</groupId>
    <artifactId>invui</artifactId>
    <version>VERSION</version>
</dependency>

Check out the InvUI documentation for more information.

Examples

These examples are taken from the documentation linked above. To keep the code examples there short, button names are often omitted.

About

A paper library for creating custom inventory-based GUIs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 85.9%
  • Kotlin 14.1%