What's New in Version 1.1.8
1. New INPUT Action Type
Prompts the player for text input using an Anvil menu. The input can then be used in subsequent commands.
YAML Example:
Code (YAML):
actions:
- input:
title
:
"Enter your name"
command
:
"say hello {text}"
- Placeholder: {text} or {renameText} will be replaced with the user's input.
- Inline Syntax: - input: "Title;command {text}"
- Dynamic Menus: If the title provided doesn't match a predefined menu, Sheets will dynamically create an Anvil menu for the input.
2. Click-Type Specific Actions
Execute different actions based on how a player interacts with a button in a Java GUI.
Supported Types: left, right, shift, middle.
YAML Example:
Code (YAML):
actions:
- left
:
"sheets open example_menu"
- right:
message
:
"You right-clicked this button!"
- shift:
- argument:
sheet_name
:
"%player_name%"
- menu
:
"confirm_delete"
- middle:
input
:
"Rename Item;rename {text}"
3. Chest Edit Mode (Live Editing)
Java players can now edit normal menus visually.
- How to use: Right-click a sheet in the /sheets edit menu, or run /sheets edit <menu> chest.
- Functionality: Drag and drop items in the inventory. Closing the inventory automatically saves the layout as buttons in the YAML file.
4. Menu Templates
Quickly create new sheets using pre-defined templates.
- Templates folder: menus/templates/
- Default templates: basic_gui, simple_inventory, anvil_input.
- Usage: /sheets create <name> <template> or via the graphical template selector.
5. Argument Action
Set local variables/arguments that can be used in subsequent actions or in the next opened menu.
YAML Example:
Code (YAML):
actions:
- argument:
target_player
:
"%player_name%"
custom_value
:
"123"
- menu
:
"another_menu"
# another_menu can now use {target_player} and {custom_value}
6. Anvil Menu Improvements
- Real-time Updates: Anvil menus now refresh every second (20 ticks), allowing placeholders like {text} to update in item names and lore as the player types.
- Auto-Confirm: Integrated support for confirm buttons in slot 2 of Anvil menus.
- Auto-Close: Input menus now automatically close after the confirmation action is executed.
Dynamic Placeholders & Variables
- Sheets Internal Placeholders:
- %sheets_sheet_[index]_name%: Name of the Nth sheet.
- %sheets_sheet_[index]_exists%: Whether the Nth sheet exists.
- %sheets_template_[index]_name%: Name of the Nth template.
Bedrock Images
Updated Material Images
New Commands
- /sheets create <name> [template] - Creates a new sheet.
- /sheets edit [name] [chest] - Opens the editor menu or a specific sheet in chest mode.
- /sheets delete <name> [confirm] - Deletes a sheet.
- /sheets rename <old> <new> - Renames a sheet.
- Added Multiple new menus