๐Ÿด EM Studios Gangs

A modular and immersive gang territory system for RedM built for VORP. Includes infamy, territory control, tax banking, crafting, and promotion systems.


๐Ÿ“‘ Table of Contents

  1. ๐Ÿ”ง Requirements
  2. ๐Ÿ“ฆ Installation
  3. โš™๏ธ Configuration
    1. ๐Ÿ” Gang Creation
    2. ๐Ÿงพ Infamy Settings
    3. ๐Ÿ—บ๏ธ Zone Mapping
    4. ๐Ÿ› ๏ธ Crafting & Purchasables
  4. ๐Ÿ” Exports
  5. ๐Ÿ–ผ๏ธ UI Showcase
  6. ๐Ÿ“ฌ Support
  7. ๐Ÿ“„ License

๐Ÿ”ง Requirements

  • VORP Core
  • MySQL (via ghmattimysql or oxmysql)
  • RedM (FXServer)

๐Ÿ“ฆ Installation

  1. Download and unzip this resource into your serverโ€™s resources folder.
  2. Add it to your server.cfg:
ensure EM_Studios_Gangs
  1. Import the provided SQL files (gangs, gang_members, gang_infamy, zone_balances).
  2. Configure your zones and crafting stations in config.lua.
  3. (Optional) Set up Discord webhooks and role synchronization.

โš™๏ธ Configuration

You can configure nearly every aspect of this script using config.lua.

๐Ÿ” Gang Creation

Config.UseGangPermit = true         -- Require item to create a gang
Config.GangPermitItem = "gang_permit"
Config.PermitAmount = 1

๐Ÿงพ Infamy Settings

Config.InfamyPerTick = 10                  -- Passive infamy gain from KOTH
Config.InfamyLossPerKill = 5              -- Infamy loss when peds are killed
Config.ReduceInfamyOnKill = true
Config.AllowNonGangInfamyLoss = false

๐Ÿ—บ๏ธ Zone Mapping

Config.ZoneHashToName = {
    [459833523] = "Valentine",
    [2046780049] = "Rhodes",
    ...
}

๐Ÿ› ๏ธ Crafting & Purchasables

Define recipes and purchasables per zone in the Config.CraftingStations table.

Config.CraftingStations["Valentine"] = {
  recipes = {
    {
      label = "Molotov",
      ingredients = {
        { item = "alcohol", count = 1 },
        { item = "cloth", count = 1 }
      },
      reward = { item = "molotov", count = 1, label = "Molotov Cocktail" },
      craftTime = 3000
    }
  }
}

๐Ÿ” Exports

See Gang Exports for full integration documentation.


๐Ÿ–ผ๏ธ UI Showcase

  • โœ… EM Studios-style dark NUI
  • โœ… Gang list, invites, and ranks
  • โœ… Infamy values and zone control indicators
  • โœ… Dynamic crafting and territory earnings

๐Ÿ“ฌ Support

Join our Discord for support, bug reports, or suggestions:
https://discord.gg/pugmjxBKR8


๐Ÿ“„ License

MIT License โ€” see LICENSE file for details.


Table of contents