Advertisement
Guest User

Crazy Crates Example Configuration (Crate configuration)

a guest
May 16th, 2016
182
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.19 KB | None
  1. # REMEMBER -
  2. # Color code is supported everywhere! Be sure to use it!
  3. Crate:
  4.   CrateType: CSGO # Type of crate (Crate types are CSGO, Quad Crates (Kinda like mineplex but 4) Quick crates (Click the crate with your key and it shoots the item out of the top (Like mineplex crates)) and roulette (Archon style crates))
  5.   StartingKeys: 1000 # If you are using virtual crates (Which i feel is a little odd to use) the amount of keys that a player has defaultly
  6.   InGUI: true # Just keep this true
  7.   Slot: 10 # I honestly have no idea but i've never changed it and never will :p
  8.   OpeningBroadCast: false # Toggle for the broadcast being used
  9.   BroadCast: '%Prefix%&6&l%Player% &7is opening a &7&lBasic Chest&7.' # Broadcasts a message using /bc
  10.   Item: '54' # What item id the crate will be in Virtual crate GUI (Not really important unless using Virtual crates, which i don't reccomend)
  11.   Name: '&7&lVoter Crate' # When you are in the GUI of the crate (Either viewing or opening (If there is an opening GUI)) the name at the top of the border of GUI
  12.   Lore: # Lore of crate item in virtual crate GUI
  13.   - '&7This crate contains strange objects.'
  14.   - '&7You have &6%Keys% keys &7to open this crate with.'
  15.   PhysicalKey: #The Key if you are using physical crates (Which I hope you use)
  16.     Name: '&7&lVoter Crate Key' # Name of physical crate key
  17.     Lore: # Lore of physical crate key
  18.     - '&7A Voter Key'
  19.     - '&7For a Voter Crate.'
  20.     Item: '131' # Item id of key (131 is tripwire hook)
  21.     Enchantments: #Enchantments on the key
  22.     - DURABILITY:10
  23.   Prizes:
  24.     '1':
  25.       DisplayName: '&6&k;&bNice Pick&6&k;' # Name of item INSIDE the GUI
  26.       DisplayItem: '278' # Id of item INSIDE the GUI
  27.       Lore: # Lore of item INSIDE the GUI
  28.       - '&7Rarity:'
  29.       - '&bCommon'
  30.       Chance: 50 # Chance of you getting the prize, Decimals are supported (Out of 100 by default)
  31.       Firework: false # If it fires a firework when you win that prize
  32.       Items: #This is the actual item that the player will receive if they get this prize
  33.       - Item:278, Amount:1, Name:&bNice Pick, DIG_SPEED:13, LOOT_BONUS_BLOCKS:13, Lore:&7Rarity:,&bCommon
  34.       # INSTRUCTIONS FOR Items: PART
  35.       # Remember - Make sure to separate everything with commas as shown!
  36.       # Item: Item-id
  37.       # Amount: amount of that item given
  38.       # Name: Name of the item given
  39.       # DIGSPEED:13, that is efficiency a list of enchantment ids for spigot can be found on Google
  40.       # Lore: Just write the lore, lines are separated with commas.
  41.       # Commands: and Items: can be combined if you are wondering :) (Commands shown in '2')
  42.       ###########
  43.       # WARNING #
  44.       ###########
  45.       # There is a problem I had (Don't know if @Kicjow has fixed this yet but)
  46.       # if you try to use meta-data in Item: (e.g 322:1) it doesen't work and the crate wont work,
  47.       # to work around this use a command to give a kit (that you make yourself)
  48.       # shown in another example, '2'
  49.     '2':
  50.       DisplayName: '&b/enderchest' # Name of item INSIDE the GUI
  51.       DisplayItem: '130' # Id of item INSIDE the GUI/
  52.       Lore: # Lore of item INSIDE the GUI
  53.       - '&7Rarity:'
  54.       - '&bCommon'
  55.       Chance: 50 # Chance of you getting the prize, Decimals are supported (Out of 100 by default)
  56.       Firework: true # If it fires a firework when you win that prize
  57.       Commands:
  58.      - pex user %player% add essentials.enderchest
  59.       - broadcast &6%player% &7is a &6beast&7!!!
  60.       # Commands: Instructions
  61.       # It's pretty self explanatory, just put your commands there.
  62.       # %player% is replaced by player name
  63.       # If you want to give a player an item with meta-data through a kit,
  64.       # just do the command kit (kit name) %player%
  65.       # Commands: and Items: can be both be used in the same prize if you are wondering :)
  66.       # I know there are some things I missed, but they are not really necessary such as MaxRange:
  67.       # and other things.
  68.       # Place your crate file inside the Crates folder, the game will refer to the crate as
  69.       # whatever the file itself is called.
  70.       ##########################
  71.       # Hope I Helped!         #
  72.       # Tutorial by _FireNinja #
  73.       ##########################
Advertisement
RAW Paste Data Copied
Advertisement