Coupons
Coupons
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
Will you be continually updating this plugin? If so I would very much like to use it as part of my server build :)
Hello
So with this plugin, I am able for example, if someone donated to receive XP, they can be given an coupon for 200XP and validate it to receive the XP?
Once validating, they are not able to do it again?