Commit Graph
904 Commits
Author SHA1 Message Date
jim gordon 84918c19c2 Remove debug print in GetItemBySlot
Remove debug print statement from GetItemBySlot function.
2026-08-10 02:13:07 +01:00
MrNewb a34c7ba245 Merge branch 'dev' 2026-08-01 01:40:59 -04:00
MrNewb 4be4c78af5 Merge branch 'dev' of https://github.com/TheOrderFivem/community_bridge into dev 2026-08-01 01:38:47 -04:00
MrNewbandClaude Fable 5 55e7aae424 ci: ship built UI only and fix webhook workflow
The release package excluded nothing under web/, so releases carried
the vite source, package manifests and configs. Ship web/dist and
web/public only, matching the 0.13.4 asset layout.

The webhook workflow linked to the old The-Order-Of-The-Sacred-Framework
URL, which now only 301s; point it at the current repo's latest
release. It reads just the event payload, so the checkout and jq
install steps were removed and permissions narrowed to contents: read.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-01 01:35:42 -04:00
MrNewb 9fc8aa369b Merge pull request #199 from TheOrderFivem/dev
Dev
2026-08-01 01:30:46 -04:00
MrNewb 9ce75dcced Update fxmanifest.lua 2026-08-01 01:29:48 -04:00
MrNewbandClaude Fable 5 94620315c6 ci: auto-release on main when the fxmanifest version bumps
Pushes to main that change fxmanifest.lua compare the version against
the previous commit and publish a release only when it actually
changed, packaging the drag-drop community_bridge.zip with generated
notes. Tags and titles stay bare (0.13.4) to match existing releases,
and an existing-tag guard prevents re-announcing a shipped version.

Uses RELEASE_PAT when configured so the release-published Discord
webhook still fires; GITHUB_TOKEN-created releases do not trigger it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-01 01:26:03 -04:00
MrNewbandClaude Fable 5 cd7fa10f54 fix(sql): parameterize SQL helpers and deprecate the module
All values now bind through ? placeholders instead of string
concatenation, Get/Delete take { column = value } filter tables
(raw WHERE strings error loudly), and table/column identifiers are
validated and backtick-quoted. The whole module is deprecated with a
once-per-resource console warning and will be removed on 2026-08-22 —
migrate to oxmysql directly (MySQL.query.await with ? placeholders).

Closes #198

Reported-by: Pajt9whauht283as <https://github.com/Pajt9whauht283as>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-01 01:09:39 -04:00
MrNewb 221919b3eb Merge pull request #195 from Musiker15/feat/msk-integrations
Add MSK Scripts support (msk_core)
2026-06-29 12:30:42 -04:00
Musiker15 93f4545c9d refactor: keep only msk_core integration per maintainer guidelines
Remove msk_fuel and msk_vehiclekeys providers (below 100-server
threshold). Retain msk_core Notify + ProgressBar integration.
2026-06-29 18:19:27 +02:00
MrNewb 346d0d1757 Merge pull request #193 from PeppeSess/patch-1
Added missing command registration support for the Qbox framework module.
2026-06-28 13:50:01 -04:00
Musiker15 48c58f45e0 feat: add MSK Scripts provider integrations
- fuel/msk_fuel: Fuel provider via msk_fuel exports (Get/SetVehicleFuel)
- vehiclekey/msk_vehiclekeys: VehicleKey provider (Add/RemovePrimaryKey)
- notify/msk_core: config-driven Notify provider via msk_core:Notify
- progressbar/msk_core: ProgressBar provider mapping label/duration/anim/disable
- settings: whitelist comments for msk_core / msk_fuel / msk_vehiclekeys
2026-06-28 10:15:55 +02:00
MrNewb e8ba8e1837 Support optional requiredCount in HasItem
Add an optional requiredCount parameter to Inventory.HasItem and default it to 1 when not provided. The function now forwards the count to tgiann:HasItem, allowing callers to check for multiple item quantities; updated the LuaDoc param annotation accordingly.
2026-06-06 22:36:44 -04:00
PeppeSg a4a7c4927b Update server.lua
removed duplicates
2026-06-03 22:16:49 +02:00
MrNewb d9d1a4af00 Merge pull request #194 from TheOrderFivem/dev
Dev
2026-05-30 13:56:17 -04:00
MrNewb a4d984b951 update core_inventory bridging to the current docs
I dont have a copy of this, im banned from his discord and im doing this blindly based on the docs with no explanation of whats in these returned tables. If you are the creator and want me to tweak this please send a copy to my keymaster. TheRealMrNewb
2026-05-30 12:42:28 -04:00
MrNewb 5c9a97c1c0 Plug 2026-05-30 12:08:31 -04:00
MrNewb c78acfd8af Add one_inventory integration (client/server)
Introduce a new one_inventory adapter under modules/inventory/one_inventory, providing client and server bridges to the one_inventory resource. Implements common Inventory functions (GetResourceName, GetItemInfo, Items, HasItem, GetItemCount, GetImagePath, GetPlayerInventory) on the client. On the server adds AddItem, RemoveItem (with client update events), GetItemBySlot, SetMetadata, OpenStash, AddStashItems, AddTrunkItems, ClearStash, CanCarryItem, UpdatePlate, OpenShop, RegisterShop (stub error), and OpenPlayerInventory. Both files early-return if one_inventory is missing and resolve item image paths. This connects community_bridge inventory operations to one_inventory APIs and handles stash/trunk/glovebox ID mapping and metadata handling.
2026-05-30 12:05:21 -04:00
PeppeSg 162598a3f9 Update server.lua
fixed a small careless error
2026-05-05 11:01:19 +02:00
PeppeSg fecbddd938 Update server.lua
Added missing command registration support for the Qbox framework module.

The ESX and QBCore framework modules already expose `Framework.Commands.Add`, but the Qbox module did not define `Framework.Commands`, causing resources that rely on the unified Community Bridge command API to fail on Qbox
2026-05-05 02:01:11 +02:00
MrNewb c06d71e213 Merge pull request #192 from Luke20201/main
Implement server Dispatch.SendAlert for fd_dispatch
2026-04-25 12:01:28 -04:00
MrNewb d2b6c288f1 Fix broken Notify return and redundant checks
Clean up modules/notify/solaire_notify/client.lua by removing duplicated conditional lines in the resource check and fixing Notify.SendNotify to return a single table argument to exports.solaire_notify:Notify. This removes stray/duplicated lines that caused syntax/logic issues and simplifies the early-return config logic.
2026-04-25 10:56:03 -04:00
Luke 14779773ac ox_target cleanup when invoking resource is stopped 2026-04-19 17:20:19 +01:00
Luke b8642cea23 Fix blips 2026-04-19 17:10:57 +01:00
Luke 5cc8a0cd68 Add server SendAlert support for fd_dispatch 2026-04-19 16:20:44 +01:00
MrNewb aa0b1e17f6 Bump version to 0.13.4 and fix vehicle key path 2026-04-13 14:37:53 -04:00
MrNewb 5a659510e0 Merge pull request #190 from AntOneofM/main
feat: add support for tk_bosstablet and zat-bossmenu boss menus
2026-04-13 08:49:55 -04:00
SignApps Dev 5cdc4b4e72 feat: add support for tk_bosstablet and zat-bossmenu boss menus 2026-04-08 11:27:05 +02:00
MrNewb fef2a94136 Merge pull request #188 from Dragon-Heart-Studios/main
Added DHS-BankingSim Support
2026-04-03 19:07:07 -04:00
Tkiljoy 06913105c1 Merge branch 'TheOrderFivem:main' into main 2026-04-03 01:22:35 -05:00
Tkiljoy 1dbd528d22 added dhs-banking to the supported banks in community bridge 2026-04-03 01:22:03 -05:00
MrNewb 8e82c727be Merge pull request #186 from OGReaperx/main
solaire notify compat
2026-03-22 11:24:50 -04:00
MrNewbandSolaire 17bb8b05c7 Update modules/notify/solaire_notify/client.lua
Co-authored-by: Solaire <montasticalgaming@gmail.com>
2026-03-22 11:24:10 -04:00
MrNewbandSolaire 3c6d56d19d Update modules/notify/solaire_notify/client.lua
Co-authored-by: Solaire <montasticalgaming@gmail.com>
2026-03-22 11:24:02 -04:00
MrNewbandSolaire b0242ba060 Update modules/notify/solaire_notify/client.lua
Co-authored-by: Solaire <montasticalgaming@gmail.com>
2026-03-22 11:23:48 -04:00
ScytheCode Studios 346d19ad90 Merge branch 'TheOrderFivem:main' into main 2026-03-20 19:58:43 -04:00
MrNewb b7fb0ec21e Fix documentation link and clean up README
Updated documentation link and removed VSCode extension reference.
2026-03-20 00:07:19 -04:00
OGReaper e309ffe8e4 added solaire notify compatibility 2026-03-16 18:38:38 +13:00
MrNewb 7422299cf9 Merge pull request #185 from TheOrderFivem/dev
Dev
2026-03-13 12:45:31 -04:00
MrNewb 6a120b682d Bump version from 0.13.2 to 0.13.3 2026-03-13 12:39:01 -04:00
MrNewb 6c6a1b5bd3 Merge pull request #184 from gononono64/dev
issue with qb-input checkboxes
2026-03-13 12:36:01 -04:00
MrNewb e0c6d2f8c7 fix for jg-mechanic is missing
Replace earlier GetResourceState checks in multiple inventory modules so they only return early when the 'jg-mechanic' resource state is 'missing'. This standardizes behavior across modules (jpr, origen, ox, ps, qb, qs, tgiann) and fixes an inverted check in ox_inventory so the exports['jg-mechanic']:vehiclePlateUpdated call runs unless the resource is actually missing.
2026-03-13 12:35:30 -04:00
Mr.Crowley 0088559b91 qb also returns strings for some reason
qb returns "true" or "false" instead of true or false for checkbox's and probably other stuff. Converting to bools to be consistent with ox's returns
2026-02-24 01:14:50 -06:00
Mr.Crowley b90463b7d2 issue with qb-input checkboxes
qb-input was not returning multiple checkboxes correctly.

The issue was that the returned data was being overwritten by other return values.

example:
```lua
local input = {
    {
        type = 'input',
        label = Locale("whitelist.label"),
        description = Locale("whitelist.description"),
        required = true,
    },
    {
        type = 'checkbox',
        label = Locale("can_whitelist.label"),
        required = false,
    },
    {
        type = 'checkbox',
        label = Locale("whitelist_temp_access.label"),
        required = false,
    }
}
```

Previously, one of the checkbox values would get overridden. The same issue occurred when using .options.
2026-02-24 00:53:37 -06:00
MrNewb 8475f65ee5 Merge pull request #183 from Mustachedom/Framework_Dom_PR
- `add` Framework Functions
2026-02-11 03:06:59 -05:00
Mustache Dom bf98a38619 - add Framework Functions
- added `GetPlayerByIdentifier`
- added `GetPlayerSource`
2026-02-08 02:10:14 -07:00
MrNewb d17f2062fc Merge pull request #182 from SinapsDev/main
decreased marker thread interaval 2ms to remove flickering
2026-02-07 12:51:49 -05:00
Sinaps Dev bd531c8464 decreased marker thread interaval 2ms to remove flickering 2026-01-31 19:18:58 +01:00
MrNewb 1c3d045479 Merge pull request #179 from Mustachedom/qb-inventory_version_fix
- `fix` qb-inventory version check function
2026-01-28 19:55:41 -05:00
MrNewb e4362f1a90 Merge pull request #180 from SinapsDev/main
Fixed GetIsFrameworkAdmin method for QBCore framework
2026-01-28 19:55:05 -05:00