Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition. 

Sets the time before idle players are kicked from the server.

Syntax[]

setidletimeout <minutes>

Argument[]

<minutes>: integer

Must be a 32-bit integer number. And it must be between 0 and 2147483647 (inclusive).
Specifies the idle kick timer.
If 0, idletimeout is disabled.

Result[]

Always succeeds. Set the idle kick timer. Any players idle for <minutes> are kicked.

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn successN/A1the specified <minutes>

History[]

Java Edition
1.7.213w38aAdded /setidletimeout.
Advertisement