Commit Graph

111 Commits

Author SHA1 Message Date
r3ps4J 4ebb5fbd72 feat(es_extended/server/classes/player.lua): Add showAdvancedNotification function 2023-06-06 08:22:33 +00:00
Thekuca d8b4de8f05 revert(server/callback): revert old code 2023-06-04 00:17:26 +02:00
Thekuca 0e61550dc7 Merge pull request #1053 from thesysadmindev/dev
feat(es_extended): Added in randomisation of default spawn coordinates
2023-05-29 14:08:16 +02:00
TheFantomas 5842f30865 revert "a969785d3697a384132202a07d4b357afb668048" 2023-05-28 13:29:18 +02:00
TheFantomas 86270a3b1c Forgot 2023-05-25 15:13:21 +02:00
thesysadmindev dc3f8deada Merge branch 'dev' into dev 2023-05-25 21:11:14 +10:00
Thekuca e406a2b6c3 Update commands.lua 2023-05-25 13:02:06 +02:00
thesysadmindev c2772dbd56 feat(es_extended) Added in randomisation of default spawn coordinates
Replaced Config.DefaultSpawn in [core]\es_extended\config.lua:L21 with a table of default spawn coordinates, and updated [core]\es_extended\server\main.lua:L254 to use new coordinates table.
2023-05-25 20:17:39 +10:00
Cyzxin de0d33b2f6 feat(es_extended): /removeaccountmoney 2023-05-25 08:57:50 +01:00
Thekuca 9ee4bcddf1 Update common.lua 2023-05-23 11:29:50 +02:00
Thekuca fab8f3aa74 Update functions.lua 2023-05-23 11:28:09 +02:00
TheFantomas 05948ffdb9 Merge branch 'dev' into main 2023-05-22 19:23:47 +02:00
Cyzxin 6be5fd5478 Fixed Translation For RefreshJob Command
Added /refreshitems To Update The ESX.Items Table
2023-05-22 09:47:07 +01:00
Thekuca 6b54644ce4 fix(server/commands): typo 2023-05-19 15:55:35 +02:00
Thekuca fec1a9d8aa refactor(server/commands): refactor code 2023-05-19 15:53:16 +02:00
Thekuca 648147f99e refactor(overrides/oxinventory): unused args 2023-05-19 15:24:07 +02:00
Thekuca 9399585423 refactor(Admin Check): refactor admin checking 2023-05-19 14:48:31 +02:00
thesysadmindev 40c22f5685 Added logging to Discord for sensitive commands
1. Added config variable to config.lua to enable/disable admin logging.
2. Added ESX.DiscordLogFields function to a number of sensitive admin commands (such as /setaccountmoney and /giveweapon).
2023-05-16 10:16:35 +10:00
thesysadmindev 03af5ea520 Merge branch 'dev' into main 2023-05-15 15:51:07 +10:00
thesysadmindev 696277d5bb Added Paycheck Logging
Added a config variable to config.lua to enable/disable paycheck logging to Discord, added config option to config.logs.lua for Discord webhook and added function into paycheck.lua to send data to webhook containing paycheck information.
2023-05-15 10:41:02 +10:00
Tomić c6bbab6053 Merge branch 'dev' into main 2023-05-08 12:00:38 +02:00
Tomić eaa27d0ac4 feat(Client): GetAccount method
- Minor code refactoring
- Return nil on the server if the account isn't fount (self.getAccount)
2023-05-08 10:00:17 +02:00
Thekuca a46fe183ba Merge pull request #1036 from Arctos2win/patch-10
Update commands.lua
2023-05-07 21:56:31 +02:00
Thekuca 0557080d2f refactor(server/paycheck): format code 2023-05-07 21:47:02 +02:00
Thekuca 804ff0452c refactor(server/main): format code 2023-05-07 21:46:32 +02:00
Thekuca a093ed7e6e refactor(server/functions): format code 2023-05-07 21:46:03 +02:00
Thekuca d7a940f158 refactor(server/common): format code 2023-05-07 21:45:30 +02:00
Thekuca 853df24cde refactor(modules/npwd): format code 2023-05-07 21:44:24 +02:00
Thekuca c501f06975 refactor(modules/callback): format code 2023-05-07 21:43:52 +02:00
Thekuca 62d7bcef2a refactor(overrides/oxinventory): format code 2023-05-07 21:43:00 +02:00
TheFantomas 1b13b2ed07 unused loop variable 'k' fixes 2023-05-07 19:46:42 +02:00
TheFantomas d3086e61b4 lint(core): line contains trailing whitespace fixes 2023-05-07 19:39:11 +02:00
TheFantomas 612ffb59de Hmm 2023-05-07 19:26:11 +02:00
Thekuca 4e6251a4a9 refactor
refactor and remove unnecessary code
2023-05-03 23:39:10 +02:00
Arctos2win c073a59672 Update commands.lua
change the name from Player to executor and check if its executed by a player or by console, adding the target player in the discord logs
2023-05-03 20:29:23 +02:00
Csoki 1c9ad325cf feat(modules/callback): add Await callbacks 2023-04-28 11:19:02 +02:00
Csoki c565cadc2d Merge pull request #1004 from GurraG004/patch-1
feat(es_extended/server/functions.lua): "merge" args type in ESX.RegisterCommand
2023-04-21 19:39:06 +02:00
Csoki 5325d41037 Merge pull request #1009 from thelindat/patch-2
fix(esx/ox_inventory): trigger esx:setAccountMoney when syncing inventory
2023-04-19 15:48:13 +02:00
Mycroft 42eb8aafd2 fix: typo 2023-04-11 14:13:07 +01:00
Mycroft e13711c119 tweak(es_extended): Blame OxMySQL for Database issues 2023-04-11 14:01:15 +01:00
Linden 2dc90b4410 fix(esx/ox_inventory): trigger esx:setAccountMoney when syncing inventory
Change was excluded from https://github.com/esx-framework/esx_core/commit/2851032034f93eb48863b909f2bfdb9c7b3fa76f
2023-04-06 09:25:59 +10:00
Fores 2eac900202 Merge Args in command
added so you can merge the args for reports command and other functions when you are sending a message with spaces. Needs to be the last args and validate set to false. / Fores
2023-04-02 23:00:14 +02:00
TheFantomas 16bb15a8a9 fix(es_extended/server/functions.lua): Added model argument to callback 2023-03-18 19:18:31 +01:00
P Gergő 02d496fa6a Remove print 2023-03-12 18:39:07 +01:00
P Gergő a00183deba Refactor: Metadata. meta to metadata 2023-03-12 18:32:56 +01:00
P Gergő 81aa9bb969 Merge pull request #922 from Sub-Zero-Interactive/test
Feat/Fix(es_extended & esx_multicharacter): Added Validations + bug fixes
2023-03-07 20:08:30 +01:00
P Gergő aec007ff0b Merge pull request #928 from 3869542/patch-RemoveInventoryItem
fix(es_extended/server/classes/player.lua): negative removeInventroyItem count
2023-03-04 22:15:12 +01:00
3869542 afdc384f64 Update player.lua 2023-03-05 01:26:53 +08:00
3869542 0eeabdb6e0 Update player.lua 2023-03-05 01:23:28 +08:00
3869542 d4f1cbb366 Update player.lua
Fix some cheats use xPlayer.removeInventoryItem(itemName, negative number) to get Item
2023-03-05 01:06:12 +08:00