Mojira Archive
MC-265695

The feedback for setting the idle timeout to 0 minutes does not reflect the actual behavior

The /setidletimeout n command sets the idle timeout to n minutes for every valid positive integer, but disables the idle timeout when n is 0.

However, in both cases, the following message is displayed:

The player idle timeout is now n minute(s)

This message is confusing because a value of 0 is special-cased to disable the idle timeout. I would expect the message to instead indicate the idle timeout has been disabled (and potentially also use a different command in general, e.g. /setidletimeout off?)

The value 0 also differs from the special case for max-tick-time which is instead -1, which is more obviously a special case.

Fixed

haykam

[Mojang] slicedlime

2023-10-08, 02:56 AM

2024-08-02, 06:55 AM

2024-08-02, 06:55 AM

3

2

Confirmed

Low

Platform

Commands, Text

1.20.2, 23w40a

24w33a