Core crutches
Requirements
- ox_lib
- ox_inventory
- QBCore / ESX / QBox
Installation
-
Place the
core-crutchesfolder in your server'sresourcesdirectory -
Add to your
server.cfg
ensure core-crutches
-
Add the
crutchitem to your ox_inventory items list -
Configure to match your server — see Configuration
-
Restart your server or run
refreshthenensure core-crutchesin console
Configuration
All settings are in config/
Knockout
Config.Knockout.Enabled = true -- Enable or disable the knockout system
Config.Knockout.Duration = 5500 -- How long the knockout lasts in ms
Config.Knockout.HealthAmount = 155 -- Health threshold to trigger knockout (100 = 0hp, 200 = full)
Config.Knockout.RegenInterval = 450 -- Time in ms between health regen ticks
Config.Knockout.Regeneration = 2 -- Health restored per regen tick
Crutch
Config.Crutch.DefaultDuration = 30 -- Default crutch time in minutes if not specified in command
Config.Crutch.AdminOnly = false -- Restrict /applycrutch to admins only (false allows EMS job too)
Commands
| Command | Permission | Description |
|---|---|---|
/applycrutch [id] [minutes] |
EMS / Admin | Apply a crutch to a player for a set duration |
/crutchtime |
Player | Check how much crutch time you have remaining |
Support
- 💬 Discord: discord.gg/TBb4QKHQtm
- 🛒 Tebex: core-forge.tebex.io/package/7240624
- 📺 YouTube: youtube.com/@CoreForgeFivem
- 📁 GitHub: github.com/Core-Forge-5