garrysmod-coop
Persistent progression and rewards shop
Players earn one Lifetime Score and one spendable Credit for every eligible
monster kill. Lifetime Score determines rank and never decreases. Shop
purchases deduct Credits only. Data is committed immediately to Garry's Mod's
SQLite database at garrysmod/sv.db.
Dying deducts up to five Credits, stopping at zero. It never deducts Lifetime Score and therefore cannot lower a player's rank.
Player controls:
F3, chat!shop, or client consolecoop_shop: open the rewards shop- Chat
!points: print personal Score, Credits, and rank - Hold
TAB: compare all connected players' Lifetime Scores and ranks
The shop contains persistent Half-Life 2 player models and permanent bonus weapon unlocks. Only one bonus weapon is equipped at a time. The server checks all kills, balances, prices, ownership, and equipment; clients cannot award points or choose a price.
Configuration is in gamemode/progression_shared.lua:
Progression.Ranks: rank names and Lifetime Score thresholdsProgression.Models: player-model catalogue and pricesProgression.Weapons: bonus-weapon catalogue and pricesProgression.MonsterClasses: NPC classes that award points
Player-spawned NPCs and unknown/friendly NPC classes do not award points.