2026-09-06 14:38:17 +02:00
2026-09-06 14:38:17 +02:00
2026-09-06 17:12:27 +02:00
2026-09-06 14:38:17 +02:00
2026-09-06 14:38:17 +02:00
2026-09-06 14:36:26 +02:00
2026-09-06 14:38:17 +02:00
2026-09-06 16:38:42 +02:00

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 console coop_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 thresholds
  • Progression.Models: player-model catalogue and prices
  • Progression.Weapons: bonus-weapon catalogue and prices
  • Progression.MonsterClasses: NPC classes that award points

Player-spawned NPCs and unknown/friendly NPC classes do not award points.

S
Description
No description provided
Readme GPL-3.0
6.7 MiB
Languages
Lua 88.9%
Python 4%
JavaScript 3.3%
CSS 2.7%
HTML 1.1%