public void TebexInfo() { try { TebexApiClient wc = new TebexApiClient(); wc.setPlugin(Tebex.Instance); wc.DoGet("information", this); wc.Dispose(); } catch (TimeoutException) { Tebex.logWarning("Timeout!"); } }
public void TebexForcecheck() { Tebex.logWarning("Checking for commands to be executed..."); try { TebexApiClient wc = new TebexApiClient(); wc.setPlugin(Tebex.Instance); wc.DoGet("queue", this); wc.Dispose(); } catch (TimeoutException) { Tebex.logWarning("Timeout!"); } }
public void TebexSecret(string secret) { Tebex.Instance.Config.Secret = secret; try { TebexApiClient wc = new TebexApiClient(); wc.setPlugin(Tebex.Instance); wc.DoGet("information", this); wc.Dispose(); } catch (TimeoutException) { Tebex.logWarning("Timeout!"); } }