Skip to content

steam group to sourcemod admin flag(s) #15

@thehonker

Description

@thehonker

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"
  }
}
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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions