Database
You don't need to import anything. Gangs V2 sets up its database on its own.
๐ On first start
When the script starts for the first time, it:
- Creates all its tables. They all start with
kg_, so they're easy to spot. - Adds starter content:
- 6 hideout interiors (Starter Garage to Bunker)
- 8 dealership vehicles
- The first season and its free and premium rewards
- The Sandy Scrapyard hotspot
- 5 Black Medic locations
After that, all of this is managed from the Admin Panel.
Starter content is only added once. Changing the vehicle catalogue, season rewards or interiors in the config files afterwards does nothing. Edit them in the admin panel instead.
๐ Updates
When you install a new version, the script updates its tables on the next start. Your gangs, members, money and progress are kept.
๐พ What's saved
| Data | Includes |
|---|---|
| Gangs | Name, colour, logo, level, XP, treasury, upgrades, stats, branding, tier |
| Members & ranks | Who's in which gang, ranks, permissions, aliases |
| Hideouts | Interiors, furniture, outfits, who's inside |
| Fleet | Gang vehicles, dealership catalogue, public garages |
| Territory | Turfs, influence, hotspots, rackets, rivalries |
| Graffiti | Every tag in the city |
| Conflicts | Wars, war requests, raids and cooldowns |
| Contracts | Each gang's board and run history |
| Market | Listings, deliveries and payouts |
| Season pass | Rewards and claims |
| Daily spin | Every spin, its prize and unclaimed items |
| Leaderboard | Weekly and monthly results and winners |
| Surveillance | Placed cameras, sensors and trackers |
| Other | Dark chat, activity logs, admin logs, daily stats, settings changed in the admin panel |
๐ Coming from op-crime
Your op-crime gangs, members, money, stashes and turfs can be imported with one console command. See Migrating from op-crime.
๐งน Starting fresh
To completely reset the gang system, stop the server and delete every table starting with kg_. The next start creates everything again.
This permanently deletes every gang, member, turf and all progress. Back up your database first.
โก๏ธ Next: Migrating from op-crime