#Name of the advent calendar inventory
inventoryName: "&2&lAdvent calendar"
#Number of the month the advent calendar will be enabled in. Note: Changing this value requires database reset
month: 12
#Number of days in the advent calendar
days: 31
#Choose whether the day number should be displayed as the item quantity in advent calendar GUI
displayDayNumber: true
#Choose whether players should be able to claim gifts from previous days they haven't claimed yet
allowClaimingUnclaimedGifts: true
#Choose whether it should be broadcasted globally when someone claims their gift
broadcastClaimedInfo: true
#Choose whether players should be notified about not claimed gifts when joining the server
notifyUponLogin: true
#Maximal amount of enchantments which can be applied to an item (it applies to enchantment gifts)
maxEnchantments: 3
placeholders:
#Item placeholder for already claimed gifts
claimed:
material: STAINED_GLASS_PANE
damage: 13
#%day% is the placeholder for the day number
name: "&2&lDay %day%"
lore:
- "&8Already claimed."
#Item placeholder for gifts which weren't claimed but can be
unclaimed:
material: STAINED_GLASS_PANE
damage: 5
name: "&a&lDay %day%"
lore:
- "&8Click to claim!"
#Item placeholder for gifts which weren't claimed and can't be
expired:
material: STAINED_GLASS_PANE
damage: 14
name: "&c&lDay %day%"
lore:
- "&8Gift has expired."
#Item placeholder for today's gift
current:
material: STAINED_GLASS_PANE
damage: 5
name: "&a&lDay %day%"
lore:
- "&8Click to claim!"
#Item placeholder for gifts from upcoming days
upcoming:
material: STAINED_GLASS_PANE
damage: 14
name: "&c&lDay %day%"
lore:
- "&8Can't be claimed yet."
#Item placeholder for not configured gifts
unavailable:
material: STAINED_GLASS_PANE
damage: 14
name: "&c&lDay %day%"
lore:
- "&8This gift is unavailable."
#Gift priorities. The format is PRIORITY:NAME (the name is used in the section below). Basically the higher priority, the earlier player will be checked for the christmasplus.adventcalendar.gift.NAME permissions. "default" is necessary and will be given to all players without any additional permission.
#Example: with 1: default and 2: donor the player will be checked for christmasplus.adventcalendar.gift.donor first, if they don't have it they will receive the "default" one
giftsPriorities:
1: default
2: donor
gifts:
#Day number
1:
#Type of the gift, explained above in giftPriorities section
default:
#Type of sold item, valid values are item/permission/enchantment/command
type: item
item:
#Material name, full list can be found here: http://wiki.brcdev.net/Materials
material: BREAD
#(optional) Quantity of the item
quantity: 32
#(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
damage: 0
#(optional) Custom name
name: "&aYummy bread"
#(optional) Lore, can contain multiple lines
lore:
- "&3<3"
donor:
type: item
item:
material: BREAD
quantity: 64
2:
default:
type: item
item:
material: GOLD_INGOT
quantity: 16
donor:
type: item
item:
material: GOLD_INGOT
quantity: 32
3:
default:
type: item
item:
material: IRON_INGOT
quantity: 32
donor:
type: item
item:
material: DIAMOND
quantity: 16
4:
default:
type: enchantment
enchantment: FORTUNE
enchantmentLevel: 1
donor:
type: enchantment
enchantment: FORTUNE
enchantmentLevel: 2
5:
default:
type: command
commands:
- "say Merry christmas, %PLAYER%!"
donor:
type: command
commands:
- "say Merry christmas, %PLAYER%!"
- "broadcast Merry christmas, everyone!"