#Basic configconfig:#Chance to drop a gift - mobdropchance/maxdropchance#At this example 1/1000mobdropchance:1#Chance to drop a giftmaxdropchance:1000#Max chance#List of gifts#The max chance is determinated by the sum of all gift chances#So the chance of each gift is chance/sumOfAllGiftChances#At this example testgift have 20/25 to get selected at the random#and testgift2 have 5/25.gifts:#KeyName of the gifttestgift:#Name of the giftname:'&aChristmastgift#1'#ID of the giftid:54#Chance to drop this giftchance:20#Lores of the giftlores:-'&2&lChristmastlowestgift'-'&2&lChancetowin:'-'&2&lDiamonds,Money,etc'-'&o&9PressRightButtomtoopenthegift!'#What drops can be randomized from this gift#We will config drops belowdrops:-testtestgift2:name:'&1Christmastgift#2'id:54chance:5lores:-'&2&lChristmastnormalgift'-'&2&lChancetowin:'-'&2&lDiamonds,Money,etc'-'&o&9PressRightButtomtoopenthegift!'drops:-test-trolltest-testbetter#Commands packs#Chance of each pack works at the same way of the chance of each gift#The chance of each command is chance/sumOfAllGiftCommands#For Gift testgift2 test package have 10/26, trolltest package 15/26 and testbetter 1/26#For gift testgift test package have the 100% of chance to get selectedcommands:#keyname of command packtest:#chance to select this command pack at randomschance:10#List of commands executed if this pack is selected#%player% → player who right click the giftcommands:-eco give %player% 1-give %player% 264 1-bc Happy christmas %player%, enjoy 1$ and 1 diamond!trolltest:chance:15commands:-bc Happy christmas %player%!! Oooh NOO! Your gift was empty :( ...testbetter:chance:1commands:-eco give %player% 10-give %player% 264 100-bc Happy christmas %player%, enjoy 100$ and 10 diamond!