You are viewing our Forum Archives. To view or take place in current topics click here.
MySQL with Minecraft Plugin and Forums?
Posted:

MySQL with Minecraft Plugin and Forums?Posted:

MD5
  • Rising Star
Status: Offline
Joined: Jan 26, 201113Year Member
Posts: 705
Reputation Power: 31
Status: Offline
Joined: Jan 26, 201113Year Member
Posts: 705
Reputation Power: 31
I'm looking into making a Server, and I can't find another server like it so I am pretty confident about it and I had an idea that when you get a kill in-game, you get awarded points, and them points get stored in a MySQL database and they then can be displayed in the forums on your profile and you can send the points in the forum store on items to help you in the game, but I don't know how to start coding the plugin to work with MySQL to report points to the database, does anyone know if this can be done and give an insight on how? I would really appreciate it.

-MD5

The following 1 user thanked MD5 for this useful post:

Pummpy1 (10-20-2013)
#2. Posted:
7en
  • V5 Launch
Status: Offline
Joined: Aug 16, 201211Year Member
Posts: 598
Reputation Power: 29
Status: Offline
Joined: Aug 16, 201211Year Member
Posts: 598
Reputation Power: 29
If I were you, I'd add a few more columns to the forum's user table for all your minecraft needs (give your MC client access via whatever MySQL plugin you're using). From there I'd find out how the award system works. There shouldn't even be any need to adapt to the forum's API - it just reads whatever exists in the database.

So, find whatever columns the award system applies to and give your MC client the permissions to UPDATE said columns with whatever awards they need.

Of course this is very theoretical, but any dev should be able to adapt ;) Then again you did ask for some insight, not a tutorial.

Good luck!
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.