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.
To override Default PlayTime Restriction, you need to specify values in this confiugration file.
Example As default, player has to play at least 30 Minutes that day, but I want that in 24th of December, player has to play at least 60 Minutes.
Types of Restriction:
Total
- Total time spent on the server.
Example: Player has to play for at least 5 Days(7200 Minutes) to be able to open a window.
Today
- Today's time spent on the server. Probably most used
Example: Player has to play for at least 30 Minutes that day to be able to open a window.
Session
- Time spent on the server since player logged in.
Example: Player has to be online for at least 30 Minutes to be able to open a window.
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