Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Default language file
- lang: en_US
- # Should the plugin use metrics?
- # It simply allows me to see how many servers
- # are currently using the vouchers plugin.
- metrics: true
- database:
- # Should vouchers use a database to store created vouchers?
- enabled: false
- # The host of the database
- host: localhost
- # Database port, by default its 3306
- port: 3306
- # The name of the actual database you're connecting to
- name: plugin_dev
- # The username used to login to the database
- username: root
- # The password used to login to the database
- password: Password1
- # Should the connection use SSL?
- use ssl: true
- defaults:
- # The default material to be used for the voucher
- material: PAPER
- # The default permission for a voucher
- permission: vouchers.use.%voucher_id%
- # The default display name for a voucher
- display name: '&e%voucher_id%'
- # The default lore for a voucher
- lore:
- - '&7Default voucher lore'
- # Should the voucher glow by default?
- use glow: true
- # Should the player be asked to confirm the redeem by default?
- ask to confirm: true
- # Should the voucher be unbreakable by default
- unbreakable: true
- # Should attributes be hidden by default
- hide attributes: true
- # Should the voucher be taken from the player on use?
- remove on use: true
- # Should a title be sent on redeem?
- send title: true
- # Should an actionbar be sent on redeem?
- send actionbar: true
- # Default title to be sent on redeem
- title: '&e&lVoucher Redeemed!'
- # Default subtitle to be sent on redeem
- subtitle: '&eYou redeemed the %voucher_id% voucher!'
- # Default actionbar to be sent on redeem
- actionbar: '&e%voucher_id% voucher redeemed'
- # Default fadein time in seconds for a voucher
- title fade in: 1
- # Default stay time in seconds for a voucher
- title stay: 2
- # Default fadein time in seconds for a voucher
- title fade out: 1
- # Default commands to be ran on voucher redeem
- commands:
- - heal %player%
- # Default messages to be broadcast to the server
- # If empty, nothing will be sent
- # %voucher_id% -> the id of the voucher
- # %voucher_title% -> the display name of the voucher
- broadcast messages:
- - '&e%player% redeemed the %voucher_id% voucher'
- # Default messages to be sent to the player on voucher redeem
- # If empty, nothing will be sent
- # %voucher_id% -> the id of the voucher
- # %voucher_title% -> the display name of the voucher
- player messages:
- - '&eYou redeemed the %voucher_id% voucher'
- # The default sound to be played on redeem
- redeem sound: ENTITY_EXPERIENCE_ORB_PICKUP
- # Should this voucher have a cooldown on it's use
- use cooldown: true
- # How many seconds must a player wait before they can use this voucher after redeeming one
- cooldown time: 3
- gui:
- back button:
- # Settings for the back button
- item: ARROW
- name: '&e<< Back'
- lore:
- - '&7Click the button to go'
- - '&7back to the previous page.'
- close button:
- # Settings for the close button
- item: BARRIER
- name: '&cClose'
- lore:
- - '&7Click to close this menu.'
- next button:
- # Settings for the next button
- item: ARROW
- name: '&eNext >>'
- lore:
- - '&7Click the button to go'
- - '&7to the next page.'
- confirm gui:
- title: '&a&lConfirm Redeem?'
- items:
- 'yes':
- material: LIME_STAINED_GLASS_PANE
- name: '&a&lRedeem'
- lore:
- - '&7Click to redeem voucher'
- 'no':
- material: RED_STAINED_GLASS_PANE
- name: '&c&lCancel'
- lore:
- - '&7Click to cancel redeeming the voucher'
- list gui:
- title: '&eListing Vouchers'
- bottom bar:
- # Settings for the bottom bar
- item: LIGHT_GRAY_STAINED_GLASS_PANE
- name: ''
- lore:
- - ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement