Open thehonker opened 2 years ago
Can't believe I can't find this as an existing thing.
sm_listadmins -> Print a human-friendly list of the admin cache and their flags to console No chat command necessary +a required to run command
sm_listadmins
+a
Example:
> sm_listadmins name auth identity flags immunity groups goos steam <steamid> abcdefghijkmrpq 5 serverop, halfop, member, donor fliz steam <steamid> apq 0 member, donor
The name field should come from the sourcemod admin name, not the steam display name
name
authtype, identity, immunity, groups, and field padding are nice to haves, name and flags are the only must-haves.
Interestingly it doesnt look like sourcemod exposes a way to access the admin cache
Can't believe I can't find this as an existing thing.
sm_listadmins
-> Print a human-friendly list of the admin cache and their flags to console No chat command necessary+a
required to run commandExample:
The
name
field should come from the sourcemod admin name, not the steam display nameauthtype, identity, immunity, groups, and field padding are nice to haves, name and flags are the only must-haves.