Options
Looking into Options.yml
Season duration
Range of days, while module is active.
Before and after this season, players won't be able to interact with Figure.
Sound
Sounds make the game more attractive. Currently played at various situations while interacting with figure.
Actions, when the Sounds are played.
Consume - Sound played when the player hands over the item.
Claim - Sound played to player when he claims the reward.
List of latest sounds are available at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
Reward
Choice Types:
QUICK_ALL
- All assigned rewards are given to playerQUICK_CHANCE
- One reward is selected from assigned list by probability
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!
PlayTime Restriction
To prevent abuse from fake accounts opening windows or to enhance the gameplay experience, you can require players to spend a specified amount of time on your server before being able to leave cleaned shoes at St. Nicholas.
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 leave cleaned shoes at St. Nicholas.
Today
- Today's time spent on the server. Probably most usedExample: Player has to play for at least 30 Minutes that day to be able to leave cleaned shoes at St. Nicholas.
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 leave cleaned shoes at St. Nicholas.
To disable PlayTime Restriction, keep all values to 0
.
Consumer
List of items that figure accept
Visual
Section represents components displayed at chat, boss bars and titles.
Boss Bar
Players are able to see current information about upcoming event.
Available colors
PINK
, BLUE
, RED
, GREEN
, YELLOW
, PURPLE
, WHITE
Available styles
SOLID
, SEGMENTED_6
, SEGMENTED_10
, SEGMENTED_12
, SEGMENTED_20
Information intervals
Information can be displayed in specified intervals and these itervals are mainly associtated with BossBar.
Imagine interval in math, but reversed because of countdown which is decresing.
If we want to display BossBar since 30 seconds to 10 seconds, we use interval 30:11
(FROM:TO+1
). Plus 1 because of we want to hide BossBar in 10 seconds. (If we keep 10 seconds in the interval, BossBar will be hidden in 9 seconds.)
Restriction
You can disable performing some actions while using the resource.
If you want to allow all worlds, you need to set Empty Collections([]
) here!
Figure (Assistant)
St. Nicholas cannot be everywhere, so you have to invite Assistant, who helps him to collect items. Assistant also displays current status of the season.
System offers pre-defined Armor Stand, with clothes and head. All values can be changed in the configuration file. System also supports NPC, you can aslo equip it with armor or items.
Warning at placing the Figure. Assistant copies your locations and also facing direction!
To place Assistant type: /SaintNicholas Figure Place
If you have own Armor Stand, you can link it with Advent Figure. It only creates Holograms above the Armor Stand.
To link Assistant with the nearest Armor Stand in your range type: /SaintNicholas Figure Link
Mode
List of modes mentioned above:
NONE
ARMOR_STAND
PLAYER
HOLOGRAM
Particle
Particles are spawning around the spawned Figure. You can keep them active or disable them. Also you can change Effect, Color, Speed and Amount.
Last updated