void OnServerInitialized()
        {
            automaticAuthData = Interface.GetMod().DataFileSystem.ReadObject <AutomaticAuthData>("AutomaticAuths");

            foreach (KeyValuePair <string, int> automaticAuths in automaticAuthData.AutomaticAuths)
            {
                if (automaticAuths.Value == 2)
                {
                    ConsoleSystem.Run.Server.Normal("ownerid " + automaticAuths.Key + " '' 'Set automatically by AutomaticAuth'");
                }
                else if (automaticAuths.Value == 1)
                {
                    ConsoleSystem.Run.Server.Normal("moderatorid " + automaticAuths.Key + " '' 'Set automatically by AutomaticAuth'");
                }
            }
        }
        void OnServerInitialized()
        {
            automaticAuthData = Interface.GetMod().DataFileSystem.ReadObject<AutomaticAuthData>("AutomaticAuths");

            foreach (KeyValuePair<string, int> automaticAuths in automaticAuthData.AutomaticAuths)
            {
                if (automaticAuths.Value == 2)
                {
                    ConsoleSystem.Run.Server.Normal("ownerid " + automaticAuths.Key + " '' 'Set automatically by AutomaticAuth'");
                }
                else if (automaticAuths.Value == 1)
                {
                    ConsoleSystem.Run.Server.Normal("moderatorid " + automaticAuths.Key + " '' 'Set automatically by AutomaticAuth'");
                }
            }
        }
        private void AuthListCommand(BasePlayer player, string command, string[] args)
        {
            if (player.net.connection.authLevel != 2)
            {
                SendReply(player, "You do not have access to this command.");

                return;
            }

            var players = UnityEngine.Object.FindObjectsOfType <BasePlayer>();

            automaticAuthData = Interface.GetMod().DataFileSystem.ReadObject <AutomaticAuthData>("AutomaticAuths");

            int count = 0;

            foreach (KeyValuePair <string, int> automaticAuths in automaticAuthData.AutomaticAuths)
            {
                count++;
                string authedPlayer = "";

                foreach (BasePlayer basePlayer in players)
                {
                    if (basePlayer.userID == Convert.ToUInt64(automaticAuths.Key))
                    {
                        authedPlayer = basePlayer.displayName;
                    }
                    else
                    {
                        authedPlayer = automaticAuths.Key;
                    }
                }

                if (automaticAuths.Value == 2)
                {
                    SendReply(player, count + ". Player " + authedPlayer + " (" + automaticAuths.Key + ") is set as an owner.");
                }
                else if (automaticAuths.Value == 1)
                {
                    SendReply(player, count + ". Player " + authedPlayer + " (" + automaticAuths.Key + ") is set as a moderator.");
                }
            }
        }
        private void AuthListCommand(BasePlayer player, string command, string[] args)
        {
            if (player.net.connection.authLevel != 2)
            {
                SendReply(player, "You do not have access to this command.");

                return;
            }

            var players = UnityEngine.Object.FindObjectsOfType<BasePlayer>();
            automaticAuthData = Interface.GetMod().DataFileSystem.ReadObject<AutomaticAuthData>("AutomaticAuths");

            int count = 0;
            foreach (KeyValuePair<string, int> automaticAuths in automaticAuthData.AutomaticAuths)
            {
                count++;
                string authedPlayer = "";

                foreach (BasePlayer basePlayer in players)
                {
                    if (basePlayer.userID == Convert.ToUInt64(automaticAuths.Key))
                    {
                        authedPlayer = basePlayer.displayName;
                    }
                    else
                    {
                        authedPlayer = automaticAuths.Key;
                    }
                }

                if (automaticAuths.Value == 2)
                {
                    SendReply(player, count + ". Player " + authedPlayer + " (" + automaticAuths.Key + ") is set as an owner.");
                }
                else if (automaticAuths.Value == 1)
                {
                    SendReply(player, count + ". Player " + authedPlayer + " (" + automaticAuths.Key + ") is set as a moderator.");
                }
            }
        }