Skip to content
/SLASHPLAY

How to set a player's health in Sven Co-op

As an admin listed in admins.txt, type admin_sethealth Dana 100 in the in-game chat.

admin_sethealth

Admin chat command that sets a player's health.

admin_sethealth <player> <health>

Examples

admin_sethealth Dana 100

Set Dana to 100 health.

Arguments

playerRequired
Name or Steam ID.
healthRequired
New health value.

What it does

Health can't go below 1 with this command.

Good to know

  • Type it in the in-game chat. Everyone sees a line saying which admin did what.
  • From the PlayerManagement plugin that ships with Sven Co-op and loads by default. Only players in admins.txt can use it.

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.