Repository navigation
1.6
BMenu 1.6
New Commands
[ANIMATION_FORCE_END]- Instantly ends the current animation.[ANIMATION_TICK]- Forces an animation tick.[FLUSH]- Synchronizes the menu with the player.[SET_ITEM] <slots> <item>- Inserts the specified item into the specified slot.[COPY_FROM_PREVIOUS_MENU] <slots from> <slots to>- Copies items from the specified slots of the previous menu.
New Animation Opcodes
copy-from-base- Copies items from the base layer to the animation layer. Alias:cfb.set-if-empty- Sets an item in a slot if it's empty. Alias:sie.
Changes & Improvements
- The
[SET_ANIMATION]command will now instantly finish the current animation before starting a new one. - The
math[]placeholder now rounds results to two decimal places. - All commands can now be written in lowercase.
Experimental Features
- The plugin will now automatically add the
static: trueparameter to items. - Added caching when creating items, which should reduce load.
Hot Config Reload (Experimental)
Hot config reloading has been introduced as an experiment.
- The plugin will automatically detect file changes and reload configs.
- If a menu is open during the reload, it will automatically reopen.
- To enable hot reloading, add
hot-reload: trueto the config.