Rewards and Seasons
Rewards and Seasonsβ
The Dailyrewards Skript offers two different options for implementing seasons: looped seasons and custom seasons. Here is what each of these options mean:
Looped Seasonsβ
Looped seasons will randomly generate new rewards each season. You can customize rewards the script will pick from.
Custom Seasonsβ
Custom seasons, on the other hand, allow you to customize each season individually. You can choose to generate new rewards random for each season, or you can configure the rewards manually.
No Seasonsβ
You can also use the Dailyrewards without seasons, in this case, the rewards will remain the same until they are changed in the config file.
Configuring Seasons in the Config File
-- Season-System --
-- Visit our documentation for more information: https://docs.sky-systems.net/docs/scripts/dailyrewards/rewards-and-seasons
Config.seasons = {
enabled = true, -- use seasons
seasonLength = 60, -- length of a season in days
},
Here you can choose to enable seasons (enabled = true
) and define the length of a season in days (seasonLength = 60
).
Configuring Rewards
Next, let's configure the rewards. You can specify rewards for looped and custom seasons using Config.dailyRewards
and Config.randomizedDailyRewards
, respectively.
For custom seasons, you can configure each season's rewards individually.
Config.dailyRewards = {
[1] = { -- season one
[1] = { -- first reward
-- ...
},
},
[2] = { -- second season, add as many you want
-- Add rewards here as above
}
},
For looped seasons, set the Config.randomizedDailyRewards.enabled
key to true
and define the pool of rewards to pick from. The sum of all chances should be 100
randomizedDailyRewards = {
enabled = false, -- use randomized rewards, the rewards table above will be ignored
rewards = {
{
chance = 30, -- chance to get this reward (1-100)
-- ...
},
-- Add more rewards as above
}
},
Reward Propertiesβ
Check this page Reward configuration