🚀 Quick Start¶
This guide will help you quickly install and configure the KaMenu plugin.
🎮 System Requirements¶
| Item | Details |
|---|---|
| Minecraft Version | 1.21.7+ |
| Java Version | Java 21+ |
| Server Type | Paper, Folia, and forks with a compatible Paper Dialog API |
| Database | SQLite (default), MySQL 5.7+ |
信息
Version Feature Support:
- ✅ Paper 1.21.7+: Full basic functionality
- ✨ Paper 1.21.8+: Recommended — more stable API
- 🎨 Paper 1.21.9+: Full features (sprite item icons, player head avatars, and more)
- ⚡ Folia 1.21.7+: Region-threaded scheduling support; use a current build matching the target Minecraft version
信息
Folia compatibility: KaMenu detects Folia automatically and schedules player menus, wait, Events.Tasks, JavaScript delay(), and menu API calls on the appropriate player or global scheduler. Custom JavaScript, external action handlers, PlaceholderAPI expansions, and commands from other plugins invoked through console: must also be Folia-compatible.
警告
KaMenu depends on the Paper Dialog API and does not support:
- Paper 1.21.6 or below (API not fully implemented)
- Spigot, CraftBukkit, or other non-Paper server software
Make sure the server is based on Paper/Folia 1.21.7 or newer and provides the matching Dialog API.
📥 Installation¶
1. Download the Plugin¶
Build from source on GitHub:
GitHub - Katacr/KaMenugithub.com/Katacr/KaMenu/releases
Or download from these plugin distribution platforms:
SpigotMC 插件页面spigotmc.org/resources/133736/
MineBBS 插件页面minebbs.com/resources/15814/
2. Install Optional Dependencies¶
All KaMenu features work standalone — no hard dependencies. The following are optional:
Optional Dependencies:
- PlaceholderAPI — Use
%variable%PAPI placeholders in menus - Vault — Economy integration (if you need to manipulate player balances in actions)
3. Install the Plugin¶
- Place the downloaded KaMenu
.jarfile into your server'spluginsfolder - Start the server
- The plugin will automatically:
- Create the
plugins/KaMenu/configuration directory - Generate the default
config.yml - Initialize the database (SQLite by default)
- Create the
信息
For first-time setup, run /kamenu guide (or /km guide) in game to open the getting started guide. The guide menu is loaded directly from inside the plugin jar into memory and is not written to the menus directory.
4. Open the Getting Started Guide¶
After the server starts, a player with the kamenu.admin permission can run:
The guide helps you set the plugin language and release sample menus for the selected language. Sample menus are written to:
You can also release sample menus directly with commands:
# Release examples using the current plugin language
/kamenu examples
# Release Chinese examples
/kamenu examples zh_CN
# Release English examples
/kamenu examples en_US
信息
When no menus are loaded and an OP player joins the server, KaMenu sends a clickable guide prompt to make first-time setup easier.
🧪 Verify Installation¶
After starting the server, the console should show the KaMenu startup banner, including the version, database type, and number of loaded menus.
You can also verify in-game with:
If the guide opens, the installation is working correctly. After releasing the examples, you can also run /km open example/actions_demo to open the actions demo menu.
🔄 Hot Reload¶
After modifying configuration or menu files, reload without restarting the server. If no target is provided, all modules are reloaded:
Common targeted reloads:
/km reload menu # Reload menus only
/km reload config # Reload config.yml, language files, and custom commands
/km reload actions # Reload global action packages only
/km reload js # Reload global JavaScript packages only
/km reload lang # Reload the current language file only
Requires the kamenu.admin permission.