Sueta
FV

fVoucher - The Ultimate Voucher Plugin

1.1-SNAPSHOT

An easy to use voucher plugin.

·Plugin

Features:

● PlaceholderAPI support
● Hex colors support
● You can change types of messages (TITLE, SUBTITLE, CHAT, ACTIONBAR)
●
You can choose how to use the voucher (interact or command)

Commands:

● /vouchers list
● /vouchers reload
● /vouchers give <name> <player>

Permissions:
● admin.voucher (You can chnage this permission in config)

config.yml
permission: 'admin.vouchers'
redeem_voucher:
  action: true
  command: true
messages:
  #Types of messages:
  #CHAT, TITLE, TITLE_SUBTITLE, SUBTITLE, ACTIONBAR, CHAT
  no_permissions:
    type: SUBTITLE
    message: "&cYou don`t have permissions to do this!"
  correct_use:
    type: TITLE
    message: "&cUsage&8: &7/voucher <list/give/gui/create> <name> <player>"
  added_voucher:
    type: ACTIONBAR
    message: "&aVoucher {VOUCHER} has been added to your inventory!"
  doesnt_exists:
    type: CHAT
    message: "&cVoucher {VOUCHER} doesnt exists!"
  offline_player:
    type: ACTIONBAR
    message: "&cPlayer {PLAYER} is offline!"
  added_voucher_other_player:
    type: CHAT
    message: "&aYou have added voucher {VOUCHER} to player {PLAYER}!"
  use_voucher:
    type: TITLE
    message: "&aYou have redeemed {VOUCHER} voucher!"

You can create custom vouchers in file vouchers.yml

vouchers.yml
vouchers:
  test:
    #here is the commands for the voucher
    command: 'give {PLAYER} dirt'
    item:
      #here is the name for the voucher
      displayname: "&bTest Voucher"
      #here is the material for the voucher
      material: BOOK
      #here is the lore for the voucher
      lores:
        - ""
        - " &7Click the voucher to activate!"
        - ""

Soon...

● Simple voucher manager in GUI
● Custom head support
● MySQL support

Similar projects

Plugin →