Advertisement
Dragulous

CrazyCrate

Nov 20th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.17 KB | None | 0 0
  1. Crate:
  2. #Type of crate (CSGO/QuadCrate/QuickCrate/Roulette/CrateOnTheGo/FireCracker/Wonder/Wheel/War/Cosmic(This requires a additional info to work.)).
  3. CrateType: War
  4. #Name of the Inventory if a GUI crate.
  5. CrateName: '&8Vote Crate'
  6. #The name of the inventory that will be in the preview GUI.
  7. Preview-Name: '&8Vote Crate Preview'
  8. #Starting amount of keys when the player 1st joins.
  9. StartingKeys: 0
  10. #If the crate shows in the /cc GUI. (If the crate type is QuickCrate/CrateOnTheGo/FireCracker then the Crate will not work. Quick Crate requires a Physical Crate.)
  11. InGUI: yes
  12. #Slot the item is in the GUI.
  13. Slot: 21
  14. #Enables/Disables the Broadcasts message when they open a crate.
  15. OpeningBroadCast: true
  16. #Message that is broadcast when opening the crate.
  17. BroadCast: '%Prefix%&6&l%Player% &7is opening a &7&lVote Chest&7.'
  18. #Item the crate is in the GUI
  19. Item: 'CHEST'
  20. #If the crate in the main /cc GUI is glowing or not.
  21. Glowing: yes
  22. #Name of the item in the GUI.
  23. Name: '&7&lVote Chest'
  24. #The lore of the item in the GUI.
  25. Lore:
  26. - '&7This crate contains strange objects.'
  27. - '&7You have &6%Keys% keys &7to open this crate with.'
  28. - '&7&l(&e&l!&7&l) Right click to view rewards.'
  29. Preview:
  30. #Turn on and off the preview for this crate.
  31. Toggle: true
  32. #How many lines the previewChest should have. Including Header and Bottom (Between 3 and 6)
  33. ChestLines: 6
  34. Glass:
  35. #Turn the glass boarder in the preview on and off.
  36. Toggle: true
  37. #The item that shows in the boarder. Can be glass or any other item.
  38. Item: 'GRAY_STAINED_GLASS_PANE'
  39. PhysicalKey:
  40. #Name of the Key.
  41. Name: '&7&lVote Crate &b&lKey'
  42. #Lore of the Key.
  43. Lore:
  44. - '&7A special Key'
  45. - '&7For a special Crate.'
  46. #The item the key is.
  47. Item: 'TRIPWIRE_HOOK'
  48. #Makes the key look enchanted.
  49. Glowing: true
  50. #All the prizes that can be gotten in the Crate.
  51. Prizes:
  52. 1:
  53. #Name of the item shown by the crate.
  54. DisplayName: '&7&lBasic Grass'
  55. #Item that is shown by the crate.
  56. DisplayItem: 'GRASS_BLOCK'
  57. #The amount that is displayed.
  58. DisplayAmount: 1
  59. #Lore will be shown in rewards GUI.
  60. Lore:
  61. - '&7Win some grass for your fields.'
  62. - '&6&lChance: &c&l40%'
  63. #Adds enchantments to the display item.
  64. DisplayEnchantments:
  65. - 'PROTECTION_ENVIRONMENTAL:1'
  66. - 'OXYGEN:1'
  67. #The max range that the chance will go though.
  68. MaxRange: 100
  69. #Chance of that item getting picked. It would be 40/100 chance because MaxRange is 100.
  70. Chance: 40
  71. #Firework when it is won.
  72. Firework: false
  73. #Toggle if the item has a glowing effect but doesn't have an enchantment on it.
  74. Glowing: false
  75. #Set the item to 397:3 and then add the players name for this to take effect.
  76. Player: ''
  77. #Adds the unbreaking NBT tag to the display item to allow it to have custom textures.
  78. Unbreakable: false
  79. #When set to true, tags like Armor, Unbreakable and other tags are hidden and not visible to the user.
  80. HideItemFlags: false
  81. # Items that the player wins if this prize is picked. (If you wish not to give an Item in the prize just delete the Items Section)
  82. # Items: Options
  83. # Item:<Item Name> - The item you wish to give.
  84. # Amount:<Number> - Choose how many of the item you get.
  85. # Name:<Name> - The display name that goes on the item.
  86. # Lore:<Line 1>,<Line 2>,<Line 3>,<Line 4> - The lore that will go under the enchantments. Split lines with a ','
  87. # Unbreakable-Item:<True/False> - Will add the Unbreaking NBT tag to the item to allow custom textured items to be gained through the envoys.
  88. # <Enchantment>:<Level> - Choose the enchantment you want to add to the item. You can use the in-game names of the enchantment if you want. Replace the spaces in the name with "_".
  89. Items:
  90. - 'Item:GRASS_BLOCK, Amount:32, Name:&7&lBasic Grass'
  91. #Commands are the commands that are run when this prize is won. (If you wish not to use a CMD in the prize just delete the Commands Section)
  92. #You can use %Player% to get the player that won the prize.
  93. Commands:
  94. - 'broadcast &6&l%Player% &7has just won some Basic Grass.'
  95. #Messages: option allows you to send players messages and not have to pm them with commands.
  96. #If you do not wish to have players get messaged that they won this prize then just remove the Messages: option.
  97. Messages:
  98. - '&7You just won a &7&lBasic Grass&7.'
  99. #This allows for one time winnable prizes. If a player has one of the permissions then they will not be able to win it.
  100. BlackListed-Permissions: []
  101. #This allows users who have won the same prize before to get alternative prizes. They must of a BlackListed-Permission to get a alternative prize.
  102. Alternative-Prize:
  103. #Toggle if the prize will use alternative prizes for the blacklisted permission.
  104. Toggle: false
  105. Messages: []
  106. Commands: []
  107. Items: []
  108. 2:
  109. DisplayName: '&b&lCheap Helmet'
  110. DisplayItem: 'GOLDEN_HELMET'
  111. DisplayAmount: 1
  112. Lore:
  113. - '&7Win a cheap helmet.'
  114. - '&6&lChance: &c&l60%'
  115. MaxRange: 100
  116. Chance: 60
  117. Items:
  118. - 'Item:GOLDEN_HELMET, Amount:1, Name:&bCheap Helmet, PROTECTION_ENVIRONMENTAL:1, OXYGEN:1'
  119. 3:
  120. DisplayName: '&e&l$1,000'
  121. DisplayItem: 'SUNFLOWER'
  122. DisplayAmount: 1
  123. Lore:
  124. - '&7Make it rain Money.'
  125. - '&6&lChance: &c&l20%'
  126. MaxRange: 100
  127. Chance: 20
  128. Firework: true
  129. Commands:
  130. - 'eco give %Player% 1000'
  131. # - 'pex user %player% add crazycrates.blacklist.basic.3' #This is the line where you would give the user the permission.
  132. Messages:
  133. - '&7You just won &a$1,000&7.'
  134. BlackListed-Permissions:
  135. - 'crazycrates.blacklist.basic.3'
  136. Alternative-Prize:
  137. Toggle: true
  138. Messages:
  139. - '&8[&bCrazyCrates&8]: &7You have already won that prize, so enjoy some gold nuggets.'
  140. Commands:
  141. - 'give %player% gold_nugget 16'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement