public void updateInformation(ApiClient client) throws IOException, ApiException { serverInformation = client.getServerInformation(); } }
public void updateInformation(ApiClient client) throws IOException, ApiException { serverInformation = client.getServerInformation(); } }
public void initializeTasks() { try { serverInformation = platform.getApiClient().getServerInformation(); } catch (IOException | ApiException e) { throw new RuntimeException("Can't fetch account information", e); } executorService.schedule(playerFetcher = new DuePlayerFetcher(platform, verbose), 1, TimeUnit.SECONDS); }
public void updateInformation(ApiClient client) throws IOException, ApiException { serverInformation = client.getServerInformation(); if (!configuration.isBungeeCord() && getServer().getOnlineMode() != serverInformation.getAccount().isOnlineMode()) { getLogger().log(Level.WARNING, "Your server and webstore online mode settings are mismatched. Unless you are using" + " a proxy and server combination (such as BungeeCord/Spigot or LilyPad/Connect) that corrects UUIDs, then" + " you may experience issues with packages not applying."); getLogger().log(Level.WARNING, "If you have verified that your set up is correct, you can suppress this message by setting " + "is-bungeecord=true in your BuycraftX config.properties."); } } }
public void updateInformation(ApiClient client) throws IOException, ApiException { serverInformation = client.getServerInformation(); if (!configuration.isBungeeCord() && Sponge.getServer().getOnlineMode() != serverInformation.getAccount().isOnlineMode()) { getLogger().warn("Your server and webstore online mode settings are mismatched. Unless you are using" + " a proxy and server combination (such as BungeeCord/Spigot or LilyPad/Connect) that corrects UUIDs, then" + " you may experience issues with packages not applying."); getLogger().warn("If you have verified that your set up is correct, you can suppress this message by setting " + "is-bungeecord=true in your BuycraftX config.properties."); } }