MCPcopy Create free account
hub / github.com/Teneted/Tenet / setIdleTimeout

Method setIdleTimeout

src/main/java/org/bukkit/Server.java:1076–1076  ·  view source on GitHub ↗

Set the idle kick timeout. Any players idle for the specified amount of time will be automatically kicked. A value of 0 will disable the idle kick timeout. @param threshold the idle timeout in minutes

(int threshold)

Source from the content-addressed store, hash-verified

1074 * @param threshold the idle timeout in minutes
1075 */
1076 public void setIdleTimeout(int threshold);
1077
1078 /**
1079 * Gets the idle kick timeout.

Callers 1

setIdleTimeoutMethod · 0.65

Implementers 2

CraftServersrc/main/java/org/bukkit/craftbukkit/v
Bukkitsrc/main/java/org/bukkit/Bukkit.java

Calls

no outgoing calls

Tested by

no test coverage detected