Skip to content

AztecMC/IdleKickThreshold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IdleKickThreshold

Changes the server idle-player-timeout setting depending on player count, which controls how many minutes of idle time players have until being kicked.

By default, this enables a 15-minute idle kick time when the player count reaches 25 users, and disables it when the player count goes back down to 20. However, the time and the setting at each state are configurable - see below.

Behavior

When the player count on the server reaches more than or equal to the count-enable config value, the timeout is set to the value of the idle-timeout-enable-value config entry.

When the player count on the server reaches less than or equal to the count-disable config value, the timeout is set to the value of idle-timeout-disable-value.

Configuration

  • count-enable - player count required at minimum to change the idle-timeout to the value of idle-timeout-enable-value (default: 25)
  • count-disable - player count required at maximum to change the idle-timeout to to the value of idle-timeout-disable-value (default: 20)
  • idle-timeout-enable-value - the number of minutes to set the idle-timeout to when the 'enable' condition is met (see above). (default: 15)
  • idle-timeout-disable-value - the number of minutes to set the idle-timeout to when the 'disable' condition is met (see above). (default: 0 - disabled)
  • check-interval-ticks - the number of ticks to wait between checks of the user count (default: 6000, about 5min)

About

Changes the idle-player-timeout setting depending on player count

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages