This is a simple Server Menu plugin that adds a custom Server Menu button directly to the ESC (Game) menu.
⚙️ Configuration
- Open your server files.
- Open the
pluginsfolder. - Open the
ServerMenufolder. - Choose how you want to set up your menu:
menu.yml: Open this file to add standard buttons to the menu.Dialogfolder (Optional): Add dialog files here to create menus with more advanced features.
- Follow the
menu.ymlstructure below:title:"(title name)"— Sets the title of the menu.columns:(number)— Sets the number of columns in the menu layout.buttons: — List of buttons to display:label:"(button name)"— The text displayed on the button.icon:"(icon sprite)"— The icon displayed on the button.command:"(your /command)"(Optional) — Runs a command when clicked.open:"(dialog menu file name)"(Optional) — Opens a custom dialog menu.
Example menu.yml
title: "Server Menu"
columns: 2
buttons:
- label: "Shop"
icon: "sprite:block/emerald_block"
command: "/shop"
- label: "Spawn"
icon: "sprite:item/compass"
command: "/spawn"