Documentation and Installation
- Please visit the project repository ( https://github.com/cjcameron92/Menu)
Example Usage
public class Main extends JavaPlugin {
@Override public void onEnable() {
Menu menu = new MenuBuilder(27, "Example", this)
.set(13, new ItemStack(Material.PLAYER_HEAD, 1), (player, itemStack) -> player.sendMessage(ChatColor.GREEN + itemStack.getType().name()))
.fillEmpty(new ItemStack(Material.BLACK_STAINED_GLASS, 1))
.close(event -> event.getPlayer().sendMessage(ChatColor.GREEN + "You have closed the menu!"))
.create();
menu.open(player);
}
}Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta