Calendar
The Core file of the plugin!
Last updated
The Core file of the plugin!
Last updated
There is expected that rewards are created, yet! To create rewards, check this tutorial: How to create Reward
Again, there are two options how to assign them. By in-game UI or Manually in the confiuration file.
To open GUI type /AdventCalendar Settings
Configuration file Calendar.yml
is located at main folder of Advent Calendar.
Defines type of CalendarUnit
Allowed types:
WINDOW
BENEFIT
Assigns day with window
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.
Choice Types:
QUICK__ALL
- All assigned rewards are given to player
QUICK__CHANCE
- One reward is selected from assigned list by probability
LUCKY_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 as QUICK__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!
Set the probability of the Grinch swiping a present.
Plugin Grinch must be installed on the server!
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.
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