diff --git a/scripts/server/class.js b/scripts/server/class.js index a82091f3..fbcf3c22 100644 --- a/scripts/server/class.js +++ b/scripts/server/class.js @@ -59,6 +59,7 @@ class ServerData { this.inflationMultiplier = 1; this.testerOnly = false; this.settings = 0; + this.devServer = false; this.antiCheat = { enabled: false, @@ -87,9 +88,6 @@ class ServerData { this.realTimeZone = 0; this.discordConfig = { - eventChannelWebHookURL: "", - chatChannelWebHookURL: "", - adminChannelWebHookURL: "", sendEvents: true, sendChat: true, sendAdminEvents: true, @@ -124,8 +122,6 @@ class ServerData { this.realTimeZone = dbAssoc["svr_time_realtime_timezone"]; this.discord = { - logChannelWebhookURL: dbAssoc["svr_discord_event_webhook"], - adminChannelWebHookURL: dbAssoc["svr_discord_admin_webhook"], sendEvents: true, sendChat: true, sendAdmin: true, diff --git a/scripts/server/developer.js b/scripts/server/developer.js index 7870fd38..a0f05ccd 100644 --- a/scripts/server/developer.js +++ b/scripts/server/developer.js @@ -443,7 +443,7 @@ function testErrorGUICommand(command, params, client) { // =========================================================================== -function saveAllServerDataCommand(command, params, client) { +function saveServerDataCommand(command, params, client) { messageAdmins(`{clanOrange}Vortrex has forced a manual save of all data. Initiating ...`); saveAllServerDataToDatabase(); messageAdmins(`{clanOrange}All server data saved to database successfully!`);