Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

GangSystem

A CounterStrikeSharp plugin that adds a gang system for jail servers, with roles, credits, upgrades, missions, and broadcasts.

Features

  • Role hierarchy: Recruit, Enforcer, Lieutenant, Underboss, Kingpin
  • Gang chat via /g - visible to T-side only
  • Gang broadcast via /ginfo - Underboss and above only, shown as a center HUD message to all gang members
  • Top gangs leaderboard via /topgangs - accessible to all teams
  • Invite, kick, and role management via in-game menu
  • Donate store credits to your gang (requires StoreSystemAPI)
  • Upgrade gang level to unlock more member slots and perks (e.g. healthshot on spawn)
  • Rename gang - first rename is free, subsequent renames cost credits
  • Daily missions with configurable reset interval and credit reward
  • All gang actions are logged to the database
  • Gang creation is handled externally via website

Commands

Command Description Access
/gang Opens the gang menu T-side only
/g <message> Send a message to gang members T-side only
/ginfo <message> Broadcast a message to all gang members Underboss+ only
/topgangs Show the top 10 gangs All teams

Configuration

Field Description
DatabaseHost MySQL server host
DatabasePort MySQL server port. Defaults to 3306.
DatabaseName Database name
DatabaseUser Database user
DatabasePassword Database password
name_change_cost Credit cost for renaming the gang after the first free rename. Defaults to 200.
donation_reduction_percent Tax percentage deducted from donations before the gang receives credits. Defaults to 20.
mission_reset_hours How often missions reset in hours. Defaults to 24.
mission_reward Credits rewarded upon mission completion. Defaults to 100.
levels List of level configs - each with level, max_members, health_shot, and upgrade_cost.

Dependencies

Version

1.0

Author

MRxMAG1C

About

Gang system with credits, roles, missions, and broadcasts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages