525 Commits
Author SHA1 Message Date
Mustachedom d85a1300d5 - remove callback calls 2026-08-18 00:13:37 -07:00
Mustachedom 07530a8662 - remove locales module 2026-08-18 00:02:04 -07:00
Mustachedom d6cffd01bc - init changes 2026-08-17 03:49:37 -07:00
MrNewb ac06c02209 Merge pull request #202 from gononono64/main
GetInvokingResource target index fix
2026-08-14 19:08:45 -04:00
Mr.Crowley ad8788bbfd Invoking can return nil
Added fallback for current resource, future proofing against require and fixing entities target property
2026-08-14 17:38:09 -05:00
jim gordon 84918c19c2 Remove debug print in GetItemBySlot
Remove debug print statement from GetItemBySlot function.
2026-08-10 02:13:07 +01: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 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 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 1dbd528d22 added dhs-banking to the supported banks in community bridge 2026-04-03 01:22:03 -05: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
OGReaper e309ffe8e4 added solaire notify compatibility 2026-03-16 18:38:38 +13: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 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
Sinaps Dev 56043f06ed Merge branch 'main' of https://github.com/SinapsDev/community_bridge 2026-01-28 23:49:10 +01:00
Sinaps Dev f753b8ae97 fixed qbcore GetIsFrameworkAdmin method 2026-01-28 23:49:08 +01:00
Mustache Dom ba6886b4a8 - fix
- `issue`
   - function getInventoryNewVersion() does not have a return if you are 2.0 or higher. resulting in auto setting to false

- `how i fixed`
  - added a return
2026-01-25 03:21:15 -07:00
MrNewb 98b883950d Add ZSX_UIV2 support for helptext, notify, and progressbar
Introduced new client modules for helptext, notify, and progressbar using ZSX_UIV2. Updated client and shared configuration files to include ZSX_UIV2 as an option for ProgressBarSystem, Notify, and HelpText. Bumped fxmanifest version to 0.13.2.
2026-01-24 18:08:34 -05:00
Sinaps Dev 0f2e41d72f IsVehicleOwnedByPlayer method 2025-12-28 17:10:26 +01:00
MrNewb 48f8122197 Remove cache and batch event libraries, update locales
Deleted the cache and batch event libraries from the codebase, including all related client, server, and shared files. Removed server-side particle library and associated client event handlers. Updated utility and clothing modules to remove cache dependencies. Improved utility logging and deprecated point functions with notices. Updated all locales to use a consistent 'PurchasedItem' message format and added Bulgarian (bg) translation. Bumped version to 0.13.1 in fxmanifest.
2025-12-23 19:27:27 -05:00
MrNewb 343af95794 Remove example scripts and update core logic
Deleted all files in the examples directory to clean up unused or test scripts. Updated fxmanifest.lua to enable ox_lib initialization. Improved error handling and entity tracking in utility functions, added prop removal, and made minor localization and code style adjustments throughout the codebase. Significant reword of inventory module, notification module, and framework module. Added support for wasabi_uikit, added support for keep-progressbars,
2025-12-14 16:22:35 -05:00
Mr.Crowley c40a260ea2 magic space was introduced with last patch
removed
2025-11-14 19:34:47 -06:00
Mr.Crowley a1901fc400 Bux fixes and cleanup
placeable_objects cleaned up white space and removed commented out code

points: issue with teleporting outside of a cell. Does not fire onremove event functions. Fixed

utility: Implemented fix for special characters for blips.

dialogue: upped wait time on close. This allows use to reopen the menu right away without firing the animation to close
2025-11-14 18:36:35 -06:00
MrNewb 444040dd39 This was crowleys commit and work - Refactor entity behaviors and improve particle handling
Refactored entity behavior triggers to simplify argument passing and added OnSet handler for particle behaviors. Improved particle effect management and event handling, updated locale and lib initialization in several modules, and fixed skill metadata access. Also streamlined point zone logic and menu/zone system initialization for better reliability.
2025-10-26 16:20:27 -04:00
MrNewb 179c3bad85 Add vehicle key integration modules
Introduces client-side modules for various vehicle key resources, each providing standardized GiveKeys and RemoveKeys functions. This enables compatibility with multiple vehicle key systems by abstracting their APIs behind a common interface.
2025-10-26 15:20:45 -04:00
MrNewb 266697b1fe Remove all vehicle key client modules
Deleted all client-side vehicle key integration modules from both 'vehicleKey' and 'vehiclekey' directories. This change likely reflects a refactor, migration, or deprecation of the vehicle key system integrations.
2025-10-26 15:20:31 -04:00
MrNewb 1d9431f88e folder name changes 2025-10-26 15:19:35 -04:00