Diep.io Custom Servers Commands

This page explains the available commands for Diep.io custom servers and how to use them.

Server Management

allow_new_joins [bool]

Enable or disable new players joining your server.

  • true allows players to join
  • false locks the server
allow_new_joins false
ban [playerid]

Permanently bans a player from the server. This action cannot be undone.

ban 12
kick [playerid]

Removes a player from the server. They can rejoin unless banned.

kick 8
promote [playerid]

Grants admin permissions to a player.

promote 5
demote [playerid]

Removes admin permissions from a player.

demote 5

Gameplay Control

freeze_teams

Prevents players from switching teams.

unfreeze_teams

Allows players to switch teams again.

set_invulnerability [bool]

Toggle invulnerability for yourself.

  • true enables invulnerability
  • false returns to normal gameplay
set_invulnerability true
set_max_level [num]

Sets the maximum level players can reach.

set_max_level 45
set_shape_max_count [num]

Controls how many shapes spawn in the map.

  • -1 uses the default value
set_shape_max_count 200
kill_bosses

Instantly removes all bosses from the map.

Map Settings

map_fixed_size [width] [height]

Sets the map to a fixed size.

map_fixed_size 5000 5000
map_sbx_size

Switches the map to sandbox mode sizing.

Team Management

join_team [num]

Join a specific team by ID.

join_team 2
set_team [playerid] [num]

Forces a player onto a specific team.

set_team 10 1
set_team_count [num]

Sets the maximum number of teams. This cannot be decreased after increasing it.

set_team_count 4

Spawning

spawn_boss [name]

Spawns a boss by name. Remove spaces in the name when entering the command.

spawn_boss FallenBooster

Notes