Commit Graph

359 Commits

Author SHA1 Message Date
Kakarot 4a0993591b Merge branch 'main' into main 2023-09-23 15:12:10 -05:00
Kakarot f3578b2945 Merge branch 'main' into main 2023-09-23 15:10:51 -05:00
Kakarot 5821fc7277 Merge branch 'main' into main 2023-09-21 22:28:39 -05:00
Swellington Soares f93c31fa54 Update functions.lua
Added functions to Get players by account and added functions by char info passing the key property and value to check if exists.
2023-09-20 17:02:43 -03:00
Cocodrulo 1769fbe8b0 Update player.lua
A more comprehensive way of notifying a player and checking if a player has items from the server side.
2023-08-18 14:49:08 +01:00
Daniel GP f175bcf47f Merge branch 'main' into main 2023-07-10 15:36:27 +02:00
EinS4ckZwieblen dde2f788d3 chore(server/events): remove redundant vehicle spawning 2023-06-22 09:13:35 +02:00
Daniel GP 5998d92a9b Fix bad implemention with SQL Function 2023-06-02 22:09:52 +02:00
Daniel GP 4b1acec5d1 Update query function 2023-06-01 21:23:00 +02:00
Kakarot 147d90e458 Merge branch 'main' into main 2023-06-01 11:24:34 -07:00
FjamZoo 99a90ebd5e feat(server/events): Trigger server event on player Duty update 2023-05-17 15:57:10 +02:00
Daniel GP b156f5c658 Add GetPlayerByLicense function 2023-05-15 22:26:06 +02:00
Kakarot 56d74f6405 New function for server vehicle spawning 2023-04-27 22:06:05 -05:00
Kakarot d9607f51b0 Merge pull request #849 from mmoftah:main
Have SetJobDuty also trigger job updates
2023-04-27 17:44:52 -07:00
Kakarot 5f6eb7f3a3 Merge pull request #907 from jellyton69:develop
Fix Debug, Fix Spelling Mistake, Add OOC Color Config
2023-04-27 17:14:07 -07:00
Kakarot 414f946688 Merge branch 'main' into main 2023-04-27 15:46:47 -07:00
erikmeyer08 822b2e4187 Add pacycheck reason
Adds the string 'paycheck' for AddMoney function 'reason' variable.
2023-04-14 20:06:09 -04:00
tom-osborne 5feec5582b correct use of "or nil" 2023-03-02 07:28:25 +00:00
tom-osborne 7620c1c74a Add documentation (luadoc) to functions 2023-03-01 23:47:21 +00:00
R0adRa93 01e8597f07 [FIX] Security match sql (#925)
* Added PrepForSQL function

performs a check to a string with expected patterns to be matched.

* Bug Fixes

After talking with Stan I realized that it wasn't testing strings so I set it up to ensure data is a string.

I also reworded the event log.
2023-01-18 18:53:38 +01:00
R0adRa93 9878aeaeb2 Added PrepForSQL function (#914)
performs a check to a string with expected patterns to be matched.
2023-01-17 16:01:36 +01:00
Jellyton 56a44bea37 Update commands.lua 2022-12-27 18:46:47 -08:00
Jellyton ec628fb6c7 Add OOC color to main config file 2022-12-28 02:42:00 +00:00
Jellyton 58ab2f6cbd Fix QBCore.Debug not printing correct invoking resource name 2022-12-28 02:39:18 +00:00
Jellyton b76160ca1e Fix proximity OOC spelling 2022-12-27 07:40:53 +00:00
Zerio 8d5a0800ab Merge branch 'main' into main 2022-12-20 18:56:38 +01:00
KamuiKody c79a7b907a add baseevents back (#898) 2022-12-19 22:29:18 +01:00
Zerio 95de86d2e1 Merge branch 'qbcore-framework:main' into main 2022-12-17 01:18:57 +01:00
Zerio b057ef0395 Remove deprecated events 2022-12-17 01:18:16 +01:00
Zerio 091bcd2c3e Remove unnused & vulnerable event 2022-12-17 01:17:02 +01:00
R0adRa93 cc64ee38e8 Getting QB-Core ready for qb-jobs (#883)
Co-authored-by: Zerio <54480523+Z3rio@users.noreply.github.com>
2022-12-16 23:38:31 +01:00
Chris Sinclair 312f24d245 Bypass for loading QBCore in FxDK (#792)
FxDK does not include license identifiers by default and thus breaks scripts that utilize those. Without this you will get the "No valid Rockstar license" error when connecting. This fix was not my own I found it in the post linked below and tested myself.

https://forum.cfx.re/t/connection-rejected-by-server-fxdk/2504365/5

Co-authored-by: Kakarot <57848836+GhzGarage@users.noreply.github.com>
Co-authored-by: Stan <96954031+tom-osborne@users.noreply.github.com>
Co-authored-by: Zerio <54480523+Z3rio@users.noreply.github.com>
2022-12-11 13:43:10 +01:00
KamuiKody 5635ffbf04 Merge branch 'qbcore-framework:main' into main 2022-10-14 02:01:07 +00:00
David Malchin bd30889c1c Improve comments 2022-10-08 03:53:25 +03:00
David Malchin fd86efbe1b Raise server-side error on database timeout 2022-10-08 03:52:59 +03:00
David Malchin 67ef3741b7 Add clearer messages and handle database errors on player connecting 2022-09-30 02:06:04 +03:00
mmoftah 0255c37a2d Have SetJobDuty also trigger job updates 2022-09-21 16:38:10 -04:00
KamuiKody 6d48fbf850 Merge branch 'qbcore-framework:main' into main 2022-09-09 00:48:31 -04:00
Anton Stjernquist 7aefc17c2b feat: send reason with event 2022-09-07 22:43:58 +02:00
KamuiKody 8386143cd7 Framework Optimization
for optimization of other resources.
2022-09-04 22:51:27 -04:00
Linden bc7555a49c refactor(server/functions): grant principal to player.id
Easier to read and test aces.
2022-09-01 07:32:00 +10:00
Linden 1cd8503ee1 fix(server/player): don't refresh commands when updating PlayerData 2022-09-01 07:31:54 +10:00
Zerio ad703290fd Update server/player.lua
Co-authored-by: David Malchin <malchin459@gmail.com>
2022-08-29 21:05:20 +02:00
Zerio 6b5ddc2c61 Add force deletion of characters 2022-08-27 16:38:07 +02:00
Kakarot a734211478 Update events.lua 2022-08-26 09:23:41 -05:00
Kakarot 156182dd93 Update events.lua 2022-08-26 08:49:22 -05:00
BerkieBb 8557e599f0 tweak(server/functions): usableitems are back in the core 2022-08-25 17:42:55 +02:00
BerkieBb 7e52fbe937 chore(server/main): move QBCore.UseableItems 2022-08-25 17:42:20 +02:00
Kakarot 97e123633b Merge branch 'main' into main 2022-08-25 07:50:45 -07:00
BerkieBb d563a89891 fix(server/player): add forgotten variable for setmoney 2022-08-24 15:06:40 +02:00