Plugin Files

config.yml
#If this is set to true the plugin will add the prefix before every message!
#You can change the prefix in the lang.yml file
Use-Prefix: true
lang.yml
prefix: '&8[&6Infinite Vouchers&8] &7'
error-bad-amount: "The amount specified must be a number!"
error-bad-sound: "The sound specified for the voucher &e%voucher% &7doesn't exist!"
error-missing-item: "The voucher &e%voucher% &7doesn't have an item set to it!"
error-no-permission: "You need the permission &e%permission% &7to use this command!"
error-offline: "&e%player% &7is offline!"
error-specify-player: "You must specify a player!"
error-specify-voucher: "You must specify a voucher!"
error-unknown-voucher: "Unknown voucher &e%voucher%&7!"
voucher-given: "You've given &e%player% %amount%x %voucher% &7vouchers."
#Do not change this you could screw up the command!
vouchers: "%vouchers%"
vouchers.yml
Vouchers:
Heal:
Item: 'stick 1 name:&d&lStick_Of_Healing lore:&7&oRight-Click_to_receive_the_ability_of_/heal_for_60_seconds!'
Message: '%prefix% You can now heal yourself for 60 seconds!'
Commands:
Give-Permission:
Command: 'pex user %username% add essentials.heal'
Remove-Permission:
Command: 'pex user %username% remove essentials.heal'
Message: '%prefix% You can no longer heal yourself.'
Delay: 60
Diamonds:
Item: 'paper 1 name:&6&l5x_Diamond_Note lore:&7&oRight-Click_to_receive_3_Diamonds!/n&7&oYou_will_also_receive_2_Diamonds_in_10_seconds.'
Message: '%prefix% &7You''ve received 3 Diamonds!'
Commands:
Give:
Command: 'give %username% Diamond 3'
Delayed:
Command: 'give %username% Diamond 2'
Delay: 10
XP:
Item: 'experience_bottle 1 name:&6&l100_Experience lore:&7&oRight-Click_to_receive_100_EXP!'
Message: '%prefix% &7You''ve received 100 EXP!'
Commands:
Give:
Command: 'xp give %username% 100'