Advertisement
OhLorenzo

Untitled

Jan 13th, 2022
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. # Default language file
  2. lang: en_US
  3.  
  4. # Should the plugin use metrics?
  5. # It simply allows me to see how many servers
  6. # are currently using the vouchers plugin.
  7. metrics: true
  8.  
  9. database:
  10.  
  11. # Should vouchers use a database to store created vouchers?
  12. enabled: false
  13.  
  14. # The host of the database
  15. host: localhost
  16.  
  17. # Database port, by default its 3306
  18. port: 3306
  19.  
  20. # The name of the actual database you're connecting to
  21. name: plugin_dev
  22.  
  23. # The username used to login to the database
  24. username: root
  25.  
  26. # The password used to login to the database
  27. password: Password1
  28.  
  29. # Should the connection use SSL?
  30. use ssl: true
  31.  
  32. defaults:
  33.  
  34. # The default material to be used for the voucher
  35. material: PAPER
  36.  
  37. # The default permission for a voucher
  38. permission: vouchers.use.%voucher_id%
  39.  
  40. # The default display name for a voucher
  41. display name: '&e%voucher_id%'
  42.  
  43. # The default lore for a voucher
  44. lore:
  45. - '&7Default voucher lore'
  46.  
  47. # Should the voucher glow by default?
  48. use glow: true
  49.  
  50. # Should the player be asked to confirm the redeem by default?
  51. ask to confirm: true
  52.  
  53. # Should the voucher be unbreakable by default
  54. unbreakable: true
  55.  
  56. # Should attributes be hidden by default
  57. hide attributes: true
  58.  
  59. # Should the voucher be taken from the player on use?
  60. remove on use: true
  61.  
  62. # Should a title be sent on redeem?
  63. send title: true
  64.  
  65. # Should an actionbar be sent on redeem?
  66. send actionbar: true
  67.  
  68. # Default title to be sent on redeem
  69. title: '&e&lVoucher Redeemed!'
  70.  
  71. # Default subtitle to be sent on redeem
  72. subtitle: '&eYou redeemed the %voucher_id% voucher!'
  73.  
  74. # Default actionbar to be sent on redeem
  75. actionbar: '&e%voucher_id% voucher redeemed'
  76.  
  77. # Default fadein time in seconds for a voucher
  78. title fade in: 1
  79.  
  80. # Default stay time in seconds for a voucher
  81. title stay: 2
  82.  
  83. # Default fadein time in seconds for a voucher
  84. title fade out: 1
  85.  
  86. # Default commands to be ran on voucher redeem
  87. commands:
  88. - heal %player%
  89.  
  90. # Default messages to be broadcast to the server
  91. # If empty, nothing will be sent
  92. # %voucher_id% -> the id of the voucher
  93. # %voucher_title% -> the display name of the voucher
  94. broadcast messages:
  95. - '&e%player% redeemed the %voucher_id% voucher'
  96.  
  97. # Default messages to be sent to the player on voucher redeem
  98. # If empty, nothing will be sent
  99. # %voucher_id% -> the id of the voucher
  100. # %voucher_title% -> the display name of the voucher
  101. player messages:
  102. - '&eYou redeemed the %voucher_id% voucher'
  103.  
  104. # The default sound to be played on redeem
  105. redeem sound: ENTITY_EXPERIENCE_ORB_PICKUP
  106.  
  107. # Should this voucher have a cooldown on it's use
  108. use cooldown: true
  109.  
  110. # How many seconds must a player wait before they can use this voucher after redeeming one
  111. cooldown time: 3
  112.  
  113. gui:
  114. back button:
  115.  
  116. # Settings for the back button
  117. item: ARROW
  118.  
  119. name: '&e<< Back'
  120.  
  121. lore:
  122. - '&7Click the button to go'
  123. - '&7back to the previous page.'
  124. close button:
  125.  
  126. # Settings for the close button
  127. item: BARRIER
  128.  
  129. name: '&cClose'
  130.  
  131. lore:
  132. - '&7Click to close this menu.'
  133. next button:
  134.  
  135. # Settings for the next button
  136. item: ARROW
  137.  
  138. name: '&eNext >>'
  139.  
  140. lore:
  141. - '&7Click the button to go'
  142. - '&7to the next page.'
  143. confirm gui:
  144.  
  145. title: '&a&lConfirm Redeem?'
  146. items:
  147. 'yes':
  148. material: LIME_STAINED_GLASS_PANE
  149. name: '&a&lRedeem'
  150. lore:
  151. - '&7Click to redeem voucher'
  152. 'no':
  153. material: RED_STAINED_GLASS_PANE
  154. name: '&c&lCancel'
  155. lore:
  156. - '&7Click to cancel redeeming the voucher'
  157. list gui:
  158.  
  159. title: '&eListing Vouchers'
  160. bottom bar:
  161.  
  162. # Settings for the bottom bar
  163. item: LIGHT_GRAY_STAINED_GLASS_PANE
  164.  
  165. name: ''
  166.  
  167. lore:
  168. - ''
  169.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement