promotional bannermobile promotional banner

Coupons

Abandoned
Commands for giving/adding/trading permissions.

Coupons

Original Request Page

Github Source

Commands

/coupon list - to view your own held/owned coupons permissions: coupon.list

/coupon list [name] to view someone elses held/owned coupons permissions: coupon.listother

/coupon validate [couponname] to validate a coupon (From held -> owned) permissions: coupon.validate

/coupon add [playername] [couponname] to give someone a coupon permissions: coupon.add

/coupon gift [playername] [couponname] to gift someone a held coupon, or with the right permission an owned coupon permissions: coupon.gift, coupont.giftused

/coupon remove [playername] [couponname] to remove a coupon, either held or owned permissions: coupon.remove

Configuration

plugins/Coupons/config.yml

Example:
messages:
  enabled: Coupons enabled!
  disabled: Coupons disabled!
  create-config-fail: severeFailed to create default config! <error>
  save-config-fail: severeFailed to save config! <error>
  invalid-coupon: warn<couponname> is not a valid coupon
  validate-coupon: <player> validated the coupon <coupon>
  add-coupon: <player> added <coupon> to <reciever>
  gift-coupon: <player> gifted <coupon> to <reciever>
  remove-coupon: <remover> removed <coupon> from <removee>
  
  player:
    no-permission: \u00A7cYou don't have permission to do that
    player-and-console-only: You must be either a player or console to use that command.
    player-only: You must be a player to use that command
    not-holding-that-coupon: \u00A7cYou aren't holding a coupon by that name
    validate-coupon: \u00A7aCoupon validated!
    player-not-found: \u00A7cNo player by the name '<player>' found
    add-coupon: \u00A7aGave <reciever> <coupon>!
    recieve-coupon: \u00A7a<sender> gave you <coupon>!
    gift-coupon: \u00A7aGifted <reciever> <coupon>!
    recieve-gift-coupon: \u00A7a<sender> gifted you <coupon>!
    remove-coupon: \u00A7c<remover> removed your coupon '<coupon>'
Use

For editing the messages that are sent. This could still have more configuration if it becomes necessary later.

plugins/Coupons/coupons.yml

Example:
users:
  Notch:
    used:
    - kick
    holding:
    - ban
coupons:
  kick:
  - bukkit.command.kick
  - essentials.kick
  ban:
  - bukkit.command.ban
  - bukkit.command.kick
Use

For storing coupon information about users, as well as the different coupons

The Coupons Team

profile avatar
  • 3
    Projects
  • 14.8K
    Downloads

More from _ForgeUser812423

  • SignCart project image

    SignCart

    • 12.3K
    • Bukkit Plugins

    Easy transportation via minecarts with vault support

    • 12.3K
    • May 18, 2013
    • Bukkit Plugins
  • ButterBlock project image

    ButterBlock

    • 1.4K
    • Bukkit Plugins

    Seperate players who say butter/budder

    • 1.4K
    • May 9, 2013
    • Bukkit Plugins
  • SignCart project image

    SignCart

    • 12.3K
    • Bukkit Plugins

    Easy transportation via minecarts with vault support

    • 12.3K
    • May 18, 2013
    • Bukkit Plugins
  • ButterBlock project image

    ButterBlock

    • 1.4K
    • Bukkit Plugins

    Seperate players who say butter/budder

    • 1.4K
    • May 9, 2013
    • Bukkit Plugins