Add extra delay to config for force item action timeout
This commit is contained in:
@@ -55,6 +55,7 @@ function loadGlobalConfig() {
|
|||||||
itemActionStateReset: 5000,
|
itemActionStateReset: 5000,
|
||||||
subAccountNameAllowedCharacters: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
subAccountNameAllowedCharacters: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
||||||
emailValidationRegex: /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
|
emailValidationRegex: /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
|
||||||
|
itemActionDelayExtraTimeout: 1000,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -209,21 +210,21 @@ function loadGameConfig() {
|
|||||||
{},
|
{},
|
||||||
|
|
||||||
{ // GTA 3
|
{ // GTA 3
|
||||||
business: 0,
|
business: 2,
|
||||||
house: 0,
|
house: 2,
|
||||||
bank: 0,
|
bank: 2,
|
||||||
clothes: 0,
|
clothes: 2,
|
||||||
info: 0,
|
info: 2,
|
||||||
job: 0,
|
job: 2,
|
||||||
},
|
},
|
||||||
|
|
||||||
{ // GTA Vice City
|
{ // GTA Vice City
|
||||||
business: 0,
|
business: 2,
|
||||||
house: 0,
|
house: 2,
|
||||||
bank: 0,
|
bank: 2,
|
||||||
clothes: 0,
|
clothes: 2,
|
||||||
info: 0,
|
info: 2,
|
||||||
job: 0,
|
job: 2,
|
||||||
},
|
},
|
||||||
|
|
||||||
{ // GTA San Andreas
|
{ // GTA San Andreas
|
||||||
@@ -1185,17 +1186,7 @@ function reloadServerConfigurationCommand(command, params, client) {
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function reloadEmailConfigurationCommand(command, params, client) {
|
function reloadEmailConfigurationCommand(command, params, client) {
|
||||||
emailConfig = loadEmailConfigFromGameAndPort(server.game, server.port);
|
emailConfig = loadEmailConfiguration();
|
||||||
applyConfigToServer(serverConfig);
|
|
||||||
updateServerRules();
|
|
||||||
messageAdminAction(`${getPlayerName(client)} reloaded the email configuration`);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ===========================================================================
|
|
||||||
|
|
||||||
function reloadEmailConfigurationCommand(command, params, client) {
|
|
||||||
emailConfig = loadEmailConfig();
|
|
||||||
messageAdminAction(`${getPlayerName(client)} reloaded the email configuration`);
|
messageAdminAction(`${getPlayerName(client)} reloaded the email configuration`);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user