7 Days to Die Ban Command

This admin command can be used to list all banned players, or ban/unban a specified player. When banning a player, you need to specify a duration (see duration argument information for help). You can optionally specify a ban message (reason) when banning a player.

Ban Syntax

The syntax for the ban command is as follows:

ban ['add' / 'remove' / 'list'] [steam id / player name / entity id] [duration + duration unit] ["message"]

This command has the following arguments:

'add' / 'remove' / 'list'Specify 'list' (without quotes) to list all active bans. Specify 'remove' (without quotes) to remove a ban. Specify 'add' (without quotes) to ban a player.
Steam ID / Player Name / Entity IDOnly required if banning or unbanning a player. The Steam ID, entity ID, or name of the player you wish to ban or unban. List entity IDs with the 'listplayerids' command.
Duration + Duration UnitOnly required when banning a player. A number, followed by a space and then a duration unit. For example '1 minute' or '2 year' (without quotes). Duration units:
  • minute
  • hour
  • day
  • week
  • month
  • year
"Message"Optional, only works when banning a player - a reason/message to show the player when they are banned (e.g. Hacking). You need to put your message between quotation marks (") if you want to send more than one word.

Looking for other commands?

Search our database of 70 7 Days to Die commands...

Alrighty Then!

Ban Examples

Find below working examples of the ban command.

ban list

This command lists all active bans.

ban remove 76503193962430302

This command would remove the ban for the player with Steam ID 76503193962430302.

ban add 76503193962430302 5 minute

This command would ban the player with steam ID 76503193962430302 for 5 minutes.

ban add 171 5 year hacking

This command would ban the player with the entity ID 171 for 5 years, and give them the message/reason "Hacking".