From ea0a6502108043f46dde04331005b7aca088244c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bro=C4=8Dko?= Date: Tue, 20 Aug 2019 14:54:32 +0200 Subject: [PATCH] release 1.0 --- pom.xml | 2 +- src/cz/gamesites/mc/antiafk/AntiAFK.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 5d4f04e..cc776d9 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 cz.gamesites.mc AntiAFK - 1.0-SNAPSHOT + 1.0 AntiAFK AntiAFK Spigot plugin diff --git a/src/cz/gamesites/mc/antiafk/AntiAFK.java b/src/cz/gamesites/mc/antiafk/AntiAFK.java index fbaa3ad..e869541 100644 --- a/src/cz/gamesites/mc/antiafk/AntiAFK.java +++ b/src/cz/gamesites/mc/antiafk/AntiAFK.java @@ -30,9 +30,9 @@ import net.md_5.bungee.api.ChatColor; public class AntiAFK extends JavaPlugin implements Listener { // frequency of checks - public static final int CHECK_INTERVAL = 20 * 20; + public static final int CHECK_INTERVAL = 60 * 20; // how many times a check has to fail in order to mark the player as AFK - public static final int STRIKES_AFK = 3; + public static final int STRIKES_AFK = 30; private static AntiAFK INSTANCE = null; private HashMap lastPositions = new HashMap<>();