-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
if player is in X steam group, give Y sourcemod admin group
Polling vs onconnect: onconnect will increase connect time thus increasing incidents of "must join from lobby" errors
-
in order to interop with reserved slots it needs to:
- poll when sm_reloadadmins is run
- not drop current additions when refreshing (like the old plugin does)
-
example
addons/sourcemod/configs/group2flag.cfg
// <group id> <groupname>
12345 donor
67890 member
- or in sourcemod kv:
"group2flag" {
"12345" {
"admin_group" "donor"
}
}
- example cvars - https://wiki.alliedmods.net/AutoConfigs_(SourceMod_Scripting)
sm_group2flag_enabled // enable plugin
If we're unable to hook sm_reloadadmins then a sm_group2flag_poll_now type command would be fine
feel free to change the name
Metadata
Metadata
Assignees
Labels
No labels