MineCoupon
MineCoupon
MineCoupon allow you to issue coupons. For each coupon, a code is generated that can be passed to one or more users. The user can simply enter the code and then the plugin executes the specified command.
System Requirements
- MineCoupon is ready for CraftBukkit 1.5.2 R1.0.
- MySQL Database (recommended)
Installation
- Copy MineCoupon.jar in your plugin directory
- Resart your server
- If needed: edit or replace config.yml to change the language
- Select the database type (sqlite or mysql)
- Fill in the accessdata for your MySQL database if selected
- If you don't want to install PluginMetrics set allowpluginmetrics: false
- Restart your server
Permissions
Type InGame: /coupon to get help.
- Allows users to redeem their coupon: minecoupon.use
- Allows users to list all coupons: minecoupons.list
- Allows users to create coupons: minecoupon.create
- Allows users to remove coupons: minecoupon.remove
- Check for Updates during join: minecoupon.checkupdate
(minecoupon.checkupdate is for Admins or OP's. The players with this permission will check for Updates when they join. Update won't be downloaded. It only gives a message.)
Commands
Type InGame: /coupon to get help.
- Apply Coupon: /coupon <couponcode>
- Create Coupon: /coupon create <applications> <valid_trough> <command> <multible_use>
- List Coupons: /coupon list
- Remove Coupon: /coupon remove <couponcode>
- <applications> ... How many times the coupon can be used. (use -1 for ∞)
- <valid_trough> .... Timeto make the coupon invalid (use second, minute, hour, day, week, month - e.g: 2week)
- <command> ....... Command that should be executed when redeeming. (instead of SPACE use ?)
- <multible_use> ....... Let the same player use the coupon multible times (parameter can be: true, false)
- To get playername in command use %player%
- To set more commands use ; - e.g: money?give?%player%100;op?%player%
e.g: /coupon create 1 1week deop?noch false This creates a coupon that can be used once. If the code is entered before 1 week after generation the command "deop noch" will be executed.
Information MineAdmin Collects
In order to offer some comfort features the plugin needs to collect data. In this part we will disclose all types of information collected by MineAdmin.
Check for Updates feature
Every time a permitted user enters the server MineAdmin checks if a newer version is available.
- Collected information: Pluginversion
- Information gets transmitted to: inapp.xtrsource.com
- The Webapp generates an answer (a simple string) that is read by the plugin. Nothing of the transmitted information is stored on our servers.
- To disable this function remove the permission (minecoupon.checkupdate) or set allowcheck_update: false in the config file.
Plugin Metrics
MineAdmin uses PluginMetrics in order to let us operate effectively and provide you the best plugins, services and experiences we can.
- PluginMetrics is a standard library that is also used by many other plugins. It collects anonymus data and transmitts it to mcstats.org.
- The collected data is displayed under: http://mcstats.org/plugin/MineCoupon
- To disable this library visit the PluginMetrics folder and set opt-out: true in the config file. (setting allowpluginmetrics to false in MineCoupon config. will prevent MineCoupon of creating a PluginMetrics folder and using the library if there are no other plugins - e.g. Essentials, LWC, dynmap, Vault, AuthMe, ChestShop, LogBlock - using PluginMetrics installed.)
Where do I get help?
- Create a ticket here at Bukkit (I'm looking forward to give you more options)
Languagefiles
- German: Download
- Spanish: Download (translated by yNeolh)
- Dutch: Download (translated by smeagleee)
- Simplified Chinese: Download (translated by zestybaby)
- Romanian: Download (translated by Florinmohican)
ToDo List
- Make create command more userfriendly
IMPORTANT
The old command /mc isn't used any more. Now it is /coupon.

[[|Download]]
-
View User Profile
-
Send Message
Posted Oct 23, 2012Could you update the wiki, what is the parameters for multiple uses?
-
View User Profile
-
Send Message
Posted Oct 23, 2012@segundo03
This was planed in V3.1 but there was a problem while selecting the database. Because of this problem the feature got removed. So this is a feature of the next version (V3.2). The release of V3.2 is planned in 5 days.
-
View User Profile
-
Send Message
Posted Oct 23, 2012Please make an flat file database.
-
View User Profile
-
Send Message
Posted Oct 21, 2012@zestybaby
Thank you! That is a great help.
-
View User Profile
-
Send Message
Posted Oct 20, 2012Just made a Simplified Chinese translation of this awesome plugin. If there's more translation please send PM to me, I'll do my best to help.
-
View User Profile
-
Send Message
Posted Oct 20, 2012@Enrux
The next update will come in about one to 2 weeks. That will be one of the new features.
-
View User Profile
-
Send Message
Posted Oct 19, 2012Nice plugin! Liked the option to have more than one cmd executed.
-
View User Profile
-
Send Message
Posted Oct 19, 2012@thomasraith
VERSION 3.0 RELEASED!
Ready for: CraftBukkit 1.3.2 R2.0.
-
View User Profile
-
Send Message
Posted Oct 19, 2012@yNeolh
I will offer an update today!
-
View User Profile
-
Send Message
Posted Oct 9, 2012A very cool Plugin i miss it so much please update! And can you probably implement the feature, that you can get up a rank by a coupon?
-
View User Profile
-
Send Message
Posted Sep 17, 2012Please update plugin, it is still working for 1.3.4 at my server but for some reason i cant get it running with tekkit, or does someone have a fix for this?
-
View User Profile
-
Send Message
Posted Aug 27, 2012Update plugin please!
-
View User Profile
-
Send Message
Posted Aug 26, 2012Too bad this plugin has become inactive. I really liked this but the mysql hasn't worked.
-
View User Profile
-
Send Message
Posted Jul 23, 2012@SPKuja
Seems to work for me. try this direct link: http://dev.bukkit.org/media/files/595/587/MineCoupon.jar
-
View User Profile
-
Send Message
Posted Jun 8, 2012Apparently the download file does not exist?
-
View User Profile
-
Send Message
Posted May 25, 2012Amazing plugin!!! Just one question It is possible to use commands like /kit or /manuadd from essentials or external plugins? Thanks in advance
-
View User Profile
-
Send Message
Posted May 23, 2012Hello, I really like this plugin only if i try to create a coupon it says this error:
(Currently testing at Built #2190 With ONLY minecoupon running, tried multiple versions)
Are you able to fix / help me with this.. Also i got the dutch translation for you:
-------EDIT:This problem was solved when i created a a local database instead of the External one + i took the special JRE7 Build
-
View User Profile
-
Send Message
Posted May 16, 2012This plugin is amazing! This is exactly what I need! THANK YOU!
-
View User Profile
-
Send Message
Posted May 13, 2012/mc create 1 -1 flight?on?%player%
Get this error
There was an erroy while edit the cupon. FAIL: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransistentConnectionException: No operations allowed after statement closed.
-
View User Profile
-
Send Message
Posted May 12, 2012I just found out my hosting service doesnt allow remote mysql connections :(
Is there any way you can make it so it isnt mysql? If not its ok