Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more
Lightweight AFK detector with warnings and kicks.

/afkcontrol # Show help (also works with aliases: /afk, /afkc, /ac, /acontrol)/afkcontrol reload # Reload config.yml and messages.yml/afkcontrol select # Get wand to select AFK Pool (pos1 = left click, pos2 = right click)/afkcontrol reset # Clear current AFK Pool region (restores normal kick logic)/afkcontrol panel # Open in-game read-only overview panel/plugins and start your server once.config.yml and messages.yml to your liking./afkcontrol select then left-click pos1 and right-click pos2./afkcontrol reload or restart the server.enabled: true# Inactivity thresholds (seconds)afkThresholdSeconds: 120 # Mark player as AFK after this many secondswarnAtSeconds: 90 # Warn before kick (0 = disabled)kickAtSeconds: 150 # Kick after this many seconds (0 = disabled)# Scan frequency (ticks); 20 ticks = 1 secondscanIntervalTicks: 20# AFK Pool region and behaviorpool: enabled: true capacity: 10 # Max exempt players inside pool wandMaterial: GOLD_AXE # Wand material given on /select (auto-fallbacks) selectTimeoutSeconds: 60 # Timeout for region selection region: pos1: "" # Stored as "world:x:y:z" pos2: ""# Admin bossbar pulse when pool is toggled (best-effort on older versions)adminBossbarWhenToggled: true# Update checker (SpigotMC via Spiget)updates: enabled: true spigotResourceId: 123456 # <-- set your real resource ID checkHours: 12 notifyPermission: afkcontrol.admin downloadUrlOverride: "" lastNotified: ""# Fallback kick reason (use messages.yml kickScreen for multi-line)kickReason: "Kicked for being AFK too long."# Actions on warn/kickactions: titleOnWarn: true actionbarOnWarn: true soundOnWarn: true# Supports MiniMessage-like tags and &-codes. Multi-line arrays allowed.prefix: "<gold><bold>[AFK Control]</bold></gold> <gray>»</gray> "# GenericnoPerm: "<red>You lack permission.</red>"onlyPlayers: "<red>Players only.</red>"unknownSub: - "<red>Unknown subcommand.</red>" - "<gray>Usage:</gray> <white>/afkcontrol reload|select|reset|panel</white>"# LifecyclenowAfk: "<yellow>You are now marked as AFK.</yellow>"back: "<green>Welcome back! You are no longer AFK.</green>"warn: "<gold>You have been inactive. You will be kicked soon.</gold>"# Selection flowselectStart: - "<yellow>Selection started.</yellow>" - "Left-click = <aqua>pos1</aqua>; Right-click = <aqua>pos2</aqua>."selectTimeout: "<red>Selection timed out after {seconds}s.</red>"selectAlready: "<red>You already have an active selection.</red>"selectGaveWand: "<gray>Gave you the AFK pool wand: <white>{material}</white></gray>"selectTooSmall: "<red>Region is too small. It cannot be 1x1x1.</red>"selectSaved: - "<green>AFK pool region saved.</green>" - "<gray>Size:</gray> <white>{size}</white> blocks."# ResetresetDone: - "<yellow>AFK pool region cleared.</yellow>" - "<gray>Auto-kick rules restored.</gray>"# PanelpanelOpen: "<yellow>Opening AFK Control panel…</yellow>"# Multi-line kick screen (shown on kick)kickScreen: - "<red><bold>AFK Timeout</bold></red>" - "<gray>You were inactive for too long.</gray>" - "<gray>Rejoin any time!</gray>"# UpdaterupdateAvailable: "<yellow>A new version is available: <white>{latest}</white> <gray>(you have {current})</gray></yellow>"updateLinkLabel: "Click here to open the SpigotMC download page."