diff --git a/config/accents.json b/config/accents.json new file mode 100644 index 00000000..dee009a8 --- /dev/null +++ b/config/accents.json @@ -0,0 +1,27 @@ +[ + "English", + "French", + "Russian", + "Scottish", + "Irish", + "Spanish", + "Southern American", + "Italian", + "Australian", + "Jamaican", + "Israeli", + "Dutch", + "Brazilian", + "Portuguese", + "German", + "Canadian", + "Chinese", + "Japanese", + "Turkish", + "Korean", + "Estonian", + "Sicilian", + "Indian", + "Rough", + "Swedish" +] \ No newline at end of file diff --git a/config/client/locale.json b/config/client/locale.json new file mode 100644 index 00000000..101b555a --- /dev/null +++ b/config/client/locale.json @@ -0,0 +1,145 @@ +[ + { + "id": 0, + "englishName": "English", + "stringsFile": "english.json", + "isoCode": "en", + "flagImageFile": "uk.png", + "countries": ["gb", "us", "au", "bz", "ca", "ie", "jm", "nz", "za", "tt"], + "requiresUnicode": false, + "contributor": "Vortrex", + "enabled": true + }, + { + "id": 1, + "englishName": "Russian", + "stringsFile": "russian.json", + "isoCode": "ru", + "flagImageFile": "ru.png", + "countries": ["ru", "ua"], + "requiresUnicode": false, + "contributor": "VNDTTS", + "enabled": true + }, + { + "id": 2, + "englishName": "Polish", + "stringsFile": "polish.json", + "isoCode": "pl", + "flagImageFile": "pl.png", + "countries": ["pl"], + "requiresUnicode": false, + "contributor": "Suprise444", + "enabled": true + }, + { + "id": 3, + "englishName": "Spanish", + "stringsFile": "spanish.json", + "isoCode": "es", + "flagImageFile": "es.png", + "countries": ["es", "ar", "bo", "cl", "co", "cr", "do", "ec", "sv", "gt", "hn", "mx", "ni", "pa", "py", "pe", "pr", "uy", "ve"], + "requiresUnicode": false, + "contributor": "PerikiyoXD", + "enabled": true + }, + { + "id": 4, + "englishName": "Chinese", + "stringsFile": "chinese.json", + "isoCode": "zh", + "flagImageFile": "cn.png", + "countries": ["cn", "hk", "sg", "tw"], + "requiresUnicode": true, + "contributor": "Renzuko_Ctone", + "enabled": true + }, + { + "id": 5, + "englishName": "Arabic", + "stringsFile": "arabic.json", + "isoCode": "ar", + "flagImageFile": "sa.png", + "countries": ["dz", "bh", "eg", "iq", "jo", "kw", "lb", "ly", "ma", "om", "qa", "sa", "sy", "tn", "ae", "ye"], + "requiresUnicode": true, + "contributor": "! KASIR", + "enabled": true + }, + { + "id": 6, + "englishName": "Slovak", + "stringsFile": "slovak.json", + "isoCode": "sk", + "flagImageFile": "sk.png", + "countries": ["sk"], + "requiresUnicode": false, + "contributor": "UAKLAUS", + "enabled": false + }, + { + "id": 7, + "englishName": "German", + "stringsFile": "german.json", + "isoCode": "de", + "flagImageFile": "de.png", + "countries": ["de", "at", "be", "ch", "li", "lu"], + "requiresUnicode": false, + "contributor": "Sladernimo", + "enabled": true + }, + { + "id": 8, + "englishName": "French", + "stringsFile": "french.json", + "isoCode": "fr", + "flagImageFile": "fr.png", + "countries": ["fr", "cd", "bj", "bf", "cd", "cg", "ga", "gn", "ml", "mc", "ne", "sn"], + "requiresUnicode": false, + "contributor": "Cocam", + "enabled": false + }, + { + "id": 9, + "englishName": "Japanese", + "stringsFile": "japanese.json", + "isoCode": "jp", + "flagImageFile": "jp.png", + "countries": ["jp"], + "requiresUnicode": true, + "contributor": "Cocam", + "enabled": false + }, + { + "id": 10, + "englishName": "Finnish", + "stringsFile": "finnish.json", + "isoCode": "fi", + "flagImageFile": "fi.png", + "countries": ["fi"], + "requiresUnicode": false, + "contributor": "SIMBA_MEOW", + "enabled": true + }, + { + "id": 11, + "englishName": "Lithuanian", + "stringsFile": "lithuanian.json", + "isoCode": "lt", + "flagImageFile": "lt.png", + "countries": ["lt"], + "requiresUnicode": false, + "contributor": "dovis", + "enabled": false + }, + { + "id": 12, + "englishName": "Latvian", + "stringsFile": "latvian.json", + "isoCode": "lv", + "flagImageFile": "lv.png", + "countries": ["lv"], + "requiresUnicode": false, + "contributor": "YuOn", + "enabled": false + } +] \ No newline at end of file diff --git a/config/database.json b/config/database.json new file mode 100644 index 00000000..c3613d4e --- /dev/null +++ b/config/database.json @@ -0,0 +1,8 @@ +{ + "host": "", + "user": "", + "pass": "", + "name": "", + "port": 3306, + "usePersistentConnection": false +} \ No newline at end of file diff --git a/config/discord.json b/config/discord.json new file mode 100644 index 00000000..1055b3ef --- /dev/null +++ b/config/discord.json @@ -0,0 +1,15 @@ +{ + "sendChat": false, + "sendEvents": false, + "sendConnectEvents": false, + "sendVehicleEvents": false, + "sendDeathEvents": false, + "sendAdmin": false, + "sendClan": false, + "sendAction": false, + "webhook": { + "enabled": false, + "webhookBaseURL": "", + "pass": "" + } +} \ No newline at end of file diff --git a/config/email.json b/config/email.json new file mode 100644 index 00000000..aad9abea --- /dev/null +++ b/config/email.json @@ -0,0 +1,27 @@ +{ + "enabled": false, + "method": "http", + "smtp": { + "host": "", + "port": 0, + "username": "", + "password": "", + "from": "", + "fromName": "", + "useTLS": true + }, + "http": { + "password": "", + "baseURL": "" + }, + "bodyContent": { + "confirmEmail": "Welcome to {SERVERNAME}!\nPlease confirm your email by using the command /verifyemail in-game.\n\nYour verification code is: {VERIFICATIONCODE}", + "emailConfirmed": "Your email has been confirmed on {SERVERNAME}!\nYou may now use this email to reset your password, require two-factor authentication on login, receive offline notifications, and more!", + "twoFactorAuthentication": "Please enter the following code to login on {SERVERNAME} for {GAMENAME}: {2FACODE}", + "accountAuthSuccessAlert": "You or someone else has successfully logged in to your account on {SERVERNAME} for {GAMENAME}.\nIP Address: {IPADDRESS}\nLocation: {LOCATION}\nTimestamp: {TIMESTAMP}", + "accountAuthFailAlert": "You or someone else has failed to login to your account on {SERVERNAME} for {GAMENAME}.\nIP Address: {IPADDRESS}\nLocation: {LOCATION}\nTimestamp: {TIMESTAMP}", + "offlineMessageAlert": "You have received a private message on {SERVERNAME} for {GAMENAME}. \nYou are receiving this notification because you enabled email message notifications when you're not connected to the server.\nFrom: {FROMNAME}\nTimestamp: {TIMESTAMP}\nMessage: {MESSAGE}", + "confirmPasswordReset": "You (or someone else) requested to reset your password on {SERVERNAME}!\nPlease confirm this request by entering the code below into the password reset window in-game.\n\nYour verification code is: {VERIFICATIONCODE}\n\n\nIf you did not request a password reset, then there's nothing to worry about since your password can only be reset with the code above.", + "passwordChanged": "Your password on {SERVERNAME} has been changed successfully!" + } +} \ No newline at end of file diff --git a/config/keybind.json b/config/keybind.json new file mode 100644 index 00000000..7024e186 --- /dev/null +++ b/config/keybind.json @@ -0,0 +1,114 @@ +{ + "config": { + "shortHoldDuration": 500, + "longHoldDuration": 1500, + "coolDownBetweenUse": 500 + }, + "defaultKeyBinds": [ + { + "keyName": "k", + "commandString": "engine", + "keyState": 1 + }, + { + "keyName": "l", + "commandString": "lights", + "keyState": 1 + }, + { + "keyName": "j", + "commandString": "lock", + "keyState": 1 + }, + { + "keyName": "f", + "commandString": "enter", + "keyState": 1 + }, + { + "keyName": "g", + "commandString": "passenger", + "keyState": 1 + }, + { + "keyName": "m", + "commandString": "cursor", + "keyState": 1 + }, + { + "keyName": "o", + "commandString": "drop", + "keyState": 1 + }, + { + "keyName": "p", + "commandString": "pickup", + "keyState": 1 + }, + { + "keyName": "u", + "commandString": "use", + "keyState": 1 + }, + { + "keyName": "i", + "commandString": "inv", + "keyState": 1 + }, + { + "keyName": "0", + "commandString": "item 0", + "keyState": 1 + }, + { + "keyName": "1", + "commandString": "item 1", + "keyState": 1 + }, + { + "keyName": "2", + "commandString": "item 2", + "keyState": 1 + }, + { + "keyName": "3", + "commandString": "item 3", + "keyState": 1 + }, + { + "keyName": "4", + "commandString": "item 4", + "keyState": 1 + }, + { + "keyName": "5", + "commandString": "item 5", + "keyState": 1 + }, + { + "keyName": "6", + "commandString": "item 6", + "keyState": 1 + }, + { + "keyName": "7", + "commandString": "item 7", + "keyState": 1 + }, + { + "keyName": "8", + "commandString": "item 8", + "keyState": 1 + }, + { + "keyName": "9", + "commandString": "item 9", + "keyState": 1 + }, + { + "keyName": "f5", + "commandString": "scoreboard", + "keyState": 1 + } + ] +} \ No newline at end of file diff --git a/config/locale.json b/config/locale.json new file mode 100644 index 00000000..85c7348c --- /dev/null +++ b/config/locale.json @@ -0,0 +1,150 @@ +{ + "apiEmail": "example@example.com", + "defaultLanguageId": 0, + "translateURL": "http://api.mymemory.translated.net/get?de={3}&q={0}&langpair={1}|{2}", + "locales": [ + { + "id": 0, + "englishName": "English", + "stringsFile": "english.json", + "isoCode": "en", + "flagImageFile": "uk.png", + "countries": ["gb", "us", "au", "bz", "ca", "ie", "jm", "nz", "za", "tt"], + "requiresUnicode": false, + "contributor": "Vortrex", + "enabled": true + }, + { + "id": 1, + "englishName": "Russian", + "stringsFile": "russian.json", + "isoCode": "ru", + "flagImageFile": "ru.png", + "countries": ["ru", "ua"], + "requiresUnicode": false, + "contributor": "VNDTTS", + "enabled": true + }, + { + "id": 2, + "englishName": "Polish", + "stringsFile": "polish.json", + "isoCode": "pl", + "flagImageFile": "pl.png", + "countries": ["pl"], + "requiresUnicode": false, + "contributor": "Suprise444", + "enabled": true + }, + { + "id": 3, + "englishName": "Spanish", + "stringsFile": "spanish.json", + "isoCode": "es", + "flagImageFile": "es.png", + "countries": ["es", "ar", "bo", "cl", "co", "cr", "do", "ec", "sv", "gt", "hn", "mx", "ni", "pa", "py", "pe", "pr", "uy", "ve"], + "requiresUnicode": false, + "contributor": "PerikiyoXD", + "enabled": true + }, + { + "id": 4, + "englishName": "Chinese", + "stringsFile": "chinese.json", + "isoCode": "zh", + "flagImageFile": "cn.png", + "countries": ["cn", "hk", "sg", "tw"], + "requiresUnicode": true, + "contributor": "Renzuko_Ctone", + "enabled": true + }, + { + "id": 5, + "englishName": "Arabic", + "stringsFile": "arabic.json", + "isoCode": "ar", + "flagImageFile": "sa.png", + "countries": ["dz", "bh", "eg", "iq", "jo", "kw", "lb", "ly", "ma", "om", "qa", "sa", "sy", "tn", "ae", "ye"], + "requiresUnicode": true, + "contributor": "! KASIR", + "enabled": true + }, + { + "id": 6, + "englishName": "Slovak", + "stringsFile": "slovak.json", + "isoCode": "sk", + "flagImageFile": "sk.png", + "countries": ["sk"], + "requiresUnicode": false, + "contributor": "UAKLAUS", + "enabled": false + }, + { + "id": 7, + "englishName": "German", + "stringsFile": "german.json", + "isoCode": "de", + "flagImageFile": "de.png", + "countries": ["de", "at", "be", "ch", "li", "lu"], + "requiresUnicode": false, + "contributor": "Sladernimo", + "enabled": true + }, + { + "id": 8, + "englishName": "French", + "stringsFile": "french.json", + "isoCode": "fr", + "flagImageFile": "fr.png", + "countries": ["fr", "cd", "bj", "bf", "cd", "cg", "ga", "gn", "ml", "mc", "ne", "sn"], + "requiresUnicode": false, + "contributor": "Cocam", + "enabled": false + }, + { + "id": 9, + "englishName": "Japanese", + "stringsFile": "japanese.json", + "isoCode": "jp", + "flagImageFile": "jp.png", + "countries": ["jp"], + "requiresUnicode": true, + "contributor": "Cocam", + "enabled": false + }, + { + "id": 10, + "englishName": "Finnish", + "stringsFile": "finnish.json", + "isoCode": "fi", + "flagImageFile": "fi.png", + "countries": ["fi"], + "requiresUnicode": false, + "contributor": "SIMBA_MEOW", + "enabled": true + }, + { + "id": 11, + "englishName": "Lithuanian", + "stringsFile": "lithuanian.json", + "isoCode": "lt", + "flagImageFile": "lt.png", + "countries": ["lt"], + "requiresUnicode": false, + "contributor": "dovis", + "enabled": false + }, + { + "id": 12, + "englishName": "Latvian", + "stringsFile": "latvian.json", + "isoCode": "lv", + "flagImageFile": "lv.png", + "countries": ["lv"], + "requiresUnicode": false, + "contributor": "YuOn", + "enabled": false + } + ] +} \ No newline at end of file diff --git a/config/security.json b/config/security.json new file mode 100644 index 00000000..172c7370 --- /dev/null +++ b/config/security.json @@ -0,0 +1,8 @@ +{ + "accountSaltHash": [ + "LGj6w8SRwJEJ95XH" + ], + "accountPasswordSaltAlgorithm": [ + "v.roleplay.{SALTHASH}.{NAME}.{PASSWORD}" + ] +} \ No newline at end of file