Pricey123

JJCar Config

Apr 25th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.57 KB | None | 0 0
  1. # [][][][][][][][][][][][][][][][][][][][][]
  2.  
  3. #              Crates V1.0
  4.  
  5. # [][][][][][][][][][][][][][][][][][][][][]
  6.  
  7. # ------------------------------------------
  8.  
  9. # There are many placeholders that can now be used withing the config file for commands and messages, place holders are as followed:
  10.  
  11. # - %name% - Replaces with the players name, Example: "Notch".
  12.  
  13. # - %displayname% - Replaces with the players display name, Example: "[Owner] Notch".
  14.  
  15. # - %uuid% - Replaces with the players UUID.
  16.  
  17. # - %crate% - The crate types name.
  18.  
  19. # ------------------------------------------
  20.  
  21. # Don't change the config version!
  22.  
  23.  
  24.  
  25. Config Version: 2
  26.  
  27. Update Checks: true
  28.  
  29.  
  30.  
  31. # ITEMNAME-DATA:AMOUNT:ENCHANTMENTS|SEPARATED|BY|PIPE|WITH|LEVELS|LIKE|THIS-3
  32.  
  33. # Commands can be like COMMAND:give %name% 100 coins
  34.  
  35. # Item name must be a Bukkit material, list here https://hub.spigotmc.org/javadocs/spigot/org/bukkit/material/package-summary.html
  36.  
  37. Crates:
  38.   Common:
  39.     Items:
  40.     - IRON_SWORD:1:DAMAGE_ALL-3
  41.  
  42.     - COOKED_BEEF:32:DAMAGE_ALL-100
  43.  
  44.     - WOOL-5
  45.  
  46.     Knockback: 0.5
  47.  
  48.     Broadcast: false
  49.  
  50.     Firework: false
  51.  
  52.     Color: GREEN
  53.  
  54.   Rare:
  55.     Items:
  56.     - DIAMOND_SWORD:1:DAMAGE_ALL
  57.  
  58.     - COMMAND:say %name% This is all you won... enjoy!
  59.  
  60.     Knockback: 1.0
  61.  
  62.     Broadcast: false
  63.  
  64.     Firework: false
  65.  
  66.     Color: GOLD
  67.  
  68.   Ultra:
  69.     Items:
  70.     - DIAMOND_SWORD:1:DAMAGE_ALL-3
  71.  
  72.     Knockback: 2.0
  73.  
  74.     Broadcast: true
  75.  
  76.     Firework: true
  77.  
  78.     Color: DARK_PURPLE
  79.  
  80.  
  81.  
  82. # Modify different options of the crate key
  83.  
  84. Crate Keys:
  85.   Item: TRIPWIRE_HOOK
  86.  
  87.   Name: "%type% Crate Key!"
  88.  
  89.   Enchantments:
  90.   - DAMAGE_ALL
  91.  
  92.  
  93.  
  94. # If true the plugin will use the interact event instead of the inventory open event
  95.  
  96. Use Interact: false
  97.  
  98.  
  99.  
  100. # If true knockback will not happen and a GUI will open with what items can be won
  101.  
  102. Crate Previews: false
  103.  
  104.  
  105.  
  106. # If true when the player claims a crate a GUI will open with the winning item in (not yet done)
  107.  
  108. Crate Open GUI: false
  109.  
  110.  
  111.  
  112. # If true it will stop players without the admin perm breaking crates
  113.  
  114. Crate Protection: false
  115.  
  116.  
  117.  
  118. # Below are all messages that can me edited in the plugin
  119.  
  120. Messages:
  121.   Prefix: ‘EditInConfig’
  122.  
  123.   Command No Permission: "&cYou do not have the correct permission to run this command"
  124.  
  125.   Crate Open Without Key: "&cYou must be holding a %crate% &ckey to open this crate"
  126.  
  127.   Key Given: "&aYou have been given a %crate% &acrate key"
  128.  
  129.   Broadcast: "&d%displayname% &dopened a %crate% &dcrate"
  130.  
  131.   Cant Place: "&cYou cant place crate keys"
Advertisement
Add Comment
Please, Sign In to add comment