Layouts
Last updated
Last updated
Here you can find some ready-made designs that you can use in your configuration.
In this guide, you'll learn how to configure rewards for the PlayTime (time played) and Streak (login streak) menus within the TheRewards plugin.
Set up visual and interactive rewards for players based on:
Time connected to the server (PlayTime)
Daily login streak (Streak)
Rewards are defined inside the layouts.yml
file, specifically in the sections:
inventories.streak.rewards.days
inventories.playtime.rewards.times
day
: Streak day number.
actions
: List of commands or messages to execute upon claiming.
requirements
: Optional conditions using placeholders.
You can omit the requirements
section if no extra conditions are needed.
play-minutes
: Number of minutes required to claim the reward.
actions
: List of commands and messages to execute.
requirements
: Optional conditions using placeholders.
You can add as many reward blocks as you like—just make sure play-minutes
is an integer greater than the previous one.
Items in the menu are auto-generated, but you can customize their appearance from:
items.available
items.waiting
items.claimed
items.unavailable
In those sections, you can modify:
material
display_name
lore
model_data
Custom textures using basehead-<encoded_value>
[command]
: Runs a command (you can use {player}
for the player's name).
[message]
: Sends a message to the player.
[openmenu]
: Opens another TheRewards menu.
[close]
: Closes the menu.
ℹ️ More info: See the "" section on the wiki.
ℹ️ More info: See the "" section on the wiki.