Skip to content
/SLASHPLAY

How to kill another player with a command in Rust

Type global.killplayer "PlayerName" in the server console to kill that player at once. A Steam64 ID or bot name works too.

global.killplayer

Kills a specific player instantly by name, Steam64 ID or bot name.

killplayer <player>

Examples

killplayer "PlayerName"

Kill a player.

Arguments

playerRequired
Name, partial name or Steam64 ID.

What it does

An admin command that deals enough damage to kill the target outright. Their loot drops as with any death.

The game's own description: Deals 1000 damage to the specified player (by name/SteamID/bot) killing them immediately; useful for testing death logic without console kill commands

Run it on your server

Type it in the server console or send it over RCON; admins can also use the F1 console in game. To keep a setting, run server.writecfg after changing it, or put it on the launch line as +name value.

Your own
game server.

CS2, Minecraft, Palworld and more, from $0.03 an hour.