Remove old/obsolete stuff
This commit is contained in:
@@ -59,6 +59,7 @@ class ServerData {
|
|||||||
this.inflationMultiplier = 1;
|
this.inflationMultiplier = 1;
|
||||||
this.testerOnly = false;
|
this.testerOnly = false;
|
||||||
this.settings = 0;
|
this.settings = 0;
|
||||||
|
this.devServer = false;
|
||||||
|
|
||||||
this.antiCheat = {
|
this.antiCheat = {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
@@ -87,9 +88,6 @@ class ServerData {
|
|||||||
this.realTimeZone = 0;
|
this.realTimeZone = 0;
|
||||||
|
|
||||||
this.discordConfig = {
|
this.discordConfig = {
|
||||||
eventChannelWebHookURL: "",
|
|
||||||
chatChannelWebHookURL: "",
|
|
||||||
adminChannelWebHookURL: "",
|
|
||||||
sendEvents: true,
|
sendEvents: true,
|
||||||
sendChat: true,
|
sendChat: true,
|
||||||
sendAdminEvents: true,
|
sendAdminEvents: true,
|
||||||
@@ -124,8 +122,6 @@ class ServerData {
|
|||||||
this.realTimeZone = dbAssoc["svr_time_realtime_timezone"];
|
this.realTimeZone = dbAssoc["svr_time_realtime_timezone"];
|
||||||
|
|
||||||
this.discord = {
|
this.discord = {
|
||||||
logChannelWebhookURL: dbAssoc["svr_discord_event_webhook"],
|
|
||||||
adminChannelWebHookURL: dbAssoc["svr_discord_admin_webhook"],
|
|
||||||
sendEvents: true,
|
sendEvents: true,
|
||||||
sendChat: true,
|
sendChat: true,
|
||||||
sendAdmin: true,
|
sendAdmin: true,
|
||||||
|
|||||||
@@ -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 ...`);
|
messageAdmins(`{clanOrange}Vortrex has forced a manual save of all data. Initiating ...`);
|
||||||
saveAllServerDataToDatabase();
|
saveAllServerDataToDatabase();
|
||||||
messageAdmins(`{clanOrange}All server data saved to database successfully!`);
|
messageAdmins(`{clanOrange}All server data saved to database successfully!`);
|
||||||
|
|||||||
Reference in New Issue
Block a user