Advertisement
Guest User

Crates Plugin Config

a guest
Nov 13th, 2016
537
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.76 KB | None | 0 0
  1. #Use MySQL
  2. usesql: false
  3.  
  4. #If using SQL - Database configuration MySQL / MariaDB compatible
  5. database:
  6. #Ip of the machine with the database on
  7. ip: localhost
  8. #Port on which MySQL is set
  9. port: 3306
  10. #User in which you wish to access the database
  11. username: root
  12. #Password for the above user
  13. password: NONE
  14. #Database name
  15. name: Crates
  16. #Suffix of the table in which you create e.g crates_<tablesuffix>
  17. tablesuffix: default
  18.  
  19. #Items for the cratemenu
  20. items:
  21. #The item you click on to open the crate
  22. open-crate:
  23. #Name of that item
  24. displayname: '&cOpen &b%crate%'
  25. #Material
  26. type: CHEST
  27. #Lore
  28. lore:
  29. - '&7Click to open the crate'
  30. #Is it enchanted?
  31. enchanted: false
  32. #The item you click on to open the crate
  33. preview-items:
  34. #Name of that item
  35. displayname: '&cPreview &b%crate%'
  36. #Material
  37. type: CHEST
  38. #Lore
  39. lore:
  40. - '&7Click to preview the crate'
  41. #Is it enchanted?
  42. enchanted: false
  43.  
  44. #All the messages
  45. messages:
  46. #Plugin prefix
  47. prefix: '&4(PrefixCrates) &7'
  48. #Message the player receives when winning
  49. win-title: 'You won:'
  50. #When a user opens a crate
  51. crate-open: 'Opening &c%crate% Crate'
  52. #Title of inventory
  53. inventory-title: '&c%crate% Crate &b(Click %clicks-to-go%)'
  54. #Crate menu inventory title
  55. menu-title: '&c%crate% Crate &4Menu'
  56. #Crate inventory animation title
  57. animation-title: '&cOpening &b%crate% &cCrate'
  58. #Crate inventory finish title
  59. finish-title: '&cOpened &b%crate% &cCrate'
  60. #When an item is broadcasted
  61. win-broadcast: '&c%player% &r has won &e%item%&r from a &c%crate% Crate'
  62. #No permission message
  63. no-permission: 'You do not have permission for this command'
  64. #Inventory preview title
  65. crate-preview: '&c%crate% Crate &b(%clicks% Clicks)'
  66. #When the player right-clicks a crate without the key
  67. wrong-key: 'You need a &c%crate% Key &rto use this'
  68. #Crate amount in menu-item
  69. crate-amount: '&6You have &a%amount%&6 of the &b%crate% &cCrate'
  70. #When a players data is not yet in the SQL database
  71. data-not-loaded: 'Your data is not loaded, please wait a few seconds'
  72. #When you give a crate
  73. give-crate: 'You given &b%amt%x &7(&c%crate% Crate &4Key&7) to %target%'
  74. #When you have been given a crate
  75. get-crate: 'You have received &b%amt%x &7(&c%crate% Crate &4Key&7) from %player%'
  76. #Crates
  77. crates:
  78. #Example crate name
  79. Vote:
  80. #Size of inventory & number of rewards & clicks
  81. size: 1
  82. #The amount of clicks & rewards the user gets
  83. clicks: 2
  84. #The key item (changing this may stop old keys from being used)
  85. key:
  86. #Item name
  87. displayname: '&c&lVote key'
  88. #Material
  89. type: TRIPWIRE_HOOK
  90. #Normal = 0, if your using potions this will be needed usually used as 'type:durability'
  91. durability: 0
  92. #Lore
  93. lore:
  94. - '&bWon from voting'
  95. #Is it enchanted?
  96. enchanted: true
  97. #All sounds when the crate is used
  98. sounds:
  99. #When the crate rolls
  100. roll: NOTE_BASS
  101. #When you click your slots at the start of the crate
  102. click: LEVEL_UP
  103. #When the crate starts rolling
  104. start: SUCCESSFUL_HIT
  105. #When you finish the crate and go out of the inventory
  106. finish: SUCCESSFUL_HIT
  107. #When the crate is originally opened
  108. open: LEVEL_UP
  109. items:
  110. '64 Blocks of Iron':
  111. #Material
  112. type: IRON_BLOCK
  113. #Normal = 0, if your using potions this will be needed usually used as 'type:durability'
  114. durability: 0
  115. #Item name
  116. displayname: '&4&l64 Blocks of iron'
  117. #Is it enchanted?
  118. enchanted: true
  119. #Number of item shown
  120. amount: 64
  121. #When a player wins is it announced to the whole server?
  122. announce: false
  123. #Chance of getting the item (if all chances are small then it will use up more memory chances like 50 30 10 will work better than 5 3 1)
  124. chance: 50
  125. #Commands that will execute to give the player the reward
  126. commands:
  127. - 'give %player% IRON_BLOCK 64'
  128. '1 Enchantment book':
  129. #Material
  130. type: BOOK
  131. #Normal = 0, if your using potions this will be needed usually used as 'type:durability'
  132. durability: 0
  133. #Item name
  134. displayname: '&bAn enchanted book!'
  135. #Is it enchanted?
  136. enchanted: true
  137. #Number of item shown
  138. amount: 1
  139. #When a player wins is it announced to the whole server?
  140. announce: true
  141. #Chance of getting the item (if all chances are small then it will use up more memory chances like 50 30 10 will work better than 5 3 1)
  142. chance: 50
  143. #Commands that will execute to give the player the reward
  144. commands:
  145. - 'givechantbook %player% 1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement