MrBlue
Automatically adds members of Steam group(s) to a permissions group

Supported Games
GameServerKingsGameServerKings

Steam Groups automatically adds members of Steam group(s) to a specific permissions group, checking for updates every 300 seconds.

Note: There is currently no removal of players no longer in Steam groups, but that will be added when able.

Permissions

  • steamgroups.admin -- Required for any admin commands

Commands

This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash: /.

  • steamgroup <add/remove> <steam group> [oxide group] -- Add or remove a Steam group
  • steammembers -- Manually trigger a check for Steam group members

Configuration

The "Steam" group name is found in your steamcommunity.com group URL, not what you see on the page itself.

The "Oxide" group name is the name you'd like to use for the Oxide permissions group. The Oxide group will be created automatically if it doesn't already exist.

{
  "Group Setup": [
    {
      "Oxide": "default",
      "Steam": "oxidemod"
    }
  ],
  "Log member changes to console": true,
  "Log member changes to file": true,
  "Update Interval in seconds": 300
}

The configuration example above includes one group, but more can easily be added manually or by command.

MIT License, with distribution exclusivity for uMod.org


Copyright (c) 2020 Wulf


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.