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:
@ -33,7 +33,7 @@ public class TaskPlayerDataRemove extends ModuloRepeatTask
|
||||
@Override
|
||||
public void invoke(long now)
|
||||
{
|
||||
MPlayerColl.get().removePlayerDataAfterInactiveDaysRoutine();
|
||||
MPlayerColl.get().considerRemovePlayerMillis();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user