Add a toggle for Total Characters Registered kn Website

This commit is contained in:
dark98
2021-03-15 23:45:38 +00:00
parent 3bf473129d
commit 22db0c22f4
2 changed files with 3 additions and 1 deletions
@@ -7,7 +7,7 @@ public class GameConstants {
public final static String SERVER_NAME = "2006Scape", SERVER_VERSION = "Server Stage v " + GameConstants.TEST_VERSION + ".";
public final static String WEBSITE_LINK = "https://2006Scape.org";
public final static boolean WEBSITE_TOTAL_CHARACTERS_INTEGRATION = false;
public final static double TEST_VERSION = 2.3;
public final static int ITEM_LIMIT = 15000, MAXITEM_AMOUNT = Integer.MAX_VALUE, CLIENT_VERSION = 999999,
@@ -233,7 +233,9 @@ public class GameEngine {
pestControl.process();
CycleEventHandler.getSingleton().process();
PlayersOnlineWebsite.addUpdatePlayersOnlineTask();
if(GameConstants.WEBSITE_TOTAL_CHARACTERS_INTEGRATION) {
RegisteredAccsWebsite.addUpdateRegisteredUsersTask();
}
DiscordActivity.updateActivity();
if (System.currentTimeMillis() - lastMassSave > 300000) {
for (Player p : PlayerHandler.players) {