๐ด 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
- ๐ง Requirements
- ๐ฆ Installation
- โ๏ธ Configuration
- ๐ Exports
- ๐ผ๏ธ UI Showcase
- ๐ฌ Support
- ๐ License
๐ง Requirements
- VORP Core
- MySQL (via ghmattimysql or oxmysql)
- RedM (FXServer)
๐ฆ Installation
- Download and unzip this resource into your serverโs
resources
folder. - Add it to your
server.cfg
:
ensure EM_Studios_Gangs
- Import the provided SQL files (
gangs
,gang_members
,gang_infamy
,zone_balances
). - Configure your zones and crafting stations in
config.lua
. - (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.