23.01.2019, 17:42
Hi,
I've a few questions related to MySQL.
I don't think it's a good use of MySQL to store such information and I should use INI or CFG files. But, I wish to keep everything all-together in one database. And the data is supposed to be updated on server shutdown or during the runtime.
I've a few questions related to MySQL.
- What's the BEST way to store player records (IP, admins, bans, etc)
- And, what's the best way to store configuration data in the database? Such as:
PHP Code:
CREATE TABLE IF NOT EXISTS "#TABLE_SERVER_CFG" (\
`weather` INTEGER, \
`time` INTEGER, \
`double_score` INTEGER, \
`motd` VARCHAR(100), \
`amotd` VARCHAR(100)\
)
