Simple Vouchers | Complete Recode | 100% Configurable| BETA 2.01

A simple and lightweight voucher plugin.

  1. mlefeb01
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    voucher2.png
    commands.png
    gui.png
    menu.png
    redeemed.png


    voucher3.png
    Light weight
    Easy to use
    Configurable down to the messages/permissions
    Unlimited vouchers
    Free (while in beta)
    Frequent Updates
    Quick Support
    required.png
    ItemNBTAPI - https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/
    voucher4.png
    Code (Text):
    permission: "voucher.admin" - permission for all voucher commands

    Voucher Commands:
    /voucher: Opens help menu
    /voucher help: Opens help menu
    /voucher list: Lists the available vouchers
    /voucher gui: Lists the available vouchers in a GUI
    /voucher give <player> <voucher>: Gives the target player 1 of the specified voucher
    /voucher give <player> <voucher> <amount>: Gives the target player the specified voucher x amount of times
    /voucher all <voucher> <amount>: Gives every online player the specified voucher x amount times
    /voucher reload: Reloads the plugin
     
    voucher5.png
    Code (Text):

    #the permission to be able to use any voucher commands, e.g. - voucher give, voucher list, voucher help
    vouchers-permission: "vouchers.admin"

    #true/false whether you can use vouchers in creative mode
    block-creative-vouchers: true

    #Edit the name/lore of the items in the confirmation menu
    confirmation-menu:
      confirm:
        name: "&a&lCONFIRM"
        lore:
          - "&aClick this to confirm using this voucher"
      deny:
        name: "&c&lDENY"
        lore:
          - "&cClick this to cancel using this voucher"
      filler-item:
        item: STAINED_GLASS_PANE
        item-id: 15
     
    Code (Text):

    #======================================================================================================================#
    #                                               IMPORTANT INFORMATION                                                  #
    #======================================================================================================================#
    # - %player% - this placeholder replaces the player who right clicks the item.                                         #
    #======================================================================================================================#
    #                                                    USEFUL LINKS                                                      #
    #======================================================================================================================#
    # - Material Names:                                                                                                    #
    #  http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Material.html                                                        #
    # - Potion Item Ids:                                                                                                   #
    #  https://minecraftitemids.com/types/potion                                                                           #
    # - Player Heads database:                                                                                             #
    #  https://minecraft-heads.com/player-heads                                                                            #
    # - Mob Egg Item IDS:                                                                                                  #
    #  https://www.minecraftforum.net/forums/minecraft-java-edition/redstone-discussion-and/2284894-give-id-for-spawn-eggs #
    # - Sounds (BE AWARE THAT SOME SOUNDS ARE SPECIFIC TO CERTAIN VERSIONS OF MINECRAFT) :                                 #
    #  https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html                                                      #
    # - Firework Types:                                                                                                    #
    #  BALL_LARGE, BALL, BURST, CREEPER, STAR                                                                              #
    # - Colors (for color and fade) :                                                                                      #
    #  AQUA, BLACK, BLUE, FUCHSIA, GRAY, GREEN, LIME, MAROON, NAVY, OLIVE, ORANGE, PURPLE, RED, SILVER, TEAL, WHITE, YELLOW#
    #======================================================================================================================#
    vouchers:
      Starter:
        type: item
        item: CHEST
        item-id: 0
        name: "&e&l*** Starter Pack ***"
        lore:
          - "&7Right click to redeem the Starter"
          - "&7pack!"
          - "&7Contains:"
          - "  &fBread x16"
          - "  &fWood x16"
          - "  &fBoat x1"
        confirmation-menu: true
        permission:
          enabled: false
          permission: voucher.starter
        sound:
          enabled: true
          sound: BLOCK_ANVIL_PLACE
          volume: 10
          pitch: 1
        firework:
          enabled: true
          flicker: true
          trail: true
          type: BALL_LARGE
          color: ORANGE
          fade-color: YELLOW
          power: 0
        commands:
          1:
            chance: 100
            command: "give %player% bread 16"
          2:
            chance: 100
            command: "give %player% wood 16"
          3:
            chance: 100
            command: "give %player% boat 1"
        messages:
          - "&7Welcome to the server!"
        broadcasts:
          - "&6%player% &fredeemed a &e&l*** Starter Kit ***"

      Ores:
        type: item
        item: GOLD_PICKAXE
        item-id: 0
        name: "&b&l*** ORES PACK ***"
        lore:
          - "&7Right click to redeem the Ores"
          - "&7pack!"
          - "&7Contains:"
          - "  &fCoal x16"
          - "  &fIron x16"
          - "  &fGold x1"
        confirmation-menu: false
        permission:
          enabled: false
          permission: voucher.ores
        sound:
          enabled: false
          sound: BLOCK_ANVIL_FALL
          volume: 10
          pitch: 1
        firework:
          enabled: false
          flicker: true
          trail: false
          type: BURST
          color: ORANGE
          fade-color: YELLOW
          power: 0
        commands:
          1:
            chance: 100
            command: "give %player% coal 16"
          2:
            chance: 100
            command: "give %player% ironingot 16"
          3:
            chance: 100
            command: "give %player% goldingot 1"
        messages:
          - "&7Welcome to the server!"
        broadcasts:
          - "&6%player% &fredeemed a &e&l*** Starter Kit ***"

      Potions:
        type: item
        item: POTION
        item-id: 16421
        name: "&a&l*** POTION PACK ***"
        lore:
          - "&7Right click to redeem the Potion"
          - "&7pack!"
          - "&7Contains:"
          - "  &fHealth Potion II"
          - "  &fRegeneration Potion II"
          - "  &fSpeed Potion II"
        confirmation-menu: false
        permission:
          enabled: true
          permission: voucher.potion
        sound:
          enabled: false
          sound: BLOCK_ANVIL_FALL
          volume: 10
          pitch: 1
        firework:
          enabled: false
          flicker: true
          trail: false
          type: BURST
          color: ORANGE
          fade-color: YELLOW
          power: 0
        commands:
          1:
            chance: 100
            command: "give %player% 373:8229 1"
          2:
            chance: 100
            command: "give %player% 373:8226 1"
          3:
            chance: 100
            command: "give %player% 373:8289 1"
        messages: []
        broadcasts:
          - "&6%player% &fredeemed a &a&l*** Potion Kit ***"

      LetsGetThisBread:
        type: skull
        player: "_Grime"
        name: "&5&l*** Get This Bread ***"
        lore:
          - "&7Righ click to get this bread!"
        confirmation-menu: true
        permission:
          enabled: true
          permission: voucher.bread
        sound:
          enabled: false
          sound: BLOCK_ANVIL_FALL
          volume: 10
          pitch: 1
        firework:
          enabled: false
          flicker: true
          trail: false
          type: BURST
          color: ORANGE
          fade-color: YELLOW
          power: 0
        commands:
          1:
            chance: 100
            command: "give %player% bread 64"
        messages: []
        broadcasts:
          - "&5&l%player% JUST GOT THE BREAD!"

      ColorBlocks:
        type: skull
        player: "Roostoak"
        name: "&c&l*&6&l*&e&l* &2&lR&b&la&5&li&c&ln&6&lb&e&lo&2&lw &b&lP&a&la&5&lc&6&lk &c&l*&6&l*&e&l*"
        lore:
          - "&7Righ click to receive colored blocks!"
        confirmation-menu: true
        permission:
          enabled: true
          permission: voucher.colorblocks
        sound:
          enabled: false
          sound: BLOCK_ANVIL_FALL
          volume: 10
          pitch: 1
        firework:
          enabled: false
          flicker: true
          trail: false
          type: BURST
          color: ORANGE
          fade-color: YELLOW
          power: 0
        commands:
          1:
            chance: 100
            command: "give %player% wool:14 16"
          2:
            chance: 100
            command: "give %player% wool:1 16"
          3:
            chance: 100
            command: "give %player% wool:4 16"
          4:
            chance: 100
            command: "give %player% wool:13 16"
          5:
            chance: 100
            command: "give %player% wool:11 16"
          6:
            chance: 100
            command: "give %player% wool:10 11"
          7:
            chance: 100
            command: "give %player% wool:6 10"
        messages: []
        broadcasts:
          - "&d&l%player% redeemd a colored blocks pack!"

      Developer:
        type: skull
        player: "mlefeb01"
        name: "&d&l*** Plugin Developer ***"
        lore:
          - "&7Right click to pay respects to"
          - "&7the developer of this plugin!"
        confirmation-menu: false
        permission:
          enabled: false
          permission: voucher.developer
        sound:
          enabled: false
          sound: BLOCK_ANVIL_FALL
          volume: 10
          pitch: 1
        firework:
          enabled: false
          flicker: true
          trail: false
          type: BURST
          color: ORANGE
          fade-color: YELLOW
          power: 0
        commands:
          1:
            chance: 100
            command: "broadcast check out mlefeb01 on spigot!"
          2:
            chance: 100
            command: "broadcast Thanks for downloading, give it a 5 star!"
        messages: []
        broadcasts: []


     
    Code (Text):

    #Do not remove the %vouchers% placeholder or the vouchers wont appear in the msg
    list-vouchers-format: "&7Available Vouchers: &9[&b%vouchers%&9]"

    #message that is sent to a player who tries to redeem a voucher in creative mode (if enabled in config.yml)
    no-creative-voucher: "&c(!) You can't use vouchers in creative mode!"

    voucher-help:
      - "&8&m---------------------------------------------"
      - "&eVoucher Commands:"
      - "&7/voucher help&f: Opens this menu."
      - "&7/voucher list&f: Lists the available vouchers."
      - "&7/voucher gui&f: Lists the available vouchers in a GUI."
      - "&7/voucher give <player> <voucher>&f: Gives the target player 1 of the specified voucher."
      - "&7/voucher give <player> <voucher> <amount>&f: Gives the target player the specified voucher x amount of times."
      - "&7/voucher all <voucher> <amount>&f: Gives every online player the specified voucher x amount times."
      - "&7/voucher reload&f: Reloads the plugin."
      - "&8&m---------------------------------------------"

    #incorrect usage message
    incorrect-usage: "&c(!) Incorrect Usage, try /voucher help."

    #no-permission message
    no-permission-command: "&c(!) You don't have permission to use this command!"

    #the message sent to the player who gives the voucher
    voucher-give-message: "&8(&c!&8) &7You have given %player% a voucher!"
    #the message sent to the player who receives the voucher
    voucher-recieved-message: "&8(&e!&8) &7You have received a voucher!"

    #reloading the plugin
    reload-message: "&aVouchers has been reloaded!"

    #When a player clicks cancel in the voucher gui
    vouchers-cancel: "&cYou have cancelled using this voucher!"

    #When a player tries to open a gui page when they dont have that many vouchers
    invalid-gui-page: "&c(!) Invlalid GUI page!"

    # no permission to use a voucher
    no-permission-voucher: "&c(!) You don't have permission to use this voucher!"
     

    voucher6.png
    Code (Text):
    Give vouchers glow effect
    In depth error messages for commands

    If you would like something added to this plugin, do not hesitate to ask!

    Feel free to add me for support
    My discord -> Matt#1245

Recent Reviews

  1. bloodslayerex
    bloodslayerex
    5/5,
    Version: 2.0
    Great plugin with even better support. I recommend this to anyone that needs vouchers.
  2. gary81013
    gary81013
    5/5,
    Version: 1.3
    Great plugin, and the configuration is easy to use, I hope the item can have enchant lighting effect
  3. Sarinsle
    Sarinsle
    5/5,
    Version: 1.0
    Splendid work. Easy to use and pretty much does a pretty good job at what it is supposed to do. I would really like to see a config reload command, though.
  4. Silk_Touch
    Silk_Touch
    5/5,
    Version: 1.0
    10/10
    Easy to configure and great clean code. I am impressed. A great way to distribute items that people want. I will be using this for my server!