User settings API
#1
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?
Reply
Thanks given by:


Messages In This Thread
User settings API - by jan64 - 09-14-2014, 07:29 PM
RE: User settings API - by Howaner - 09-14-2014, 08:29 PM
RE: User settings API - by jan64 - 09-14-2014, 10:24 PM



Users browsing this thread: 1 Guest(s)