Calendar
The Core file of the plugin!
There is expected that rewards are created, yet! To create rewards, check this tutorial: How to create Reward
Reward assignment
Again, there are two options how to assign them. By in-game UI or Manually in the confiuration file.
Using in-game Reward UI
To open GUI type /AdventCalendar Settings
Manually in the file
Configuration file Calendar.yml
is located at main folder of Advent Calendar.
Template of the CalendarUnit
Type
Defines type of CalendarUnit
Allowed types:
WINDOW
BENEFIT
Day
Assigns day with window
Slot
Defines, where the window is located in Calendar GUI.
At RANDOM
WindowOrderingType(See Options.yml, GUI section), these slots are also used, but random assigned to days.
Reward
Choice Types:
QUICK__ALL
- All assigned rewards are given to playerQUICK__CHANCE
- One reward is selected from assigned list by probabilityLUCKY_WHEEL
- After click, new GUI will be opened. There, random reward from list selected for that day will be claimed. It is the same option asQUICK__CHANCE
, but here is an animation
Example for probability. DiamondTools
has 90% chance, MoneyPocket
has 10% chance to win.
Summary of probability at assinged rewards has to be 100.0! Otherwise, system won't work correctly!
Grinch
Set the probability of the Grinch swiping a present.
Plugin Grinch must be installed on the server!
Icon
This icon is optional and it's used at Locked windows.
I personally recommend to setup this icon through in-game GUI. It's much simple.
Benefit
By claiming all windows, player are able to claim one extra gift. SetUp is the same as above. Just Day and Slot are ignored, and type is required to change to BENEFIT
Last updated