About This File
Supply Crate System
Description
This plugin adds a fully customizable Supply Crate system that allows players to deploy and interact with different crate types via an in-game menu.
Available crate types include:
-
Ammo Crates – supply ammunition
-
Grenade Crates – supply grenades
-
Market Crates – sell items for rewards
All crates are highly configurable, allowing server owners to fine-tune capacity, behavior, cooldowns, refill logic, team access, and more.
Players interact with crates by pressing E (IN_USE) while within the distance defined by g_eSetting[SETTING_CRATE_RANGE].
Commands
| Command | Description |
|---|---|
say /sc
|
Opens the Supply Crates menu |
say_team /sc
|
Opens the Supply Crates menu |
say /supplycrate
|
Opens the Supply Crates menu |
say_team /supplycrate
|
Opens the Supply Crates menu |
sc_reload
|
Reloads the configuration file |
supplycrate_reload
|
Reloads the configuration file |
Configuration
To create a custom crate, add a new entry in:
configs/SupplyCrate.ini
Crate Configuration Format
[Crate Name]
CRATE_MODEL = Model path of the crate
CRATE_CLASS = 0 - Ammo Crate
1 - Grenades Crate
2 - Market Crate
CRATE_TEAM = 0 - Disabled
1 - Terrorist only
2 - CT only
3 - Both teams
CRATE_MODE =
Armor Crates: a - Vest
b - Vest + Helmet
Ammo Crates: c - Ammo
Grenade Crates: c - HE
d - Flashbang 1
e - Flashbang 2
f - Smoke
CRATE_FLAGS = a - Breakable
b - Explosive
CRATE_SOUND_FLAGS = a - Placement sound
b - Use sound
c - Empty sound
d - Remove sound
e - Sell sound
f - Supply sound
g - Refill sound
CRATE_COOLDOWN = Cooldown (seconds) between uses
CRATE_CAPACITY = Maximum supply amount
CRATE_REFILL = Refill delay in seconds (-1 = disabled)
CRATE_DELAY = Activation delay after placement or round start
CRATE_HEALTH = Crate health (default: 250)
CRATE_ARMOR = Armor supplied (default: 100)
CRATE_FACTOR = Scaling factor for ammo supply and market selling
CRATE_FACTOR_MAX = Maximum scaling limit for ammo crates
CRATE_SPAWN_CHANCE = Respawn probability (0.0 = never, 1.0 = always)
CRATE_EXPLODE_DAMAGE = Explosion damage (default: 100)
CRATE_EXPLODE_RADIUS = Explosion radius (default: 150)
CRATE_WEAPON_MODE = 0 - Allow all weapons
1 - Allow listed weapons
2 - Block listed weapons
CRATE_WEAPON_LIST = Weapon list used for filtering
Changelog
v1.0
-
Initial release
v2.0
-
Major rework with performance improvements
-
Improved crate placement (better alignment with ground & walls)
-
Crate refill system added
-
Activation delay after round start
-
Crates can break or explode when damaged
-
CRATE_FACTORintroduced for ammo scaling
v2.1
-
Added team-restricted crates (T / CT / Both / Disabled)
-
Added respawn chance for destroyed crates
-
Improved rendering logic
v2.2
-
CRATE_MODEswitched to bitflags for cleaner multi-option support -
CRATE_FACTORnow applies to grenade crates -
Added
CRATE_FACTOR_MAXfor ammo crates
v2.3
-
Added weapon interaction filtering
-
Precached metal break sounds and gibs for maps without native support
Download
Supply Crate v2.3

