LevelsRM includes one customizable GUI that can be fully configured.
GUI Configuration Structure
GUIs are configured using a flexible system that supports custom layouts, items, and actions.
Basic GUI Settings
# ───────────────────────────────────────────────
# Revive UI Configuration
#
# Here you can fully configure the Revive UI.
# You can change the title, size, layout, etc.
#
# For slots, you can either do:
# slot: 0 # For a specific slot
# slots: [0, 1, 2] # For multiple slots
# slots: 1-9 # For a range of slots (1 to 9)
#
# Any empty slots will be filled with revive
# entries.
# ───────────────────────────────────────────────
title: "&8Revive {page}/{max-pages}" # Title of the GUI, supports legacy color codes and hex colors
gui-size: 54 # Size of the GUI (must be a multiple of 9, e.g., 27, 36, 45, 54)
Item Configuration
items:
next-page:
slot: 51 # Slot for the next page item
type: SPECTRAL_ARROW # Type of the item, can be any valid Material
name: "&aNext Page" # Name of the item, supports legacy color codes and hex colors
lore:
- "&fClick to go to the next page"
action: NEXT_PAGE
previous-page:
slot: 47
type: ARROW
name: "&cPrevious Page"
lore:
- "&fClick to go to the previous page"
action: PREVIOUS_PAGE
filler:
slots: 45-53
type: BLACK_STAINED_GLASS_PANE
name: "&8"
action: FILLER
Dynamic Entries
revive-entry:
name: "&a{player}"
lore:
- "&fClick to revive &a{player}"
Slot Configuration
You can configure slots in several ways:
- Single slot:
slot: 0
- Multiple slots:
slots: [0, 1, 2]
- Range of slots:
slots: 1-9
Available Actions
Common GUI actions include:
NEXT_PAGE - Navigate to next page
PREVIOUS_PAGE - Navigate to previous page
FILLER - Fill empty space
CLOSE - Close the GUI
- Custom actions for specific functionality
GUI Sizes
Valid GUI sizes (must be multiples of 9):
9 - 1 row
18 - 2 rows
27 - 3 rows
36 - 4 rows
45 - 5 rows
54 - 6 rows
Color Support
GUIs support both legacy color codes and hex colors:
title: "&8&lCustom GUI" # Legacy color codes
name: "&a&lGreen Item" # Legacy color codes
Available GUIs
LevelsRM currently includes one customizable GUI:
- Revive GUI - For reviving deathbanned players
Example: Custom Revive GUI
title: "&c&lRevive Players"
gui-size: 36
items:
next-page:
slot: 26
type: SPECTRAL_ARROW
name: "&aNext Page"
lore:
- "&fClick to go to the next page"
action: NEXT_PAGE
previous-page:
slot: 18
type: ARROW
name: "&cPrevious Page"
lore:
- "&fClick to go to the previous page"
action: PREVIOUS_PAGE
filler:
slots: 27-35
type: BLACK_STAINED_GLASS_PANE
name: "&8"
action: FILLER
revive-entry:
name: "&a{player}"
lore:
- "&fClick to revive &a{player}"
- "&7Time remaining: &c{time}"
All GUIs are fully customizable. You can modify layouts, colors, items, and actions to match your server’s theme and requirements.