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.
-
View User Profile
-
Send Message
Posted Apr 24, 2016@AngrySoundTech
Hi how can i do this now?
-
View User Profile
-
Send Message
Posted Mar 1, 2016Adding 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.
-
View User Profile
-
Send Message
Posted Nov 13, 2015Can you please make it go on a piece of paper :D
-
View User Profile
-
Send Message
Posted Sep 30, 2015@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
-
View User Profile
-
Send Message
Posted Sep 30, 2015how to create unlimted coupons?
-
View User Profile
-
Send Message
Posted Jul 7, 2015@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
-
View User Profile
-
Send Message
Posted Jul 7, 2015@vanthoi
Translations can be submitted here: http://translatecc.drevelopment.com/
-
View User Profile
-
Send Message
Posted Jul 7, 2015Please 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!
-
View User Profile
-
Send Message
Posted Jun 3, 2015how to create unlimted coupons?
-
View User Profile
-
Send Message
Posted Mar 3, 2015@Camaroz1
Time is the amount of seconds before the coupon expires. Arguments enclosed in []s are optional.
-
View User Profile
-
Send Message
Posted Mar 3, 2015can 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.
-
View User Profile
-
Send Message
Posted Feb 10, 2015For 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.
-
View User Profile
-
Send Message
Posted Feb 7, 2015Could you add a coupon type that runs a command on redeeming? /coupon add comm <Coupon name/random> <command> [use times] [time]
Thanks! :)
-
View User Profile
-
Send Message
Posted Feb 3, 2015@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.
-
View User Profile
-
Send Message
Posted Feb 3, 2015i 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
-
View User Profile
-
Send Message
Posted Jan 24, 2015Please support 1.7.9
-
View User Profile
-
Send Message
Posted Sep 13, 2014@theory18
I second this.
And is it possible to make a coupon that give the player both money and objekts?
-
View User Profile
-
Send Message
Posted Aug 27, 2014Could you please add the feature to use a console command upon redeeming a coupon?
-
View User Profile
-
Send Message
Posted Apr 19, 2014Please add features random Code Generator
i Need
-
View User Profile
-
Send Message
Posted Mar 3, 2014Does the plugin need a MySQL or SQLite server in order to run?