Commands/setidletimeout

Minecraft Wiki article. Categories: Java_Edition, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/setidletimeout on the Minecraft Wiki. Mirrored from revision 3678699. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This feature is exclusive to Java Edition.
 
/setidletimeout

Sets the time before idle players are kicked from the server. Any players idle for <minutes> are kicked.

Syntax

setidletimeout <minutes>

Argument

<minutes>: integer

Specifies the idle kick timer.
If 0, idletimeout is disabled.
Must be a [Int]32-bit integer number (from -2147483648 (-231) to 2147483647 (231-1) ). And it must be between 0 and 2147483647 (inclusive).

Result

CommandTriggerJava Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
OtherwiseSuccessful

Output

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

History

Java Edition
1.7.213w38aAdded /setidletimeout.

Sources