1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-25 21:59:08 +02:00

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);
}
}