Installation
Basic installation instructions for Wasabi Gang Creator (wasabi_gangs).
The resource must be named wasabi_gangs to operate correctly.
1. Install and start dependencies
Ensure all dependencies are installed, current, and configured.
2. Add inventory items and images
The resource includes item definitions and images in _invItems.
- Add the item definitions for your inventory from
_invItems/data.lua(ox/wasabi, qb/ps, codem, jaksam and tgiann formats are included). - Copy the images from
_invItems/imagesinto your inventory image directory. - Make sure the drug, dirty money and other standard items referenced in the configuration exist in your inventory. Only add the ones you are missing; duplicates break item loading.
spray_can and spray_cleaner are registered as usable items by the resource. gang_tablet, ziptie and headbag are only needed when you set them in the configuration (tablet.item, actions.cuff.item, actions.headbag.item).
On ESX without an item inventory, add the graffiti items to the items table:
INSERT INTO items (name, label, weight) VALUES ('spray_can', 'Spray Can', 1), ('spray_cleaner', 'Graffiti Cleaner', 1);
3. Review all three configuration files
- Shared:
config/shared/config.lua - Client:
config/client/config.lua - Server:
config/server/config.lua
At minimum, review the admin groups, interaction type, money accounts, drug items, graffiti items and the illegal medic and laundering locations.
Setting debug = true in the shared configuration helps during initial set-up.
4. Start the resource
Place wasabi_gangs in your resources directory and start it after the framework, Ox Lib, OxMySQL, inventory, and any selected integrations.
ensure ox_lib
ensure oxmysql
# ensure your framework, inventory and selected integrations first
ensure wasabi_gangs
The resource creates its database tables automatically on startup from install/wasabi_gangs.sql. Its database user therefore needs CREATE permission, and ALTER permission when an update adds columns. You can also run install/wasabi_gangs.sql manually.
5. Create your organizations
Join with an administrator (a group in admin.groups or the gangcreator.admin ace), then run:
/gangcreator
Create an organization, choose its owner and colour, set its base and draw territories. Members are added from the boss menu (/gangmenu).
6. Restart and enjoy!
Restart the server and enjoy.