-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #718 from bitpredator/dev
chore: 🎨 Run formatter
- Loading branch information
Showing
20 changed files
with
1,331 additions
and
1,375 deletions.
There are no files selected for viewing
34 changes: 17 additions & 17 deletions
34
server-data/resources/[bpt_addons]/bpt_addonaccount/fxmanifest.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
fx_version 'adamant' | ||
game 'gta5' | ||
fx_version("adamant") | ||
game("gta5") | ||
|
||
author 'bitpredator' | ||
description 'Allows resources to store account data, such as society funds' | ||
lua54 'yes' | ||
version '1.0.1' | ||
author("bitpredator") | ||
description("Allows resources to store account data, such as society funds") | ||
lua54("yes") | ||
version("1.0.1") | ||
|
||
server_scripts { | ||
'@es_extended/imports.lua', | ||
'@oxmysql/lib/MySQL.lua', | ||
'server/classes/addonaccount.lua', | ||
'server/main.lua' | ||
} | ||
server_scripts({ | ||
"@es_extended/imports.lua", | ||
"@oxmysql/lib/MySQL.lua", | ||
"server/classes/addonaccount.lua", | ||
"server/main.lua", | ||
}) | ||
|
||
server_exports { | ||
'GetSharedAccount', | ||
'AddSharedAccount' | ||
} | ||
server_exports({ | ||
"GetSharedAccount", | ||
"AddSharedAccount", | ||
}) | ||
|
||
dependency 'es_extended' | ||
dependency("es_extended") |
15 changes: 7 additions & 8 deletions
15
server-data/resources/[bpt_addons]/bpt_addonaccount/server/classes/addonaccount.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 16 additions & 16 deletions
32
server-data/resources/[bpt_addons]/bpt_addoninventory/fxmanifest.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
fx_version 'adamant' | ||
fx_version("adamant") | ||
|
||
game 'gta5' | ||
game("gta5") | ||
|
||
description 'Adds a way for resources to store items for players' | ||
lua54 'yes' | ||
description("Adds a way for resources to store items for players") | ||
lua54("yes") | ||
|
||
version '1.0.1' | ||
version("1.0.1") | ||
|
||
server_scripts { | ||
'@es_extended/imports.lua', | ||
'@oxmysql/lib/MySQL.lua', | ||
'server/classes/addoninventory.lua', | ||
'server/main.lua' | ||
} | ||
server_scripts({ | ||
"@es_extended/imports.lua", | ||
"@oxmysql/lib/MySQL.lua", | ||
"server/classes/addoninventory.lua", | ||
"server/main.lua", | ||
}) | ||
|
||
server_exports { | ||
'GetSharedInventory', | ||
'AddSharedInventory' | ||
} | ||
server_exports({ | ||
"GetSharedInventory", | ||
"AddSharedInventory", | ||
}) | ||
|
||
dependency 'es_extended' | ||
dependency("es_extended") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Config = {} | ||
|
||
Config.Locale = GetConvar('esx:locale', 'en') | ||
Config.Locale = GetConvar("esx:locale", "en") | ||
Config.MinPlayer = 10 --Set how many players need to be connect before whitelist start, 0-32 |
28 changes: 14 additions & 14 deletions
28
server-data/resources/[bpt_addons]/bpt_allowlist/fxmanifest.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
fx_version 'adamant' | ||
fx_version("adamant") | ||
|
||
game 'gta5' | ||
game("gta5") | ||
|
||
author 'bitpredator' | ||
description 'Allowlist system that allows you to only allow specific people to access your server' | ||
author("bitpredator") | ||
description("Allowlist system that allows you to only allow specific people to access your server") | ||
|
||
version '1.0.1' | ||
version("1.0.1") | ||
|
||
lua54 'yes' | ||
server_only 'yes' | ||
lua54("yes") | ||
server_only("yes") | ||
|
||
server_scripts { | ||
'@es_extended/imports.lua', | ||
'@es_extended/locale.lua', | ||
'config.lua', | ||
'locales/*.lua', | ||
'server/main.lua' | ||
} | ||
server_scripts({ | ||
"@es_extended/imports.lua", | ||
"@es_extended/locale.lua", | ||
"config.lua", | ||
"locales/*.lua", | ||
"server/main.lua", | ||
}) |
26 changes: 13 additions & 13 deletions
26
server-data/resources/[bpt_addons]/bpt_allowlist/locales/en.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Locales['en'] = { | ||
['allowlist_check'] = 'Checking if you are Allowlisted.', | ||
['not_allowlisted'] = 'You Must be Allowlisted to join this server!', | ||
['allowlist_empty'] = 'There Are no allowlists saved for this server.', | ||
['license_missing'] = 'Error: Your Identifier is missing!', | ||
['help_allowlist_add'] = 'add someone to the allowlist', | ||
['help_allowlist_load'] = 'reload the allowlist', | ||
['help_allowlist_remove'] = 'remove someone from the allowlist', | ||
['error'] = 'There Was An Error, Please Contact the server owner!', | ||
['already_allowlisted'] = 'The player is already allowlisted on this server!', | ||
['license'] = 'license', | ||
['help_license'] = 'the player license', | ||
['identifier_not_allowlisted'] = 'Identifier is not Allowlisted on this server!', | ||
Locales["en"] = { | ||
["allowlist_check"] = "Checking if you are Allowlisted.", | ||
["not_allowlisted"] = "You Must be Allowlisted to join this server!", | ||
["allowlist_empty"] = "There Are no allowlists saved for this server.", | ||
["license_missing"] = "Error: Your Identifier is missing!", | ||
["help_allowlist_add"] = "add someone to the allowlist", | ||
["help_allowlist_load"] = "reload the allowlist", | ||
["help_allowlist_remove"] = "remove someone from the allowlist", | ||
["error"] = "There Was An Error, Please Contact the server owner!", | ||
["already_allowlisted"] = "The player is already allowlisted on this server!", | ||
["license"] = "license", | ||
["help_license"] = "the player license", | ||
["identifier_not_allowlisted"] = "Identifier is not Allowlisted on this server!", | ||
} |
26 changes: 13 additions & 13 deletions
26
server-data/resources/[bpt_addons]/bpt_allowlist/locales/it.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Locales['it'] = { | ||
['allowlist_check'] = 'verifica Allowlist.', | ||
['not_allowlisted'] = 'devi essere nella Allowlist per unirti a questo server!', | ||
['allowlist_empty'] = 'non ci sono allowlist salvate per questo server.', | ||
['license_missing'] = 'Errore: il tuo identificatore è mancante!', | ||
['help_allowlist_add'] = 'aggiungi qualcuno alla allowlist', | ||
['help_allowlist_load'] = 'ricarica la allowlist', | ||
['help_allowlist_remove'] = 'rimuovi un utente dalla allowlist', | ||
['error'] = 'É stato riscontrato un errore, contatta il proprietario del server!', | ||
['already_allowlisted'] = 'Il giocatore è già allowlistato nel server', | ||
['license'] = 'licenza', | ||
['help_license'] = 'la licenza del giocatore', | ||
['identifier_not_allowlisted'] = 'L\' identificativo non è allowlistato nel server', | ||
Locales["it"] = { | ||
["allowlist_check"] = "verifica Allowlist.", | ||
["not_allowlisted"] = "devi essere nella Allowlist per unirti a questo server!", | ||
["allowlist_empty"] = "non ci sono allowlist salvate per questo server.", | ||
["license_missing"] = "Errore: il tuo identificatore è mancante!", | ||
["help_allowlist_add"] = "aggiungi qualcuno alla allowlist", | ||
["help_allowlist_load"] = "ricarica la allowlist", | ||
["help_allowlist_remove"] = "rimuovi un utente dalla allowlist", | ||
["error"] = "É stato riscontrato un errore, contatta il proprietario del server!", | ||
["already_allowlisted"] = "Il giocatore è già allowlistato nel server", | ||
["license"] = "licenza", | ||
["help_license"] = "la licenza del giocatore", | ||
["identifier_not_allowlisted"] = "L' identificativo non è allowlistato nel server", | ||
} |
Oops, something went wrong.