45 Commits

Author SHA1 Message Date
Kakarot 74ac036d4a Refactor core structure and notification UI
Major refactor to centralize QBCore and replace the web UI stack:

- Move QBConfig into a unified QBCore.Config and initialize QBCore.PlayerData; add shared/functions.lua.
- Remove legacy client/main.lua and server/main.lua exports and update fxmanifest to include shared/functions and drop those main scripts.
- Update client event handling: adapt player data events to QBCore:Client:OnPlayerUpdated and trigger job/gang update events; remove deprecated exploitable handlers.
- Web UI rewrite: remove Vue/Quasar dependency and config module; implement a lightweight vanilla JS notification system (html/js/app.js) with updated html and css assets, plus drawtext tweaks.
- CSS overhaul for notification styling and animations; HTML head/meta/font cleanup.
- Server fixes: use QBCore.Shared.Locations in teleport command and strengthen numeric parsing/validation for coords.
- Add .gitattributes for consistent text/eol handling and small code cleanups (thread/comment removal).

These changes consolidate config/shared logic under QBCore, simplify the frontend dependencies, and fix a few parsing/event issues.
2026-05-19 18:13:35 -05:00
Kakarot 9adb33b970 Core object filtering + exported functions/data
Maintains backwards compatibility and allows users to only get what they need from the core instead of importing it all
2025-01-25 00:36:31 -06:00
Kakarot 40df11027b Description for txAdmin 2024-02-11 17:37:25 -06:00
Ilker Kulgu e17a6993dd EMS jobtype (#946)
* EMS jobtype

* Bump

* Update fxmanifest.lua

---------

Co-authored-by: zwkf <dev@charlie.fyi>
2023-03-03 18:01:56 +00:00
JaySixty 14625ec5b1 Move location of starter items (#865)
* Update; Location of starter items

Moved the starter items to near top of the file - commonly searched for, and would be expected at top of the file

* Bump

---------

Co-authored-by: zwkf <dev@charlie.fyi>
2023-02-24 02:49:41 +00:00
Brian eb0213c60b Update Norwegian language file (#934)
* Updated no.lua

* Bump

---------

Co-authored-by: zwkf <dev@charlie.fyi>
2023-02-22 00:02:26 +00:00
minkuan-buu e515317cc8 Fix Vietnamese translations (#947)
* Update vn.lua

Edit spelling

* Bump

---------

Co-authored-by: zwkf <dev@charlie.fyi>
2023-02-21 23:56:39 +00:00
Jack 7b68f72cec Update vehicles.lua (#929)
* Update vehicles.lua

Remove the space after this, as when somebody tries to pull it out, it will break PDM due to the space in the model hash.

* Bump version number

Co-authored-by: zwkf <dev@charlie.fyi>
2023-01-26 01:58:28 +00: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
Charlie 78fd87d126 Bump version 2022-11-19 11:49:24 +00:00
David Malchin 1a3aa824fa Add locale convar and locale fallback 2022-09-04 00:46:21 +03:00
AnishBplayz 415e93085c Update fxmanifest.lua 2022-08-20 02:34:07 +05:30
David Malchin 7fab401ed2 Fix Styling (#758)
* style: ensure consistent indentation

* style: add spacing

* style: add newlines

* style: simplify html

* fix: update javascript indent size in contribution guidelines
2022-07-18 23:45:46 +03:00
Idris Dev 48a73aff83 Update fxmanifest.lua 2022-03-29 19:32:56 +11:00
TRClassic 814adb0a23 Update fxmanifest.lua 2022-03-29 00:15:25 -04:00
TRClassic e730b01545 Loading issue
wasn't loading the shared files in order
2022-03-29 00:13:51 -04:00
BerkieBb 05e740c963 tweak(manifest): remove progressbar dependency 2022-03-13 21:43:09 +01:00
BerkieBb c8fd9a590d feat: removed connectqueue as a dependency 2022-03-01 19:42:03 +01:00
BerkieBb 31888996ab feat!: ace permission system 2022-02-24 21:58:49 +01:00
BerkieBb ab131e2cc8 revert(manifest): version bump 2022-02-18 19:17:29 +01:00
BerkieBb 81d7d1fadb tweak(manifest): shared globbing and version bump 2022-02-18 19:16:48 +01:00
Idris Dev f742dff5de fix (semvar): Version correctly bumped 2022-02-18 18:41:54 +11:00
darknight2590 3b61e13854 feat (html): Organised html file - Darknight2590
* Rename html/app.js to html/js/app.js
* Rename html/config.js to html/js/config.js
* Rename html/drawtext.js to html/js/drawtext.js
* Rename html/testing.js to html/js/testing.js
* Rename html/utils.js to html/js/utils.js
* Rename html/style.css to html/css/style.css
* Rename html/drawtext.css to html/css/drawtext.css
* Update fxmanifest.lua
2022-02-17 19:35:01 +11:00
Idris Dev df64b17aa3 Update fxmanifest.lua 2022-02-14 17:32:16 +11:00
Idris Dev d7116867a3 bump: Upped version number 2022-02-13 23:09:57 +11:00
Idris 488c74b2de Merge branch 'develop' of https://github.com/qbcore-framework/qb-core into feat/ModularSharedTables 2022-02-13 20:51:43 +11:00
Idris ae29c94a40 feat (Shared): Added the ability to dynamically update the shared jobs, items and gangs. 2022-02-13 20:45:49 +11:00
Idris 2723d67744 feat (drawtext): Added IdrisDose/qb-drawtext to core to hopefully slow down the usage of drawtext3d. 2022-02-13 17:26:17 +11:00
Kakarot d786a3cd07 Locale/oxmysql
MUST UPDATE OXMYSQL TO 1.9 OR HIGHER
2022-01-10 01:52:59 -06:00
Idris 0f137e3814 BREAKING: feat (shared): Split shared file into multiple files for cleaner and easier config and maintenance.
This is a breaking change.
2022-01-01 17:37:00 +11:00
Kakarot 62d3901d2b Remove import 2021-11-10 00:46:51 -06:00
Kakarot ec6e294860 oxmysql dependency
Only works with 1.7
2021-10-26 19:58:13 -06:00
izMystic 2eebf87133 Update fxmanifest.lua 2021-10-22 00:17:09 -04:00
Kakarot 6d9162e511 Globbing 2021-10-13 19:33:43 -05:00
Kakarot be4f57410b feat(html): New Notify System
-Replaces old notification system but is also backwards compatible so no changes necessary
- Now allows for the use of sending a table with text and caption
- Can add as many types of notifications as wanted/needed
- Configure position and icons in app,js (google icons or fontawesome)
2021-09-28 23:39:11 -06:00
Kakarot 923f3d3a31 ⚠️ Major Update ⚠️
- Major cleanup of all files including reformatting & notations
- Added an optional export to add to scripts as an alternative to import.lua
- Added player state to OnPlayerLoaded so no more need for isLoggedIn inside scripts
- Updated all events to the new RegisterNetEvent and got rid of unneeded handlers
- Added the ability for ACE permissions with commands
- Added two new config options for player update interval and status update
- Changed players table to use citizenid column as primary key <-- very important
- Overall sloppy code cleanup, removal of unused code, got rid of nil checks
2021-09-24 22:46:20 -06:00
GhzGarage 21e8c0bb92 Weird dependency problem? 2021-09-11 23:12:02 -05:00
GhzGarage 95d4d6d287 ⚠️⚠️ ghmatti ditch ⚠️⚠️ 2021-09-11 21:26:56 -05:00
Bear 498a7f958b revert, going a different route after discussion 2021-08-01 14:02:30 -05:00
Bear dfc4375151 remove progressbar dependency
fixes progress bar errors on resource start
2021-08-01 13:50:49 -05:00
Taso c900b99f86 chore(lua54): utilize Lua version 5.4 runtime
This version includes improved changes to GC, better pseudo-randomness with `math.random()` (no longer requiring a seed to display even an ounce of randomness), and `const` keyword for all the immutable fellas out there.
2021-07-27 11:09:41 -04:00
GhzGarage ebbf7a3378 GetObject 2021-07-01 21:45:05 -05:00
Franco Sanllehi 694b71292b fix(qb/core): Fix paycheck
Fix order needed for loops introduced on #25
2021-06-18 14:25:10 -04:00
BerkieBb 8fca0ef7a8 Update fxmanifest.lua 2021-06-18 17:46:32 +02:00
GhzGarage 36a139cc09 easier file management 2021-04-08 19:11:32 -05:00