Event based and configurable player timeout system, visible through /f p. Also started storing the last player activity locally since the Bukkit API is broken. This will probably fix issues reported where players never get kicked.

This commit is contained in:
Olof Larsson
2014-10-06 13:08:34 +02:00
parent a57f05eb1d
commit 8d285eab34
8 changed files with 353 additions and 87 deletions

View File

@ -33,7 +33,7 @@ public class TaskPlayerDataRemove extends ModuloRepeatTask
@Override
public void invoke(long now)
{
MPlayerColl.get().removePlayerDataAfterInactiveDaysRoutine();
MPlayerColl.get().considerRemovePlayerMillis();
}
}