Skip to content
/SLASHPLAY

How to limit the spray cache in Sven Co-op

Set hpk_maxsize 2 in svencoop/server.cfg to cap the spray file at 2 MB.

hpk_maxsize

Size limit in megabytes of the file that stores uploaded sprays. The oldest sprays go first.

hpk_maxsize <megabytes>

Examples

hpk_maxsize 2

Sven Co-op's stock server.cfg value.

Arguments

megabytesRequired
Size limit in MB.

What it does

Keeps the spray cache from growing without end.

Good to know

  • Sven Co-op's stock server.cfg sets 2.
  • On SLASHPLAY, type it in the Console tab of the server page; it lasts until the server restarts. To keep it, add the line to svencoop/server.cfg in the Files tab: Sven Co-op runs that file at every map change.

Run it on your server

Type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to svencoop/server.cfg in the Files tab: Sven Co-op runs it at every map change. New to this? Start a Sven Co-op server first.

Your own
Sven Co-op server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.