InterfaceMaker is a modern plugin to handle and customize join items, hotbars and menus with a developer friendly API.
-
Simple to understand configuration for server administrator.
-
Complex but easy to use API to simplify item handling for inventories and hotbars on custom plugins like Minigames or Lobby/Hub Cores.
-
HEX Support for everything to achieve a beautiful server design.
-
Fast operations to achieve good performance results.
You can get a copy of InterfaceMaker on MC-Market.
Clone this repository, run mvn package
and get the binaries from ./target/
folder.
Create a new menu new InterfaceMenu()
create items new InterfaceItem()
set them menu.setItem(Integer, InterfaceItem)
and build it menu.build(Player)
.
Menus can be extended and use the onBuild(MenuBuildContext)
event. Items can be extended to use the onInteract(Player)
and onClick(Player, Inventory)
events.
Create a new hotbar new InterfaceHotbar()
create items new InterfaceItem()
set them hotbar.setItem(slot, item)
and build it hotbar.build(player)
.