Skip to main content

Materials

materials.yml controls the visual material packs used by generated playtime reward entries.

Settings

settings:
shouldWeAnimate: true
animationCooldown: 10
  • shouldWeAnimate: enables preview animation behavior.
  • animationCooldown: cooldown used by preview animation logic.

Material pack structure

playtime:
materials:
default:
isthisDefault: true
permission: ""
icon:
material: YELLOW_CONCRETE
name: "<yellow>Default</yellow>"
items:
locked:
material: RED_CONCRETE
unlocked:
material: LIME_CONCRETE
onprogress:
material: YELLOW_CONCRETE
unclaimed:
material: YELLOW_CONCRETE
behavior:
glow: true

Keys

KeyDescription
permissionPermission required to select this pack. Leave empty for the default pack.
isthisDefaultMarks the fallback/default pack.
iconItem shown in the material selector menu.
items.lockedMaterial used for locked reward tiers.
items.unlockedMaterial used for claimed tiers.
items.onprogressMaterial used for the currently progressing tier.
items.unclaimedMaterial used for claimable tiers.
behavior.glowAdds a glow effect for supported states.

Bundled material packs

The bundled materials.yml includes:

  • default
  • glass
  • concrete
  • wool
  • terracotta
  • dye
  • banner
  • carpet
  • glazed
  • shulker
  • ore
  • gem

Permission example

playtime:
materials:
glass:
permission: fioplaytime.material.glass

Players without the permission can still preview the pack if the menu status action allows previewing, but they cannot select it.

Page note

The material selector menu reads these entries dynamically, so adding a new pack here makes it available in Materials.yml pagination.