22.02.2015, 07:29
Look through the database for all UPDATE or INSERT INTO queries, check which fields it updates or inserts into and what table that specifically is. Write it down on a piece of paper and now you have the fields, however you'll lack a primary key in each table, add that on top of it all and you're set.
EDIT: It might be useful to mention that you can actually do something called CREATE TABLE IF NOT EXISTS - which you can use to make sure your gamemode always creates the tables when they don't exist and no longer have to worry about wether they exist in the first place.
EDIT: It might be useful to mention that you can actually do something called CREATE TABLE IF NOT EXISTS - which you can use to make sure your gamemode always creates the tables when they don't exist and no longer have to worry about wether they exist in the first place.