diff --git a/scripts/server/developer.js b/scripts/server/developer.js index ce1d7444..0559b079 100644 --- a/scripts/server/developer.js +++ b/scripts/server/developer.js @@ -590,4 +590,19 @@ function resetAllServerAmbienceElementsCommand(command, params, client) { cleartTemporaryVehicles(); } -// =========================================================================== \ No newline at end of file +// =========================================================================== + +function reloadEconomyConfigurationCommand(command, params, client) { + getGlobalConfig().economy = loadEconomyConfig(); + messageAdmins(`${client.name} {MAINCOLOUR}has reloaded the economy settings`); +} + +// =========================================================================== + +function reloadLocaleConfigurationCommand(command, params, client) { + getGlobalConfig().locales = loadLocaleConfig(); + getServerData().localeStrings = loadAllLocaleStrings(); + messageAdmins(`${client.name} {MAINCOLOUR}has reloaded the locale settings and texts`); +} + +// ===========================================================================