Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
Information icon.svg
This feature is exclusive to Java Edition. 
setidletimeout
Permission level
required

3

Restrictions

No command blocks
Dedicated server only

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.

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