Advertisement
Guest User

Untitled

a guest
Dec 1st, 2018
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.05 KB | None | 0 0
  1. #Name of the advent calendar inventory
  2. inventoryName: "&2&lAdvent calendar"
  3. #Number of days in the advent calendar
  4. days: 24
  5. #Choose whether the day number should be displayed as the item quantity in advent calendar GUI
  6. displayDayNumber: true
  7. #Choose whether players should be able to claim gifts from previous days they haven't claimed yet
  8. allowClaimingUnclaimedGifts: true
  9. #Choose whether it should be broadcasted globally when someone claims their gift
  10. broadcastClaimedInfo: true
  11. #Choose whether players should be notified about not claimed gifts when joining the server
  12. notifyUponLogin: true
  13. #Choose whether single or multiple gift groups should be given. Eg. when player is eligible to receive default & donor gifts, he receives only donor one (which has higher priority)
  14. giveSingleGifts: false
  15. #Maximal amount of enchantments which can be applied to an item (it applies to enchantment gifts)
  16. maxEnchantments: 3
  17. placeholders:
  18.  #Item placeholder for already claimed gifts
  19.   claimed:
  20.     material: GREEN_STAINED_GLASS_PANE
  21.     #%day% is the placeholder for the day number
  22.     name: "&2&lDay %day%"
  23.     lore:
  24.      - "&8Already claimed."
  25.   #Item placeholder for gifts which weren't claimed but can be
  26.   unclaimed:
  27.     material: LIME_STAINED_GLASS_PANE
  28.     name: "&a&lDay %day%"
  29.     lore:
  30.      - "&8Click to claim!"
  31.   #Item placeholder for gifts which weren't claimed and can't be
  32.   expired:
  33.     material: RED_STAINED_GLASS_PANE
  34.     name: "&c&lDay %day%"
  35.     lore:
  36.      - "&8Gift has expired."
  37.   #Item placeholder for today's gift
  38.   current:
  39.     material: LIME_STAINED_GLASS_PANE
  40.     name: "&a&lDay %day%"
  41.     lore:
  42.      - "&8Click to claim!"
  43.   #Item placeholder for gifts from upcoming days
  44.   upcoming:
  45.     material: RED_STAINED_GLASS_PANE
  46.     name: "&c&lDay %day%"
  47.     lore:
  48.      - "&8Can't be claimed yet."
  49.   #Item placeholder for not configured gifts
  50.   unavailable:
  51.     material: RED_STAINED_GLASS_PANE
  52.     name: "&c&lDay %day%"
  53.     lore:
  54.      - "&8This gift is unavailable."
  55. #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.
  56. #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
  57. giftsPriorities:
  58.   1: default
  59.   2: donor
  60. gifts:
  61.  #Day number
  62.   1:
  63.    #Type of the gift, explained above in giftPriorities section
  64.     default:
  65.    #Type of sold item, valid values are item/permission/enchantment/command
  66.       type: item
  67.       item:
  68.        #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  69.         material: BREAD
  70.         #(optional) Quantity of the item
  71.         quantity: 32
  72.         #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  73.         damage: 0
  74.         #(optional) Custom name
  75.         name: "&aYummy bread"
  76.         #(optional) Lore, can contain multiple lines
  77.         lore:
  78.           - "&3<3"
  79.     donor:
  80.       type: item
  81.       item:
  82.         material: BREAD
  83.         quantity: 64
  84.   2:
  85.     default:
  86.       type: item
  87.       item:
  88.         material: GOLD_INGOT
  89.         quantity: 16
  90.     donor:
  91.       type: item
  92.       item:
  93.         material: GOLD_INGOT
  94.         quantity: 32
  95.   3:
  96.     default:
  97.       type: item
  98.       item:
  99.         material: IRON_INGOT
  100.         quantity: 32
  101.     donor:
  102.       type: item
  103.       item:
  104.         material: DIAMOND
  105.         quantity: 16
  106.   4:
  107.     default:
  108.       type: enchantment
  109.       enchantment: FORTUNE
  110.       enchantmentLevel: 1
  111.     donor:
  112.       type: enchantment
  113.       enchantment: FORTUNE
  114.       enchantmentLevel: 2
  115.   5:
  116.     default:
  117.       type: command
  118.       commands:
  119.           - "say Merry christmas, %PLAYER%!"
  120.     donor:
  121.       type: command
  122.       commands:
  123.           - "say Merry christmas, %PLAYER%!"
  124.           - "broadcast Merry christmas, everyone!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement