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) :
Could you upload this plugin to Github or make uuid support?
Can 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.
Hello 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'); "
@bartdaniels
The page does not work ):
I 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
If anyone is taking over this project, please let us know! (:
Yes please, github would be great!
I 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.
@neoteknic
Could you add enchantments support? It would be very nice.
Does 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.
Thank you so much! :D
@bjornleijdstrom
Update for 1.4.7 done :-)
Does anyone wanna update this? Stopped working on 1.4.7 ): teh_jombi maybe?
Here, 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.
Will it be updated to 1.4.2??
A version for 1.4.2 would also be nice :D
please update to 1.3 asap!
when 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.
How about enchant for items? (very actuality)
You 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.