Redeem-mysql
This plugin make possible to inject items or money in a mysql table, players just have to enter the command /redeem to get the items associated with their account.
English or french version of the plugin.
How to use :
You need the mysql connector in your /lib/ folder of the server (you can find the connector on mysql site)
Your need the Vault plugin.
Drop the plugin in your /plugins folder (english or french version).
Run the server and close it!
Edit the config file in /plugins/Redeem with your MySQL host/login/pass
Run the server, it should create the redeem table in your DB, to give something to a player just insert the player name in the field "player", in the field "item" just insert the item ID (or item ID:damage value) a space and the amount, if you want to give money insert "money" istead of the item ID. Exemple : INSERT INTO redeem(player,item) VALUES ('john123','35:14 64'); Give 64 red wool to john123 (john have to type /redeem in game) INSERT INTO redeem(player,item) VALUES ('tim','money 742'); Give 742 euro to tim (if your money in game is 'euro')
Note : if a player cant redeem an item because his inventory is full, he don't lose it! He just have to make some room and type the commande again.
With this plugin you can make web shop like on my website (in french) : www.minecraft-addict.com test account : login = test , password = 123
Permission : redeem.get => allow to a group/player to use the redeem command.
To download it (alway the lastest version here! ), english, or french version (players messages are translated) :
-
View User Profile
-
Send Message
Posted Jul 17, 2014Could you upload this plugin to Github or make uuid support?
-
View User Profile
-
Send Message
Posted Sep 13, 2013Can I allocate item code and amount? From database table. I'm writing PHP market script for this plugin. Please help me. Sorry for bad english.
-
View User Profile
-
Send Message
Posted Aug 19, 2013Hello I have an idea for a new version of plugins redeem, to give xp example: to give xp normally "INSERT INTO redeem VALUES ('tim','xp800'); " or to give lvl "INSERT INTO redeem VALUES ('tim','xpL50'); "
-
View User Profile
-
Send Message
Posted Jun 8, 2013@bartdaniels
The page does not work ):
-
View User Profile
-
Send Message
Posted Jun 5, 2013I have created another plugin with the same functions. I couldn't get the source code for this one to modify for 1.5.2.
See: http://dev.bukkit.org/bukkit-mods/redeem-recoded/
In beta stage at current, but works with 1.5.2
-
View User Profile
-
Send Message
Posted May 3, 2013If anyone is taking over this project, please let us know! (:
-
View User Profile
-
Send Message
Posted Apr 9, 2013Yes please, github would be great!
-
View User Profile
-
Send Message
Posted Mar 19, 2013I dont really have time tu improve it, but I can plublish it on my svn or on github maybe ? If you wanna improve it, you can join this small project.
-
View User Profile
-
Send Message
Posted Mar 9, 2013@neoteknic
Could you add enchantments support? It would be very nice.
-
View User Profile
-
Send Message
Posted Mar 8, 2013Does this allow custom commands? and essentials give commands?
Suggestion: Slot detection. You could use a custom mysql camp "Slots" that when you register some redeem on the mysql you should register the slots needed to redeem that item. If user don't have suffiecient slots than cancel the command. This could allow developers and server owners to use custom commands instead of the ones you offer.
Thanks.
-
View User Profile
-
Send Message
Posted Mar 8, 2013Thank you so much! :D
-
View User Profile
-
Send Message
Posted Mar 8, 2013@bjornleijdstrom
Update for 1.4.7 done :-)
-
View User Profile
-
Send Message
Posted Mar 5, 2013Does anyone wanna update this? Stopped working on 1.4.7 ): teh_jombi maybe?
-
View User Profile
-
Send Message
Posted Nov 24, 2012Here, 1.4.5R0.2 Link Removed: http://www.mediafire.com/?m1mqaz2bgjw33ol
I have not tested it, so there may be bugs. Let me know if there's something wrong and maybe I can work on it some more if the original dev doesn't want to do the work.
-
View User Profile
-
Send Message
Posted Nov 12, 2012Will it be updated to 1.4.2??
-
View User Profile
-
Send Message
Posted Oct 31, 2012A version for 1.4.2 would also be nice :D
-
View User Profile
-
Send Message
Posted Aug 16, 2012please update to 1.3 asap!
-
View User Profile
-
Send Message
Posted Aug 16, 2012when is this update for 1.3.1? if I now use this I get the error that it is out date. it seem it is the API that is not working with 1.3.1. I cannot find the LIB folder too.
-
View User Profile
-
Send Message
Posted Jun 14, 2012How about enchant for items? (very actuality)
-
View User Profile
-
Send Message
Posted Jun 9, 2012You must insert a row for each items. I can send you the source code if you want to improve the plugin to add an insert command (it's not the main function, this plugin is great with a web item shop), to add enchanted items and to add a onplayerjoin event. I use this plugin on my server and I dont need other functions, I dont have much time to improve it, but just PM me I will send you the source code.