You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Daily rewards feature will provide players with daily rewards. This rewards can be vary with
permission.
Precise description
Player flow
First encounter
Player enters the server. He receives notification "You have unclaimed rewards. Use /rewards" if
there's any reward for him.
Using command
Player uses /rewards and see in gui list of available rewards. He clicks some category.
Now category of reward with all available rewards is opened. Player see first available reward and
others as not available yet.
He clicks first reward. He receives all available rewards. If there's no room in inventory - the
items will be dropped. The gui now is updated and he sees current reward as claimed and others as
unavailable.
Claiming all rewards
When player claimed all rewards, the progress should be reset somehow so player can claim first-day
reward again.
Storage
All the information is stored on SQL database.
H2 Is default
MySQL
Configuration
# Configuration defined in rewards/config.ymldatabase:
# Use MySqltype: MySqlhost: 0.0.0.0port: 25565user: userpassword: passwordname: DATABASE_NAME# Use H2type: H2categories:
rewards_default_player:
id: "default"# Cooldown in seconds# Consider cooldown shouldn't be 24 hours. It should be ~16-18cooldown: 86400# 24h# Display reward category in rewards guidisplay:
type: MATERIALmaterial: WHEATname: "Default player reward"# This item will be placed when reward not yet availablenext:
type: MATERIALmaterial: BARRIERname: "This item will be available soon"# This will be placed when reward already claimedclaimed:
type: MATERIALmaterial: BARRIERname: "This item already claimed"lore:
- "You already claimed this item"
- "You will be available to get this items after all rewards claimed"# There will be placed rewards for current categoryentries:
day_1:
order: 0rewards:
minecraftmaterial:
type: MATERIALmaterial: DIAMONDamount: 10itemsadderitem:
type: ITEMS_ADDERid: namespace:idamount: 2money:
type: MONEY# Nullablecurrency: some_currencyamount: 12.22
Commands
Command
Permission
Description
/reward list
aspekt.reward.all
Open all available rewards
/reward <reward_id>
aspekt.reward.open.<id>
Open rewards gui for <id>
/reward claim <reward_id>
aspekt.reward.claim.<id>
Claim reward <id> without open gui
/reward setday <player> <day>
aspekt.reward.setday
Set specific <day> for <player>
Placeholder
Placeholder
Description
%reward_day_<player>
Current player reward day
%reward_remaining_<player>_<format>
Time until next reward in format HH:MM:ss
The text was updated successfully, but these errors were encountered:
[FEATURE] Daily Rewards
Overview
Daily rewards feature will provide players with daily rewards. This rewards can be vary with
permission.
Precise description
Player flow
First encounter
Player enters the server. He receives notification "You have unclaimed rewards. Use /rewards" if
there's any reward for him.
Using command
Player uses
/rewards
and see in gui list of available rewards. He clicks some category.Now category of reward with all available rewards is opened. Player see first available reward and
others as not available yet.
He clicks first reward. He receives all available rewards. If there's no room in inventory - the
items will be dropped. The gui now is updated and he sees current reward as claimed and others as
unavailable.
Claiming all rewards
When player claimed all rewards, the progress should be reset somehow so player can claim first-day
reward again.
Storage
All the information is stored on SQL database.
H2
Is defaultMySQL
Configuration
Commands
/reward list
aspekt.reward.all
Open all available rewards
/reward <reward_id>
aspekt.reward.open.<id>
Open rewards gui for <id>
/reward claim <reward_id>
aspekt.reward.claim.<id>
Claim reward <id> without open gui
/reward setday <player> <day>
aspekt.reward.setday
Set specific <day> for <player>
Placeholder
%reward_day_<player>
Current player reward day
%reward_remaining_<player>_<format>
Time until next reward in format HH:MM:ss
The text was updated successfully, but these errors were encountered: