1. So I took some code from the Whitelist plugin but as I test this modified version in game it does not seem to work:
    Code:
            [ConsoleCommand("checksteamgroup")]
            void CheckGroup(ConsoleSystem.Arg arg)
            {
                object addPlayer = FindPlayerC(arg, arg.Args[0]);            
                BasePlayer player = (BasePlayer)addPlayer;       
               
                var url = $"http://steamcommunity.com/groups/{steamGroup}/memberslistxml/?xml=1";            webrequest.EnqueueGet(url, (code, response) =>
                {
                    if (code != 200 || response == null)
                    {
                        Puts("Checking for Steam group members failed! (" + code + ")");
                        return;
                    }                Puts("Make it hereR");
                    foreach (Match match in Regex.Matches(response))
                    {
                        // Convert Steam ID to ulong format
                        var id = match.Groups["steamid"].Value;                    Puts("Make it here");
                        if(id == player.UserIDString)
                        {
                            SendReply(arg, player.displayName+" is in the steam group.");
                            AddToGroup(arg, player);
                        }
                        else SendReply(arg, player.displayName+" is not in the steam group.");
                    }
                }, this);            
            }
    Code:
    string steamGroup = "Rusty Forest";
    [DOUBLEPOST=1468905485][/DOUBLEPOST]Nevermind solved.