HomeJavaModsMenuFramework (not maintained)
MenuFramework (not maintained)
! not a stand alone plugin !

2022-05-08-12-09-15.gif

Menu Framework


This MenuFramework library allows to simply create inventory interfaces. This includes menus in the player inventory, menus in all kinds of top inventories (Chest, Hopper, Furnace, Anvil, ...) and Trader Menus.​




Requirements:

Requirements when used with Maven:

Features

Checkout the README or this pom.xml and its parent pom.xml for help.


Spoiler: Examples
Example code for a menu to teleport to online players:
Code (Java):
        Player player = (Player ) commandSender ;
        ListMenu menu = new ListMenu ( Component. text ( "Teleport to:" ), 3 ) ;
        menu. addPreset (MenuPresets. paginationRow ( 3, 0, 1, false, Action. LEFT ) )
        for (Player target : Bukkit. getOnlinePlayers ( ) ) {
            menu. addListEntry ( Button. builder ( )
                    . withItemStack (ItemStackUtils. createCustomHead (target ) )
                    . withClickHandler ( Action. LEFT, clickContext -> {
                        player. teleport (target ) ;
                    } ) ) ;
        }
        menu. open (player ) ;
Example from my own Server, in combination with resource pack:
2022-05-05_16.41.31.png

Example of a menu from a shop plugin i currently make.
The player inventory is filled with a navigation menu that modifies the top inventory. Again, a resource pack was used.

2022-05-05_08.30.01.png

Documentation and a guide on how to install and use the framework can be found here:
https://github.com/CubBossa/MenuFramework

This is my first published resource and I appreciate feedback and advice! :D

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

MenuFramework (not maintained) is a free Minecraft Java mod. Compatible with Minecraft 1.17, 1.18. Downloaded 429 times (via Spigot). Download it and open it directly in the game.

Explore more