This page explains the available commands for Diep.io custom servers and how to use them.
allow_new_joins [bool]Enable or disable new players joining your server.
true allows players to joinfalse locks the serverallow_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
freeze_teamsPrevents players from switching teams.
unfreeze_teamsAllows players to switch teams again.
set_invulnerability [bool]Toggle invulnerability for yourself.
true enables invulnerabilityfalse returns to normal gameplayset_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 valueset_shape_max_count 200
kill_bossesInstantly removes all bosses from the map.
map_fixed_size [width] [height]Sets the map to a fixed size.
map_fixed_size 5000 5000
map_sbx_sizeSwitches the map to sandbox mode sizing.
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
spawn_boss [name]Spawns a boss by name. Remove spaces in the name when entering the command.
spawn_boss FallenBooster