Auto-AFK, AFK-Kick and freeze afk players

This commit is contained in:
snowleo 2011-08-27 13:59:39 +02:00
parent 00050d08d4
commit 8998168ec2
6 changed files with 176 additions and 85 deletions

View file

@ -485,4 +485,22 @@ public class Settings implements ISettings
{
return config.getBoolean("update-check", true);
}
@Override
public long getAutoAfk()
{
return config.getLong("auto-afk", 300);
}
@Override
public long getAutoAfkKick()
{
return config.getLong("auto-afk-kick", -1);
}
@Override
public boolean getFreezeAfkPlayers()
{
return config.getBoolean("freeze-afk-players", false);
}
}