I'm proposing addition of simple database api to the core / mc-server (that'd be a better idea but, I most likely won't have time to do it):
GetUserSetting(username, settingname)
SetUserSetting(username, settingname, value)
And, possibly support for sqlite transactions
StartSettingsTransaction()
EndSettingsTransaction()
The table structure would be simple: UserName SettingName Value
It'd solve persistent storage of things like god-mode, money, or any other player-related value in a simple way.
Ps. Do we want /mail in Core?
GetUserSetting(username, settingname)
SetUserSetting(username, settingname, value)
And, possibly support for sqlite transactions
StartSettingsTransaction()
EndSettingsTransaction()
The table structure would be simple: UserName SettingName Value
It'd solve persistent storage of things like god-mode, money, or any other player-related value in a simple way.
Ps. Do we want /mail in Core?