Conversions

If you have existing SurpriseBags configs, you can copy/paste the following into the respective files to convert them:

Config.yml:

# Does a player have to kill a mob to have a chance at a bag?
require-player-kill: yeah

#
# Looting Chance Increase
# Only effective if looting-sensitive is true - the drop rate will
# be boosted by this amount for every level of looting.
looting-effectiveness: 0.05

#
# Looting-Increases-Amount
# If true, then Looting will have a chance to increase the amount of
# bags dropped when a player gets one.
looting-increases-amount: no

#
# Message to tell players what they got
# %ITEMNAME% - name of item, or item material if unnamed
# %ITEM% - item material
open-message: 'The bag contained %ITEMNAME%!'

#
# Announce Rare Loot
# If true, the announce-rare-loot-message will broadcast every time
# a player gets a reward from the rare-items list.
announce-rare-loot: indubitably

#
# Rare Loot Firework
# If true, a firework will launch at the player's location upon
# getting rare loot.
rare-loot-firework: k

#
# Rare Loot Sound
# If true, the "wither spawn" sound will play for everyone
# if a player gets rare loot.
rare-loot-sound: true

#
# %PLAYER% - name of Player
# %ITEMNAME% - name of item, or item material if unnamed
# %ITEM% - item material
announce-rare-loot-message: '%PLAYER% got lucky and received %ITEMNAME% from a Mystery Bag!'

#
# Whether or not to keep track of how many of each bag each player
# has opened. Data will be written to output.yml
log-bags: no

#
# Whether or not to keep track of rare loot players get.
# Data will be written to output.yml
log-rare-loot: no

#
# Items listed here are considered rare loot. These only affect the rare loot message.
# Format:
#   ITEM:
#     - 'If this list isn't empty,'
#     - 'the item is only rare if item name'
#     - 'is contained within this list.'
#     - 'Use & for color codes.'
## This item is always rare no matter the name:
#   OTHER_ITEM: []
rare-loot:
  DIAMOND: []

Any existing bag files:

#
# IMPORTANT!!!!!!!!!!!!!!!!!!!!!!!
# Change 'openmsg' to LIST format!
# For instance:
#
# openmsg:
#  - "&2Hold item and right click to open!"
#

#
# Whether this bag will trigger the drop check
#
enabled: false

#
# Same as drop-chance, except defined per mob.
# Values here override the drop-chance above.
drop-chance-mobs:
  - ZOMBIE: 0.2