SHARE
TWEET

CratesPlus Config

ConnorLinfoot Mar 18th, 2015 (edited) 30,947 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # [][][][][][][][][][][][][][][][][][][][][]
  2. #  CratesPlus V4.4
  3. # [][][][][][][][][][][][][][][][][][][][][]
  4. # ------------------------------------------
  5. # There are many placeholders that can now be used withing the config and messages file, placeholders are as followed:
  6. # - %name% - Replaces with the players name, Example: "Notch".
  7. # - %displayname% - Replaces with the players display name, Example: "[Owner] Notch".
  8. # - %uuid% - Replaces with the players UUID.
  9. # - %crate% - The crate types name.
  10. # - %prize% - The name of the winning.
  11. # - %percentage% - Percentage of the winning, useful for "Chance Message".
  12. # - %rand;100;500% - Generates a random number between two numbers, example is between 100 and 500.
  13. # ------------------------------------------
  14. # Don't change the config version!
  15.  
  16. Config Version: 6
  17.  
  18. # Checks if an update is available and notifies staff
  19. Update Checks: true
  20. Update Branch: "spigot"
  21.  
  22. # Uploads anonymous data about your server, used for general statics
  23. Metrics: true
  24.  
  25. Crates:
  26.   Vote:
  27.     Knockback: 0.5
  28.     Broadcast: false
  29.     Firework: false
  30.     Color: GREEN
  31.     Block: ENDER_CHEST
  32.     Preview: true
  33.     Cooldown: 2
  34.     Hide Percentages: true
  35.     Permission: cratesplus.crate.example # Permissions can be anything, it will check that the player has the permission before opening
  36.     Key:
  37.       Item: TRIPWIRE_HOOK
  38.       Name: '%type% Crate Key'
  39.       Enchanted: true
  40.       Lore:
  41.      - "This is a Vote key!"
  42.       - "This is just some &eTEST&r text!"
  43.     Winnings:
  44.       '1':
  45.         Type: ITEM
  46.         Item Type: IRON_SWORD
  47.         Item Data: 0
  48.         Percentage: 25
  49.         Name: '&6&lSword of Destiny'
  50.         Amount: 1
  51.         Enchantments:
  52.        - DAMAGE_ALL-3
  53.         Lore:
  54.        - "Testing123"
  55.         Flags:
  56.        - "HIDE_ENCHANTS"
  57.       '2':
  58.         Type: ITEM
  59.         Item Type: DIAMOND_SWORD
  60.         Name: NONE
  61.         Item Data: 0
  62.         Percentage: 25
  63.         Amount: 1
  64.         Enchantments:
  65.        - DAMAGE_ALL-5
  66.         - DURABILITY-3
  67.         - FIRE_ASPECT-2
  68.       '3':
  69.         Type: COMMAND
  70.         Item Type: MOB_SPAWNER
  71.         Percentage: 25
  72.         Commands:
  73.        - 'spawner give %name% spider'
  74.         - 'say %name% opened a crate'
  75.         - 'say %name% got a random %rand;100;500%'
  76.         Name: '&e&lSpider Spawner'
  77.         Item Data: 0
  78.         Amount: 1
  79.         Enchantments:
  80.        - DAMAGE_ALL-5
  81.         - DURABILITY-3
  82.         - FIRE_ASPECT-2
  83.       '4':
  84.         Type: ITEM
  85.         Item Type: MONSTER_EGG
  86.         Percentage: 25
  87.         Name: '&e&lCreeper Egg'
  88.         Item Data: 0
  89.         Entity Type: CREEPER
  90.         Amount: 3
  91.   VIP:
  92.     Knockback: 0.5
  93.     Broadcast: false
  94.     Firework: false
  95.     Color: GREEN
  96.     Block: CHEST
  97.     Preview: true
  98.     Permission: cratesplus.crate.vip # Permissions can be anything, it will check that the player has the permission before opening
  99.     Key:
  100.       Item: TRIPWIRE_HOOK
  101.       Name: '%type% Crate Key'
  102.       Enchanted: true
  103.     Hologram Text:
  104.     - 'This crate will have'
  105.      - 'Its own hologram text!'
  106.  
  107. # Opener which is used by default
  108. Default Opener: BasicGUI
  109.  
  110. # Default cooldown between opening crates
  111. Default Cooldown: 5
  112.  
  113. # If true it will stop players without the admin perm breaking crates
  114. Crate Protection: false
  115.  
  116. # Disable players being allowed to drop keys to other players, putting them in a chest, or even drop them on death
  117. Disable Key Swapping: false
  118.  
  119. # %crate% can be used to show the crate name
  120. # If a crate has no specific hologram text set, this will be shown
  121. Default Hologram Text:
  122. - "%crate%"
  123. - "Right-Click to Open!"
  124. - "Left-Click to Preview!"
RAW Paste Data
Top