public static void PingAPIStatus()
        {
            switch (APIStatusChecker.CheckStatus(URLs.mainserver + "/serverlist.json"))
            {
            case APIStatus.Online:
                break;

            default:
                UnitedAPI = false;
                break;
            }

            if (UnitedAPI == false)
            {
                switch (APIStatusChecker.CheckStatus(URLs.staticapiserver + "/serverlist.json"))
                {
                case APIStatus.Online:
                    break;

                default:
                    CarbonAPI = false;
                    break;
                }
            }

            if (CarbonAPI == false)
            {
                switch (APIStatusChecker.CheckStatus(URLs.secondstaticapiserver + "/serverlist.json"))
                {
                case APIStatus.Online:
                    break;

                default:
                    CarbonAPITwo = false;
                    break;
                }
            }

            if (CarbonAPITwo == false)
            {
                switch (APIStatusChecker.CheckStatus(URLs.woplserver + "/serverlist.json"))
                {
                case APIStatus.Online:
                    break;

                default:
                    WOPLAPI = false;
                    break;
                }
            }

            FunctionStatus.IsVisualAPIsChecked = true;
        }
        public static void PingAPIStatus()
        {
            switch (APIStatusChecker.CheckStatus(Self.mainserver + "/serverlist.json"))
            {
            case API.Online:
                break;

            default:
                UnitedAPI = false;
                break;
            }

            if (UnitedAPI == false)
            {
                switch (APIStatusChecker.CheckStatus(Self.staticapiserver + "/serverlist.json"))
                {
                case API.Online:
                    break;

                default:
                    CarbonAPI = false;
                    break;
                }
            }

            if (CarbonAPI == false)
            {
                switch (APIStatusChecker.CheckStatus(Self.secondstaticapiserver + "/serverlist.json"))
                {
                case API.Online:
                    break;

                default:
                    CarbonAPITwo = false;
                    break;
                }
            }

            if (CarbonAPITwo == false)
            {
                switch (APIStatusChecker.CheckStatus(Self.woplserver + "/serverlist.json"))
                {
                case API.Online:
                    break;

                default:
                    WOPLAPI = false;
                    break;
                }
            }
        }