Christmas Present
Manual to Christmas Presents.
How to create Christmas Present
There are two options how to create ChristmasPresent. By in-game UI or Manually in the confiuration file. Both have some restrictions, so if you want use some advanced methods you will need to use combination of them.
Using in-game UI
I recommend to watch SettingUp Tutorial to ScavengerHunt.
To open SetUp UI type /ScavengerHunt SetUp
To open Settings UI type /ScavengerHunt Settings
Manually in the file
Configuration file ChristmasPresent.yml
is located at main folder of ScavengerHunt plugin.
Template for the one Christmas Present
Explanation of variables
Name, Description and Hint support multi-localization
Rarity
Rarity is not recommended to use, but you can differ what present has higher value. Also you can create requirements using Rarity. (E.g. Collect 3 EPIC Presents.)
If you want to change rarity names of create more/less rarities. Edit CustomValue.yml
, GUI.yml
and Localization
file.
Icon
Setting up icon is recommended through in-game UI. It is used at Album, Locations and Admin UI for better recognition between each other presents.
Condition
To increase rarity and also activity on your server, you can place a condition when is able to find Christmas Present. Players have to visit server and find egg in specified date-time range. Before and after this range, Present won't be able to find.
Requirements
Before finding that present, player has to meet requirements. If player meets requiremenets, present is spawned at location. You can combine these three requirements as you wish.
Examples:
Player has to find specified Egg.
Player has to find at least one Present.
Player has to find at least 2 presents from COMMON rarity and one EPIC.
VisibilityZone
How near(in blocks) has to be player to spawn present.
Particle
Particles are spawning around the spawned Christmas Present. You can keep them active or disable them. Also you can change Effect, Color, Speed and Amount.
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!
Testing the Christmas Present
At detail of the Christmas Present, at bottom of the UI, there is a Redstone Dust
. By clicking on it, you can test the claiming. All Rewards assigned to this present will be given to you. (No Database query/update will be executed.)
Available through Settings and Christmas Present Repository.
Finally
After successful setting up of the presents, you need to reload the plugin to load new rewards.
To reload the whole plugin type /ScavengerHunt Reload
Last updated