Set inactive vehicle respawn to 60 minutes
This commit is contained in:
@@ -79,6 +79,8 @@ class ServerConfigData {
|
|||||||
this.useRealTime = false;
|
this.useRealTime = false;
|
||||||
this.realTimeZone = 0;
|
this.realTimeZone = 0;
|
||||||
|
|
||||||
|
this.normalChatType = V_CHAT_TYPE_GLOBAL;
|
||||||
|
|
||||||
this.discordConfig = {
|
this.discordConfig = {
|
||||||
sendEvents: true,
|
sendEvents: true,
|
||||||
sendChat: true,
|
sendChat: true,
|
||||||
@@ -165,6 +167,9 @@ class ServerConfigData {
|
|||||||
|
|
||||||
this.devServer = intToBool(toInteger(server.getCVar("v_devserver")));
|
this.devServer = intToBool(toInteger(server.getCVar("v_devserver")));
|
||||||
this.testerOnly = intToBool(toInteger(server.getCVar("v_testeronly")));
|
this.testerOnly = intToBool(toInteger(server.getCVar("v_testeronly")));
|
||||||
|
|
||||||
|
this.normalChatType = toInteger(dbAssoc["svr_chat_type"]);
|
||||||
|
this.globalChatEnabled = intToBool(dbAssoc["svr_chat_global_enabled"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -233,7 +238,7 @@ let globalConfig = {
|
|||||||
V_ITEM_USE_TYPE_VEHLIVERY,
|
V_ITEM_USE_TYPE_VEHLIVERY,
|
||||||
V_ITEM_USE_TYPE_VEHTIRE,
|
V_ITEM_USE_TYPE_VEHTIRE,
|
||||||
],
|
],
|
||||||
vehicleInactiveRespawnDelay: 1800000, // 20 minutes
|
vehicleInactiveRespawnDelay: 1000 * 60 * 60, // 60 minutes
|
||||||
chatSectionHeaderLength: 96,
|
chatSectionHeaderLength: 96,
|
||||||
useServerSideVehiclePurchaseCheck: true,
|
useServerSideVehiclePurchaseCheck: true,
|
||||||
useServerSideVehicleBurnCheck: false,
|
useServerSideVehicleBurnCheck: false,
|
||||||
@@ -273,7 +278,6 @@ let globalConfig = {
|
|||||||
"ChatBoxTimestamps",
|
"ChatBoxTimestamps",
|
||||||
"ChatEmoji",
|
"ChatEmoji",
|
||||||
],
|
],
|
||||||
mainChatType: V_CHAT_TYPE_GLOBAL,
|
|
||||||
nightMapStartHour: 19,
|
nightMapStartHour: 19,
|
||||||
nightMapEndHour: 7,
|
nightMapEndHour: 7,
|
||||||
payPhoneGiveDistance: 2.5,
|
payPhoneGiveDistance: 2.5,
|
||||||
@@ -1169,7 +1173,6 @@ function getSecurityConfig() {
|
|||||||
return getGlobalConfig().security;
|
return getGlobalConfig().security;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function loadServerConfig() {
|
function loadServerConfig() {
|
||||||
|
|||||||
Reference in New Issue
Block a user