diff --git a/scripts/server/keybind.js b/scripts/server/keybind.js index e7d33dd6..2e3993d9 100644 --- a/scripts/server/keybind.js +++ b/scripts/server/keybind.js @@ -10,7 +10,6 @@ function initKeyBindScript() { logToConsole(LOG_INFO, "[VRR.KeyBind]: Initializing key bind script ..."); - getGlobalConfig().keyBind = loadKeyBindConfiguration(); logToConsole(LOG_INFO, "[VRR.KeyBind]: Key bind script initialized!"); } @@ -195,13 +194,6 @@ function sendAccountKeyBindsToClient(client) { // =========================================================================== -function loadKeyBindConfiguration() { - let keyBindConfigFile = loadTextFile("config/keybind.json"); - return JSON.parse(keyBindConfigFile); -} - -// =========================================================================== - function showKeyBindListCommand(command, params, client) { let keybindList = getPlayerData(client).keyBinds.map(function(x) { return `{ALTCOLOUR}${toUpperCase(getKeyNameFromId(x.key))}: {MAINCOLOUR}${x.commandString}`; });