CommandCoupon 1.2.5

Allow staff to hand out coupons that run commands!

  1. TheTealViper
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    [​IMG]

    Purpose
    CommandCoupon is meant to be a way for server staff to reward players in a way that is flexible for the player base. What the players decide to do with their coupons is up to them. This is the free version so there are less advanced features but the plugin still works nonetheless :)

    Requirements
    Java 8

    [​IMG]

    ⟹ Generate Random Coupons
    Upon redemption of these coupons, a command will be run with full permissions for the player. The coupon's length can be configured and will consist of letters and numbers depending on how the config is set up.

    ⟹ Not Tied To Players
    Each coupon isn't tied to any player in any way. If he wants to sell it or gift it he may. If he wants to hold a giveaway with it he may.

    ⟹ Only Lowercase Letters
    The randomly generated coupons will only consist of lowercase letters rather than uppercase if this is toggled.

    ⟹ Multi-use Coupons
    Create coupons which can be used more than once for whatever reason you may have.

    ⟹ Manual Coupon Creation
    Have an idea for a witty coupon code that you want to use rather than random garbled nonsense? Well with this you can :)

    [​IMG]

    (N/A) - /commandcoupon redeem <coupon> - Redeems a coupon

    (commandcoupon.staff) - /commandcoupon generate <command> - Generates a redeemable coupon.

    (commandcoupon.staff) - /commandcoupon setuse <coupon> <#> - Sets the amount of uses of a coupon.

    (commandcoupon.staff) - /commandcoupon create <coupon> <command> - Manually creates a coupon.

    Permissions
    commandcoupon.staff - Gives access to all staff commands

    Issues

    • None reported
    [​IMG]
    Code (Text):

    ##########################################################
    #                        Features                        #
    ##########################################################

    #Create command coupons
    #Redeem command coupons

    ##########################################################
    #                  CommandCoupon Config                  #
    ##########################################################

    Coupon_Length: 8
    #This is the length that the coupons will be
    #For plugin speed and long term use, bigger numbers are better.
    #For player ease of use and simplicity, smaller numbers are better.

    Allow_Numbers: true
    #This will put numbers into the coupons

    Allow_Letters: true
    #This will put letters into the coupons

    ##########################################################
    #                      Permissions                       #
    ##########################################################

    # commandcoupon.staff - Gives staff permission to create coupons.

    ##########################################################
    #                        Version                         #
    ##########################################################

    VERSION: 1
    #Do not touch this. No touchy.
     

    [​IMG]
    Support me (a college student) @
    _- https://paypal.me/AaronSkeels -_
    chris125 likes this.