Configuration
Configuration
{
"factionTypes": {
"Crips": "#0000FF",
"Blood": "#FF0000",
"Hoover": "#FFA500",
"Hispanic": "#964B00",
"Other": "#808080"
},
"factionTiers": [
"Unofficial",
"Tier One",
"Tier Two",
"Tier Three"
],
"ranks": [
"Leadership",
"Council",
"Member"
]
}
---@description Shared settings for the resource
return {
Debug = true, -- enables debug logs, only for testing purposes.
FactionLimits = {
Enabled = true, -- whether to enforce faction member limits
DefaultLimit = 25, -- default maximum members per faction if no specific limit is set
-- Tier-based limits (higher tiers can have more members)
TierLimits = {
["Unofficial"] = 15, -- Comment out line 11 - 14 if you just want to use the default limit.
["Tier 1"] = 25,
["Tier 2"] = 35,
["Tier 3"] = 50,
},
-- Type-based limits (can override tier limits for specific faction types)
TypeLimits = {
-- ["Crip"] = 30, -- Crip factions can have 30 members regardless of tier
-- "Other" type will use tier-based limits since it's not specified here
}
}
}
-- Export exports.rk_factions:GetPlayerFInfo(src)
Config = {
-- A list of groups permitted to access the faction panel. You can also use ACE permissions.
Groups = {
'fm',
'management',
'admin'
},
Commands = {
FMpanel = { -- The command used by Config.Groups to open the faction panel
'fmpanel',
'factionPanel'
},
ownerPanel = { -- The command for faction owners to open their management panel
'fowner',
'factionowner',
'fmanage'
},
Faction = { -- The command to check your faction.
'faction',
'viewfaction'
},
chat = { -- The command to chat with your faction members.
'fchat',
'f'
},
members = { -- The command to see all online members.
'fonline',
'fmembers'
},
leave = { -- Command to leave your faction (Doesn't work for owners.)
'fleave',
'flev'
},
invite = { -- Command to invite others to your faction
'finv',
'finvite'
},
kick = {
'fkick',
'factionkick'
},
promote = {
'fsetrank',
'fpromote',
}
},
}
return {
createfaction = "webhook_goes_here",
disbandfaction = "webhook_goes_here",
memberadd = "webhook_goes_here",
memberremove = "webhook_goes_here"
}
Last updated