Prop Health

Prop Health

MIT

A SourceMod plugin that gives any prop that uses `prop_physics` a health bar. Primarily for Zombie Escape, Mod, and Hunting servers in Counter-Strike.

Demo

A video I made in 2015 demonstrating the plugin's use cases.

Authentication

All requests are authenticated with a personal API key.

You need to log in to use the API.

After logging in, generate an API key from the panel API page and send it as a Bearer token.

Log in →

Example request

curl "/api/content/mod/11" \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Endpoints

Public read-only endpoints.

GET
/api/content/mod

List items (paginated, filterable).

ParameterInRequiredDescription
pagequerynoPage number (1-based).
limitquerynoItems per page (clamped to your key limit).
minequerynoSet to 1 to return only items you own.
searchquerynoFilter by name.
tagsquerynoComma-separated tag names.
categoryIdsquerynoComma-separated category ids.
communityIdquerynoScope to a community.
nsfwquerynoInclude NSFW (1/0).
curl example
curl -v -X "GET" -H "Authorization: Bearer <YOUR_API_KEY>" /api/content/mod
GET
/api/content/mod/11

Fetch this item.

No parameters — the item id in the path is all that's needed.

curl example
curl -v -X "GET" -H "Authorization: Bearer <YOUR_API_KEY>" /api/content/mod/11
GET
/api/content/mod/11/{relation}

Read a relation set (tags | media | releases | links | installers | items).

ParameterInRequiredDescription
relationpathyestags | media | releases | links | installers | items
pagequerynoPage number (1-based).
limitquerynoItems per page.
curl example
curl -v -X "GET" -H "Authorization: Bearer <YOUR_API_KEY>" /api/content/mod/11/{relation}
Prop Health - Counter-Strike 2