Skip to content

setidletimeout Minecraft command

The setidletimeout command in Minecraft allows players to change the timeout duration for players who are AFK. By setting a specific time limit, players can adjust when idle players will be automatically kicked from the server. This command can help server admins manage player activity and ensure that players are actively participating in the game. It is a useful tool for maintaining server performance and creating a more engaging multiplayer experience.

setidletimeout Syntax:

Terminal window
setidletimeout <minutes>

setidletimeout Options:

OptionDescription
The number of minutes of inactivity before a player is kicked from the server.

Parameters:

ParameterDescription
The number of minutes of inactivity before a player is kicked from the server.

setidletimeout Command Usage Examples:

Set Idle Timeout for Players to 10 Minutes

Terminal window
setidletimeout 10

Sets the idle timeout for players to 10 minutes.

Set Idle Timeout for Players to 30 Minutes

Terminal window
setidletimeout 30

Sets the idle timeout for players to 30 minutes.

Disable Idle Timeout for Players

Terminal window
setidletimeout 0

Disables the idle timeout feature for players.

Set Idle Timeout for Players to 5 Minutes

Terminal window
setidletimeout 5

Sets the idle timeout for players to 5 minutes.

Set Idle Timeout for Players to 15 Minutes

Terminal window
setidletimeout 15

Sets the idle timeout for players to 15 minutes.

How do I use setidletimeout in Minecraft?

To use the setidletimeout command in console, execute the following command:

Terminal window
setidletimeout --timeout 600

Can I disable idle timeout using setidletimeout?

Yes, you can disable idle timeout by setting the timeout value to 0:

Terminal window
setidletimeout --timeout 0

How can I check the current idle timeout setting?

You can check the current idle timeout setting by using the setidletimeout command without any additional parameters:

Terminal window
setidletimeout

Can I change the idle timeout duration using setidletimeout?

Yes, you can change the idle timeout duration by specifying a new value in seconds:

Terminal window
setidletimeout --timeout 900

How to set a custom kick message for idle players?

To set a custom kick message for idle players, include the message text after the timeout value:

Terminal window
setidletimeout --timeout 300 --message "You were kicked for being idle too long."

Is there a limit to how long the idle timeout can be set?

The idle timeout can be set to a maximum of 2147483647 seconds (or around 68 years).

Terminal window
setidletimeout --timeout 2147483647

What happens if a player performs an action before the idle timeout triggers?

If a player performs any action, such as moving or chatting, before the idle timeout triggers, the timer resets, and they will not be kicked for being idle.

Terminal window
setidletimeout --timeout 120

Applications of the setidletimeout command

  • Adjusting the time limit before a player is kicked for being idle.