Advertisement
xeRicker

MysteryBoxes - common-loot-group.yml

Aug 10th, 2022 (edited)
5,420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.83 KB | None | 0 0
  1. # ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  2. # ■ ░█▀▄▀█ ░█──░█ ░█▀▀▀█ ▀▀█▀▀ ░█▀▀▀ ░█▀▀█ ░█──░█ ░█▀▀█ ░█▀▀▀█ ▀▄░▄▀ ░█▀▀▀ ░█▀▀▀█             ■
  3. # ■ ░█░█░█ ░█▄▄▄█ ─▀▀▀▄▄ ─░█── ░█▀▀▀ ░█▄▄▀ ░█▄▄▄█ ░█▀▀▄ ░█──░█ ─░█── ░█▀▀▀ ─▀▀▀▄▄             ■
  4. # ■ ░█──░█ ──░█── ░█▄▄▄█ ─░█── ░█▄▄▄ ░█─░█ ──░█── ░█▄▄█ ░█▄▄▄█ ▄▀░▀▄ ░█▄▄▄ ░█▄▄▄█ BY XERICKER ■
  5. # ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  6.  
  7. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  8. # Customize various events that will happen after a loot is revealed.
  9. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  10.  
  11. events-settings:
  12.   loot-discovered:
  13.     send-broadcasts:
  14.      - "&d🌟 {PLAYER} &efound &r{LOOT_NAME} &ein &r{BOX_NAME}"
  15.     play-sounds:
  16.      - ENTITY_PLAYER_LEVELUP;1.0;1.0
  17.     spawn-fireworks:
  18.      - "type{BALL_LARGE} | flicker{true} | trail{false} | p{0} | c{rgb(213,115,255)} | f{WHITE,rgb(255,255,255)}"
  19.   loot-duplicated:
  20.     send-broadcasts:
  21.     play-sounds:
  22.      - ENTITY_VILLAGER_NO;1.0;1.0
  23.     spawn-fireworks:
  24.      - "type{STAR} | flicker{false} | trail{false} | p{0} | c{rgb(213,115,255)} | f{WHITE,rgb(255,255,255)}"
  25.  
  26. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  27. # This section defines the effects that will be played when a loot is revealed.
  28. # You can assign different effects based on whether the loot was discovered for the
  29. # first time or duplicated. Each line under the "loot-discovered" and "loot-duplicated" keys
  30. # represents an effect ID from the effects.yml file.
  31. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  32.  
  33. effects-settings:
  34.   loot-discovered:
  35.    - "common-spiral-popper"
  36.     - "common-firework-show"
  37.   loot-duplicated:
  38.    - "common-confetti"
  39.  
  40. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  41. # This is where you create the actual loots. Follow these steps:
  42. #
  43. # 1. Copy the loot template (e.g., "common-loot") and paste it to create a new loot.
  44. # 2. Give each loot a unique ID (e.g., "common-loot", "rare-loot").
  45. # 3. Customize the loot settings:
  46. #    - "name": Set the display name of the loot.
  47. #    - "valuable": Determine if the Treasure Hunter upgrade affects the loot chance (true/false).
  48. #    - "drop-duplicate": Specify whether the loot can be received more than once (true/false).
  49. #    - "box-appearance":
  50. #       - data: Material;Model
  51. #       - head:
  52. #         - Player heads: "player->xeRicker"
  53. #         - Custom heads: "custom->[Minecraft URL]"
  54. # 4. Configure the actions when the loot is discovered (received for the first time) and duplicated (received more than once):
  55. #    - "dust-to-give": Set the amount of Mystery Dust to give the player.
  56. #    - "commands": Add console commands to execute when the loot is received.
  57. # 5. After creating your loots, assign their IDs (e.g., "common-loot", "rare-loot") to the desired boxes in the "opening-settings.loots-assigned" section.
  58. #
  59. # Note: The commands support various built-in placeholders and PlaceholderAPI (if installed).
  60. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  61.  
  62. loot-creator:
  63.   common-loot:
  64.     name: "&aCommon Loot"
  65.     valuable: false
  66.     drop-duplicate: true
  67.     box-appearance:
  68.       data: ENDER_CHEST;0
  69.       head: ""
  70.     loot-discovered:
  71.       dust-to-give: 0
  72.       commands:
  73.        - "console command"
  74.     loot-duplicated:
  75.       dust-to-give: 100
  76.       commands:
  77.        - "console command"
  78.   dust-loot:
  79.     name: "&d{DUST_TO_GIVE} Mystery Dust"
  80.     valuable: true
  81.     drop-duplicate: false
  82.     box-appearance:
  83.       data: ENDER_CHEST;0
  84.       head: ""
  85.     loot-discovered:
  86.       dust-to-give: 100
  87.       commands:
  88.        - "console command"
  89.     loot-duplicated:
  90.       dust-to-give: 0
  91.       commands:
  92.        - "console command"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement