summaryrefslogtreecommitdiff
path: root/builtin/game/auth.lua
Commit message (Collapse)AuthorAge
* Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid2020-05-23
| | | | | | Replace on_auth_fail callback with more versatile on_authplayer Better clarify account login process in Lua API documentation Change initial timestamp for newly registered accounts to -1
* Replace auth.txt with SQLite auth database (#7279)Ben Deutsch2018-08-05
| | | | * Replace auth.txt with SQLite auth database
* Builtin auth handler: Speed up file writing (#7252)SmallJoker2018-04-19
|
* Auth handler: Player deletion & Iterator (#6741)sfan52017-12-06
| | | | | | | | * Add player deletion method to auth handler (fixes #6653) * Support iterating over the auth database There was no way to do this previously and a recent commit broke doing this the "hacky" way by accessing `core.auth_table`.
* Make core.auth_table private and structure builtin/auth.luasfan52017-12-01
| | | | If you give modders the ability to do something, they will...
* Make use of safe file writing in auth handler (fixes #6576)sfan52017-11-08
|
* Do not grant all privs to the admin - changes game behavior (#6460)lhofhansl2017-10-07
| | | | | | * Do not grant all privs to admins. * Default give_to_admin to give_to_singleplayer
* Add on_grant and on_revoke callbacks (#4713)rubenwardy2017-08-26
| | | | | | * Add register_on_priv_grant/revoke, and on_grant/revoke to privs. Call from /grant and /revoke * Call on_grant and on_revoke callbacks from set_privs
* [CSM] Add function to get player privileges (#5933)red-0012017-06-07
| | | | | | * [CSM] Add function to get player privileges + move related help functions to common * Added @Zeno- const
* Use a settings object for the main settingsShadowNinja2017-05-06
| | | | | | | This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
* Builtin: Disallow registering users with the same nameSmallJoker2016-08-29
| | | | | Prevents duplicate names: 'NickName', 'nickname', 'NICKNAME'. Skips already registered users, so they can connect as usual.
* Faster insertion into tableRui9142016-03-06
|
* SAPI: Track last executed mod and include in error messageskwolekr2015-08-12
|
* Add strict moduleShadowNinja2014-11-19
| | | | Also fix leaking globals found by it.
* Add last_login field to auth.txtRyan Newell2014-11-08
| | | | Also shortens some related code and adds more parameters to string.split.
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Organize builtin into subdirectoriesShadowNinja2014-05-07