Code (YAML):
robots-gui
:
# Number of rows in the GUI (each row has 9 slots, max 6 = 54 slots total).
rows
: 6
# Title of the GUI window (supports color codes).
title
: '&c&lROBOTS'
# Material used to fill empty slots in the GUI for aesthetics.
filler
: BLACK_STAINED_GLASS_PANE
# List of slot indices where robot items will be displayed.
# These must not overlap with control buttons (like next/prev/collect).
robots-slots
:
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 37
- 38
- 39
- 40
- 41
- 42
- 43
# Template for the robot item displayed in the GUI when it can be upgraded.
robot-upgrade-item:
name
: '
%name%' # Display name of the robot item.
lore
:
- ' '
- '&eStatistics'
- '&e&l| &fLevel
:
&e%level%'
- '&e&l| &f
%currency% Per Second: &e%amount%'
- ' '
- '&eNext Upgrade'
- '&e&l| &fLevel
:
&c%level% &f-> &a
%new_level%'
- '&e&l| &f
%currency% Per Second: &c%amount% &f-> &a%new_amount%'
- '&e&l| &fCost
:
&e%cost%'
- ' '
- '&7Click to upgrade'
- '&7Shift-Click to max upgrade'
# Template for robot item when it has reached max level and can't be upgraded.
robot-max-item:
name
: '
%name%' # Display name of the robot item.
lore
:
- ' '
- '&eStatistics'
- '&e&l| &fLevel
:
&e%level%'
- '&e&l| &f
%currency% Per Second: &e%amount%'
- ' '
- '&7This robot is maxed'
# GUI navigation and action items (e.g., page navigation, reward collection).
items:
next-page:
slot
: 52
# Slot index for "Next Page" button.
name
: '&fNext Page'
# Display name for the button.
material
: ARROW
# Minecraft material for the button.
custom_model_data
: 0
# Optional model data for texture packs.
lore
:
- '&7Click to go to next page'
prev-page:
slot
: 46
# Slot index for "Previous Page" button.
name
: '&fPrev Page'
material
: ARROW
custom_model_data
: 0
lore
:
- '&7Click to go back to previous page'
collect:
slot
: 47
# Slot index for the "Collect Rewards" button.
name
: '&a&lCollect Rewards'
material
: EMERALD
custom_model_data
: 0
rewards-format
: '&f
%currency%: &e%amount%' # Format for displaying individual reward lines.
lore
:
- '
%rewards%'
- ' '
- '&7Click to collect'