-
Novice
[Help] Sql Database and voting system.
Hi, I was wondering if anyone could help me recreate this voting system these guys have WeiserCraft . If you vote for them you get 500 credits on their server.
Thanks
-
-
something
Re: [Help] Sql Database and voting system.
First of all you need to set up a database, which both the server and the website is connected to.
The database needs a players table, and a money field. When users vote on the webpage, the php code will set 500 coins into the field.
Since the webpage and the server shares the same db, they will both be updated.
If you are unsure how to create this sytem, then do some research on how to make plugins for bukkit, (Bukkit Forums, as they support sql dbs) and php / mysql.
-
Novice
Re: [Help] Sql Database and voting system.
I use iConomy and have the myspl database already set up. I just don't know how to do the php part I guess it is.
This is the table
-
Apprentice
Re: [Help] Sql Database and voting system.
-
Novice
Re: [Help] Sql Database and voting system.