lhofhansl
d386586201
Do not grant all privs to the admin - changes game behavior ( #6460 )
...
* Do not grant all privs to admins.
* Default give_to_admin to give_to_singleplayer
2017-10-07 15:12:09 +02:00
rubenwardy
096ea031de
Add on_grant and on_revoke callbacks ( #4713 )
...
* 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
2017-08-26 08:17:05 +02:00
red-001
c91a8c7061
[CSM] Add function to get player privileges ( #5933 )
...
* [CSM] Add function to get player privileges + move related help functions to common
* Added @Zeno- const
2017-06-07 09:09:06 +02:00
ShadowNinja
43d1f375d1
Use a settings object for the main settings
...
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.
2017-05-06 15:33:19 -04:00
SmallJoker
51e13ae588
Builtin: Disallow registering users with the same name
...
Prevents duplicate names: 'NickName', 'nickname', 'NICKNAME'.
Skips already registered users, so they can connect as usual.
2016-08-29 00:58:39 +01:00
Rui914
24e8b0ac1e
Faster insertion into table
2016-03-06 23:42:04 +00:00
kwolekr
2b04ab874d
SAPI: Track last executed mod and include in error messages
2015-08-12 23:56:12 -04:00
ShadowNinja
a6ba042cf7
Add strict module
...
Also fix leaking globals found by it.
2014-11-19 12:40:54 -05:00
Ryan Newell
90b6de173e
Add last_login field to auth.txt
...
Also shortens some related code and adds more parameters to string.split.
2014-11-08 12:49:50 -05:00
ShadowNinja
c4359ff65c
Use "core" namespace internally
2014-05-08 13:02:04 -04:00
ShadowNinja
1cd512913e
Organize builtin into subdirectories
2014-05-07 17:14:23 -04:00