Installation
First install the general dependencies. Then:
Place the folder
Place the wentus-mcclub folder under resources/[wentus]/.
Add the gang
Add the lostmc gang to your framework:
qbx_core/shared/gangs.lua — numeric grade keys [0]:
['lostmc'] = {
label = 'The Lost MC',
grades = {
[0] = { name = 'Recruit' },
[1] = { name = 'Enforcer' },
[2] = { name = 'Shot Caller' },
[3] = { name = 'Boss', isboss = true },
},
},
qb-core/shared/gangs.lua — string grade keys ['0']:
['lostmc'] = {
label = 'The Lost MC',
grades = {
['0'] = { name = 'Recruit' },
['1'] = { name = 'Enforcer' },
['2'] = { name = 'Shot Caller' },
['3'] = { name = 'Boss', isboss = true },
},
},
ESX has no gang system. Set Config.Base.GroupType = "job" and add lostmc as a job (jobs + job_grades tables).
Management menu
Point Config.Base.Events.ManagementMenu at your menu resource: qb-gangmenu:client:OpenMenu for a gang, qb-bossmenu:client:OpenMenu for a job.
Bank account
Set Config.Base.Events.ManagementMoney according to your banking resource — this is where the delivery payout lands. Make sure the lostmc account exists there.
Config + start
config.lua → make your Config.Base framework selection (Configuration). Add to server.cfg:
ensure wentus-mcclub
Config.Base against the resources that are actually running. A clean console means the configuration is consistent; any mismatch is printed as dependency missing/not started: … — check Config.Base.Using a job instead of a gang
| Setting | Gang | Job |
|---|---|---|
Config.Base.GroupType | gang | job |
Config.Base.Events.ManagementMenu | qb-gangmenu:client:OpenMenu | qb-bossmenu:client:OpenMenu |
Config.Settings.GangName | gang name | job name |
Stash
MC Club registers (ox_inventory) or creates (qb-inventory) one stash automatically:
| Stash | Config key | Access |
|---|---|---|
| Club stash | Config.Settings.Stash | lostmc members only |
Size: Config.Settings.StashSettings (slots, weight).
Optional: qb-target instead of ox_target
qb-target needs PolyZone. Uncomment these lines in fxmanifest.lua:
client_scripts {
'@PolyZone/client.lua',
'@PolyZone/CircleZone.lua',
-- ...
}
Then set Config.Base.TargetSystem.TargetExport = "qb-target" and Config.Base.PolyZone.Type = "PolyZone".