For a long time, I have been thinking about replacing the admin.dat with a MySQL database.
There are a number of reasons for this:
- Easier to manage
- More organized
- Easier to integrate with other services
It would be easier to manage because there are already a number of external tools for dealing with MySQL, such as MySQL Administrator or phpMyAdmin
It would be more organized, because each separate part of admin.dat could be put into its own table. Eg admins, bans, commands, levels. All these would be in one schema.
In each, everything would be in row-column format, as this is basically how MySQL works.
Finally, it would be easier to integrate with other services, such as a ban viewer website or admin list.
We have thought of a few security things already, such as salting the GUIDs so they cannot be stolen, as well as other ideas.
Full discussion thread here:
http://forums.sstcentral.com/index.php?showtopic=4728The patch is there, albeit hard to find. I hope slacker will post it as an attachment soon. In the mean time, its on fsm, and in a branch of fsm
------
If you are just going to say “This is stupid” or any derivative of such, move on, this is not for you. This includes “why use MySQL”
If you are looking to provide useful criticism, such as “seems you overlooked blah” or “i found a bug”, feel free!