Skip to content
/SLASHPLAY

How to kick a player from chat as an admin in Sven Co-op

As an admin listed in admins.txt, type admin_kick Dana in the in-game chat. Add a number of minutes for a ban time.

admin_kick

Admin chat command that kicks a player, with an optional ban time in minutes.

admin_kick <player> [minutes]

Examples

admin_kick Dana

Kick Dana.

admin_kick Dana 30

Kick Dana with a 30 minute ban time.

Arguments

playerRequired
Name or Steam ID.
minutesOptional
Ban time in minutes.

What it does

Admins type it in chat, so they don't need the server console.

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. It can't be used on other admins.

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.