If you have existing SurpriseBags configs, you can copy/paste the following into the respective files to convert them:
Config.yml:
#Doesaplayerhavetokillamobtohaveachanceatabag?require-player-kill:yeah##LootingChanceIncrease#Onlyeffectiveiflooting-sensitiveistrue-thedropratewill#beboostedbythisamountforeveryleveloflooting.looting-effectiveness:0.05##Looting-Increases-Amount#Iftrue,thenLootingwillhaveachancetoincreasetheamountof#bagsdroppedwhenaplayergetsone.looting-increases-amount:no##Messagetotellplayerswhattheygot#%ITEMNAME%-nameofitem,oritemmaterialifunnamed#%ITEM%-itemmaterialopen-message:'The bag contained %ITEMNAME%!'##AnnounceRareLoot#Iftrue,theannounce-rare-loot-messagewillbroadcasteverytime#aplayergetsarewardfromtherare-itemslist.announce-rare-loot:indubitably##RareLootFirework#Iftrue,afireworkwilllaunchattheplayer's location upon#gettingrareloot.rare-loot-firework:k##RareLootSound#Iftrue,the"wither spawn"soundwillplayforeveryone#ifaplayergetsrareloot.rare-loot-sound:true##%PLAYER%-nameofPlayer#%ITEMNAME%-nameofitem,oritemmaterialifunnamed#%ITEM%-itemmaterialannounce-rare-loot-message:'%PLAYER% got lucky and received %ITEMNAME% from a Mystery Bag!'##Whetherornottokeeptrackofhowmanyofeachbageachplayer#hasopened.Datawillbewrittentooutput.ymllog-bags:no##Whetherornottokeeptrackofrarelootplayersget.#Datawillbewrittentooutput.ymllog-rare-loot:no##Itemslistedhereareconsideredrareloot.Theseonlyaffecttherarelootmessage.#Format:#ITEM:#-'If this list isn'tempty,'#-'the item is only rare if item name'#-'is contained within this list.'#-'Use & for color codes.'##Thisitemisalwaysrarenomatterthename:#OTHER_ITEM:[]rare-loot:DIAMOND:[]
Any existing bag files:
##IMPORTANT!!!!!!!!!!!!!!!!!!!!!!!#Change'openmsg'toLISTformat!#Forinstance:##openmsg:#-"&2Hold item and right click to open!"###Whetherthisbagwilltriggerthedropcheck#enabled:false##Sameasdrop-chance,exceptdefinedpermob.#Valueshereoverridethedrop-chanceabove.drop-chance-mobs:-ZOMBIE:0.2