| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
* 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`.
|
|
|
|
| |
If you give modders the ability to do something, they will...
|
| |
|
|
|
|
|
|
| |
* Do not grant all privs to admins.
* Default give_to_admin to give_to_singleplayer
|
|
|
|
|
|
| |
* 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 + move related help functions to common
* Added @Zeno- const
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Prevents duplicate names: 'NickName', 'nickname', 'NICKNAME'.
Skips already registered users, so they can connect as usual.
|
| |
|
| |
|
|
|
|
| |
Also fix leaking globals found by it.
|
|
|
|
| |
Also shortens some related code and adds more parameters to string.split.
|
| |
|
|
|