You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `itemsadder` | ItemsAdder custom item ID (e.g. `iasurvival:ruby`). Requires the ItemsAdder plugin. |
117
119
| `description` | Lore lines shown under the button name. Supports `&` color codes, multi-line `\|`, PlaceholderAPI `%placeholders%`, and `[gamemode]`. |
118
-
| `command` | Command run when the button is clicked. Supports placeholders (see below). |
120
+
| `command` | Command run on **left-click** (and any click with no specific override). Supports placeholders. |
121
+
| `right_click_command` | Command run on **right-click** or **shift+right-click**. Falls back to `command` if omitted. |
122
+
| `shift_click_command` | Command run on **shift+left-click**. Falls back to `command` if omitted. |
123
+
124
+
### Click type summary
125
+
126
+
| Click | Command used |
127
+
|---|---|
128
+
| Left click | `command` |
129
+
| Right click | `right_click_command` → `command` |
130
+
| Shift + Right click | `right_click_command` → `command` |
131
+
| Shift + Left click | `shift_click_command` → `command` |
132
+
| Any other click | `command` |
119
133
120
134
### Command placeholders
121
135
@@ -160,9 +174,13 @@ panel-list:
160
174
name: '&a&l 🏝 Go to Island'
161
175
icon: minecraft:grass_block
162
176
description: |-
163
-
&7 Teleport to your island.
177
+
&7 Left-click: teleport to your island.
178
+
&7 Right-click: go to your island nether.
179
+
&7 Shift+click: set your home here.
164
180
&7 Island level: &e%Level_[gamemode]_island_level%
165
181
command: '[label] go'
182
+
right_click_command: '[label] go nether'
183
+
shift_click_command: '[label] sethome'
166
184
167
185
10:
168
186
name: '&e&l 🏠 Set Home'
@@ -369,6 +387,7 @@ panel-list:
369
387
370
388
## 💡 Tips
371
389
390
+
- **Alternative clicks** — add `right_click_command` and/or `shift_click_command` to a button to run different commands on right-click and shift+left-click. Omitting them falls back to `command`.
372
391
- **Slot layout** — a standard chest row is slots 0–8. A 6-row chest (the max) uses slots 0–53.
373
392
- **Slot ranges** — use `"0-8"` (quoted) to place the same button across a range of slots. Great for border decorations.
374
393
- **Blank buttons** — set `command: ''` and `name: ' '` to create a visual spacer or border.
0 commit comments