CouponCodes
View the Javadocs
View the Documentation
View the source code on Github
Download the latest version on Github
View the source code on Github
Aid in translating this project on Crowdin
What is this plugin?
CouponCodes allows you to create and redeem codes and coupons. The coupons can give you multiple items, economy money, or even in-game ranks. You can customize each coupon such as how many times it can be used and for how long it can be used.
Features
- Create coupons to give items, xp, ranks, econonmy money, or run commands
- Simple Commands
-
Database Support
-
Bukkit
- SQLite
- MySQL
-
CanaryMod
- Canary built-in database
-
Bukkit
- API For developers
Requirements
-
Bukkit
- Vault (Optional)
- Some Form of Permissions
-
CanaryMod
- None
Commands and Permissions
Command | Permission | Description |
---|---|---|
/coupon | Displays commands for this plugin | |
/coupon add item <name/random> <item1:amount,item2:amount,...> | cc.add | Adds a coupon to redeem an item |
/coupon add econ <name/random> <money> | cc.add | Adds a coupon to redeem an amount of economy money |
/coupon add rank <name/random> <group> | cc.add | Adds a coupon to redeem a rank |
/coupon add xp <name/random> <xp> | cc.add | Adds a coupon to redeem xp |
/coupon time <time> | cc.time | Changes the time of a coupon |
/coupon uses <uses> | cc.time | Changes the uses of a coupon |
/coupon remove <name> | cc.remove | Removes a coupon |
/coupon redeem <name> | cc.redeem | Redeems a coupon |
/coupon list | cc.list | Shows available coupons |
/coupon info [name] | cc.info | Shows information about a coupon |
Additional Permissions
Permission | Description |
---|---|
cc.* | Gives access to all commands |
This plugin utilizes Plugin Metrics for collecting statistics about this plugin and usage. These stats can be viewed here.
@AngrySoundTech
Hi how can i do this now?
Adding commands anytime soon?
example:
/coupon add command <name/random> </command>
When the coupon is redeemed it will run the commands added. Thoughts?
edit: I'm so stupid, might be an idea adding it to the page that it supports commands.
Can you please make it go on a piece of paper :D
@Tiippex
For now, just set it to a high number. A true "infinite coupon" feature will be included in version 3.2.1, and the issue can be tracked here: #23
how to create unlimted coupons?
@AngrySoundTech
I'm haved edit file java .jar with add file language packs into folder locale it is the work!
But it is not supports utf-8
I'm the VietNam
@vanthoi
Translations can be submitted here: http://translatecc.drevelopment.com/
Please update your language directory and supports utf-8
I created a folder locale and add language packs into it but it does not work!
I'm the edit file with add file language packs into folder locale it is the work!
Thank!
how to create unlimted coupons?
@Camaroz1
Time is the amount of seconds before the coupon expires. Arguments enclosed in []s are optional.
can you make it gen many codes in 1 cmd and store it in a .txt file?
btw, i do a cmd /coupon add xp random 100 1 10 what is the <time> meaning? when i use /coupon <code> gen from that, it showing i cant redeem with that code.
For server owners and everyone requesting that I add COMMAND COUPONS, please read through and comment on the issue on the GitHub tracker here. I would like input from users on this.
Could you add a coupon type that runs a command on redeeming? /coupon add comm <Coupon name/random> <command> [use times] [time]
Thanks! :)
@ZekkyPooh14
This plugin already has a random code generator, use "random" as the name. Also, source code is already available, and is the first link on this project page.
i was just wondering if i could happen to get the source code of this plugin because i wanna try to add a random code generator
Please support 1.7.9
@theory18
I second this.
And is it possible to make a coupon that give the player both money and objekts?
Could you please add the feature to use a console command upon redeeming a coupon?
Please add features random Code Generator
i Need
Does the plugin need a MySQL or SQLite server in order to run?