πΌChange-Log
We continuously enhance our scripts and want to ensure you're kept informed about key updates. This helps you keep your community engaged and well-informed.
Current Version
v2.1.97
Full Change-Log
Removed Missions tab from the Staff Dashboard
Fixed an issue with the DoNothingGuards responding to non temporary events
Changed instances of QBCore OnPlayerLoaded to Community Bridge OnPlayerLoaded
Previous Versions
v2.1.96
Full Change-Log
Added the ability for server administrators to prevent players from target selling if they are not in a gang
Added an export for getting Gang Perks
Removed prints from Gang Map
Fixed the locale for Dashboard Notification when a player changes their Home Turf
Fixed an issue that allowed gang members who are not in a gang to target sell to locals over and over again
v2.1.95
Full Change-Log
Fix Box Zones for Blueprints
Add Inventory Images
Fixed the logic behind the GetActiveTerritoriesCount() export
Open Sourced the
logs.lua
file on the server-sideAdded an Activity page to the Staff Dashboard
v2.1.94
Full Change-Log
Fixed an issue with GetCopCount() function
Refactor Black Market
Fix an error in main.js when chanigng gang name or color
v2.1.93
v2.1.91
v2.1.9
Full Change-Log
Moved server-side config to shared config (except for Logs obviously)
Major Performance Improvements and Optimizations
Open Sourced any instance of SaveAllShit(), which is the function that updates the database
Some more cleanup
v2.1.8
Full Change-Log
Moved ped spawning to OnPlayerLoaded instead of OnResourceStart
Fixed issues with opening the Black Market via community_bridge
Fixed issues with opening the Mission Shops via community_bridge
Refactored Gang Presence Thread (A little more to do here)
v2.1.7
Full Change-Log
Added another SQL installation file for different collation
Added a simple SQL installation file with no collation
Fixed the Territories page to only show territories that the player's gang has control of
Fixed an issue with gang storages that had some storages showing as having a password when they shouldn't be
Removed Config.DoYouWantToSaveImmediately until I can find a better alternative
Fixed a Locale with Alliance Requests that incorrectly stated the player needed to visit Franklin
Added functionality to prevent players from Leaving their Home Turf
Added a notification for when rivalries end
v2.1.6
Full Change-Log
Removed the notifications for when a player enters a new Gang Zone (I'll refactor this later and bring it back)
Refactored the GetGangID() export
Cleanup some Threads
Refactored Gang Presence in Turfs
v2.1.5
Full Change-Log
Use Community Bridge for ped spawns
Remove Gang Tasks, for now
Added a
/saveGangData
command
v2.1.4
Full Change-Log
Added an option so save gang data to database immediately, or only in server restarts
Refactored the AddNewGang() function
Refactored the function that shows the user interface
v2.1.3
Full Change-Log
Refactored the AlertCops() function in
client/framework.lua
Refactored the HasItem() and HasItemClient() functions in
framework.lua
v2.1.2
Full Change-Log
Fixed the images on the alliances page to show a default image when the gang logo doesn't exist
Fixed an issue with Corner Selling that prevented another local from spawning and walking towards the player for a drug sale
Added a server-side
GetItemLabel
functionFixed an issue with overriding qb-core and qbox gangs
Fixed an issue with crafting that prevented players from crafting items from the
sv_recipes.lua
file
v2.1.1
Full Change-Log
Added Community Bridge as a required dependency
Fixed an issue that prevented the Hideout Password from updating the database when changed
Refactored the HasItem() and HasItemClient() functions in
framework.lua
filesFixed an issue that enabled players to target sell to animals and dead locals (Whoops!)
v2.1.0
Full Change-Log
Removed all unnecessary print statements
Added RemoveFrameworkGang() function to framework.lua
Added Staff Reset Black Market functionality
Fixed gang notifications on startup and player loaded (no longer showing)
Initial Release to Tebex
v2.0.7
Full Change-Log
Added more Activity logs all throughout the script
Completely opened sourced all Gang Type attributes and logic (THIS IS HUGE!)
v2.0.6
Full Change-Log
Removed unnecessary prints from debug.lua
Refactored Teleport function
Refactored Entrance Zones and Protection Zones
Removed CB-Planting configuration
Redesigned the Territory View page
Redesigned the Territories page
Updated style.css
Redesign Territories page to show ALL territories instead of only territories the gang has control in
Removed Recent Change column from the Staff Territories page
Refactored SQL installation
Added more Task Locations
Added Activity Page
Refactored the layout and design of the Council Page (Still a WIP and still hidden)
Preparation for LOTS of new exports
Added a new Global State (RecentActivity)
Added CustomDrugModifiers() function to assist users in adding their own modifiers to the Drug Selling system
Added a CustomGraffitiCheck() function to assist users in adding their own validation for when players attempt to spray graffiti
Added a CustomMissionCheck() function to assist users in adding their own mission validation when players attempt to obtain a mission
Fixed an issue that prevented Brotherhood and Family Ties attributes from performing as intended
Add an alwaysShow attribute to Gang Perks to always show them in the UI when selling
Prevent the capturing of gang members who are in an alliance with the capturing gang
Fixed some issues that prevented the capturing of gang members
Refactored the RemoveLoyaltyFromHomeTurf export to skip removal of loyalty if the Home Turf is "None" or "Taken"
v2.0.5
Full Change-Log
Open Sourced Lation Drug selling logic
Refactored Rivalries and Rivalry logic
Refactored Drug Sale Multipliers to use configuration variables where appropriate
Removed some unnecessary commands in server_open.lua
v2.0.4
Full Change-Log
Fixed an issue that prevented Rivalries from sticking to the database
Added multiple status badges to the territories page instead of just one
Fixed an issue that was preventing the Drug Sale Modifiers from accurately displaying and giving modifiers
Removed unnecessary server-side print statements
Updated the installation SQL file (
gangsystem.sql
)
v2.0.3
Full Change-Log
Fixed an issue that prevented the Heat Map UI from displaying when selling outside of a gang zone
Fixed an issue with Prevalence Lockout
Improved logic and additional bug fixes for Lation Drugs support
Improved Logic and various bug fixes for Drug Selling
Remove prevalence lockout for Drugs (Not Needed)
Fixed an issue with Gang Staff panel where the number of contested territories was inaccurately displaying 0
Fixed an issue that was preventing players from changing their Home Turf
v2.0.2
Full Change-Log
Fix Limit Gang Turfs feature
Add Leave Gang Turf feature
Add notification for Leave Turf
Fix bugs with Lation Drugs
Update Dashboard to include current Hot Zone and current Zone player is in, instead of Territories Owned and Total Cash
Rename the /map command to /gangmap and added improved security so players who are not in a gang cannot open the map
Added the ability for server administrators to decrease the prevalence of a gang when a member kills a cop
Added the ability for server administrators to decrease the prevalence of a gang when a member is killed by a rival gang
Added logic that prevents a gang from losing loyalty in a zone while shooting if they control the turf
Made the /gang command configurable
Created an export to show the Gang Dashboard
Fixed an issue with Hot Zones that was changing them every 30 seconds instead of every 30 minutes
Removed some unused configuration values in various config files
v2.0.1
Full Change-Log
Added the rest of Hideouts to
config/sv_hideouts.lua
. There is now 12 total.Fixed the clothing menu function for Gang Hideouts. By default it does nothing. Look in
client/framework.lua
for theOpenClothingMenu()
function and change that to include an export or event to open your clothing menu. This will allow gang members to change clothes inside of hideouts. You can remove this feature by removing the clothing zone from the config inconfig/sv_hideouts.lua
Refactored code involving the increasing and decreasing of loyalty within zones
Refactored the UI to allow admins to remove the Tasks page if Tasks are disabled
Refactored the UI to allow admins to remove the Gang Types from Dashboard if Gang Types are disabled,
Refactored the UI to hide the Council Page (Still WIP)
Fixed an issue that prevented loyalty from sticking to the database on restarts
Updated Documentation with more Exports and Integration
Refactored
ServerConfig.CapturePoints
Refactored
GetGangZonePlayerIsIn
exportMoved
Config.Prevalence
to server-side (nowServerConfig.Prevalence
)Added some more comments throughout configuration files
Removed
ServerConfig.WeaponScratching
(Still WIP)Added another cool task location (just for fun)
Added
AllowedByPrevalence
exportRefactored the Prevalence Lockout feature
Refactor Gang Storage and placement of Gang Storage
Refactored Gang Colors configuration
Add
ChangeHomeTurf
export
v2.0.0
Last updated