The Illegal Traphouse System is another mechanism for robbery in your FiveM roleplay. Players can obtain random items upon successfully completing a robbery. The system itself includes a restart mechanism specific to each robbery, imposing a cooldown period before players can rob the same traphouse again.
Would love to see a function in the alerts for setting gangs as a recipient.
Eg. a traphouse gets robbed, and its owned by Vagos (configured under config per traphouse). The members online above a certain rank gets a message/notification about their traphouse being robbed.
Thanks for the suggestion; it’s a good idea, though. Having a traphouse owned by a gang and notifying them if their traphouse is being robbed could be another engaging activity for gangs. I’d like to hear more about this mechanism so I can add it to my to-do list.
As of now, I will be adding an option to only rob a traphouse at a certain time (for example, at 6 PM before players can rob).
I’m definitely getting this, the system is really intriguing, and hopefully the gang function is added aswell at one point. Most excited for the activities and engagement this can do for the gangs of different communities <3
Added: Restriction time - time restriction for robbing traphouse [optional]
Config.RestrictTime = { -- time restriction for robbing traphouse [optional]
enabled = false, -- set to true to enable time restriction
startTime = 0, -- start time
endTime = 0, -- end time
}
Illegal Traphouse - 1.2.2 Updates
Added: Gang Owned Traphouse Option (You now have the option to set a specific traphouse to be owned by a gang by configuring it in the settings. This suggestion aims to provide another avenue for engagement and activities for gang communities.)
Config.TrapHouseLocation = {
["traphouse1"] = {
["coords"] = vector4(-595.04, -1653.04, 20.63, 330),
["isOpened"] = false,
["isBusy"] = false,
["type"] = "normal",
["gang"] = {
["gang_owned"] = true, -- set to true if the traphouse is owned by a gang
["allowed_members_to_rob"] = true, -- set to true if the gang members is allowed to rob their own traphouse
["gang_name"] = "vagos", -- gang name that owned the traphouse
["gang_rank"] = {1, 2, 3, 4} -- gang rank that will notified if their traphouse is being robbed
}
},
Update Discord logs added license id, server id.
Fix minors issues on player status
Traphouse Mechanism
NOTE: What actually is the traphouse? Is it a system where it can be triggered by simply finishing the minigame of a specific traphouse, and what is the actual mechanism of it? Based on my experience in FiveM gang communities, a traphouse is used for gang engagement and activities. If someone tries to rob a traphouse, everyone in the server will be notified, and they can engage and start fighting to get the loot. But with this unique update, you can now assign a traphouse to a gang by setting it in the config file so they can protect it. Alternatively, it’s up to you how you want to use it for your gang activities.