Skip to main content

Materials Menu

menu/Materials.yml controls the reward material selector.

Layout

title: "<dark_gray>Materials</dark_gray>"
rows: 6

The bundled menu uses pagination, a player summary, a close button, a back button, and a reset-to-default button.

Reset button

items:
materials:
ifSelected:
actions:
any:
- '[FIOPLAYTIME] ClearSelectedMaterials'
ifNotSelected:
actions:
any:
- '[NONE]'

When the player has selected a custom material pack, this button clears the selection.

Content slots

materials:
content-slot:
- '11-15'
- '20-24'
- '29-33'
- '38-42'

Entries are generated from materials.yml.

Material status styles

materials:
status:
noPermission: {}
hasPermission: {}
hasSelected: {}
StatusMeaning
noPermissionPlayer cannot select this pack.
hasPermissionPlayer can select this pack.
hasSelectedPlayer currently uses this pack.

Material actions

ActionDescription
[FIOPLAYTIME] SelectMaterials %id%Select the material pack.
[FIOPLAYTIME] ClearSelectedMaterialsReturn to the default pack.
[FIOPLAYTIME] PreviewMaterials %id%Preview the pack with animation behavior.
[MESSAGE] [message]Send feedback.
[SOUND] [sound] [volume] [pitch]Play feedback sound.

Cooldown

settings:
cooldown: 30s

The bundled menu uses this under each material status to limit right-click preview spam.

Page note

The menu display comes from Materials.yml; the actual available packs and their item colors come from materials.yml.