NoSpawnAfk
Advanced AFK Detection for Spawn Worlds | Folia Supported | Fully Configurable
Advanced AFK Detection for Spawn Worlds | Folia Supported | Fully Configurable
Description
NoSpawnAfk is a lightweight, powerful and fully configurable Minecraft plugin that automatically detects AFK players in selected worlds and executes a custom command after a configurable amount of time.
This plugin is perfect for servers that do not want players standing AFK at spawn, blocking areas, farming playtime, abusing public locations, or staying inactive in important worlds. With NoSpawnAfk, you can automatically move, warp, or handle inactive players exactly the way your server needs.
NoSpawnAfk is built with performance in mind and includes Folia support, asynchronous player checks, configurable movement detection, world-based tracking, and a clean configuration file.
Main Features
- Automatic AFK detection for selected worlds
- Folia supported for modern Minecraft server setups
- Fully asynchronous checking system for better performance
- Configurable AFK time in seconds
- Custom command execution when a player is detected as AFK
- {player} placeholder support for commands
- World-based AFK tracking so only specific worlds are monitored
- Movement threshold system to avoid false AFK detections
- Configurable check interval for performance control
- Debug mode for testing and server setup
- Automatically stops tracking players when they leave monitored worlds
- Cleans player data on disconnect
- Lightweight and simple setup
How It Works
NoSpawnAfk monitors players only in the worlds you define in the configuration.
When a player stays inactive for the configured AFK time, the plugin automatically executes your selected command. For example, you can make the player run:
Code:
warp afk
You can also use the {player} placeholder inside commands, allowing you to create more advanced setups depending on your server system.
The plugin detects real movement based on a configurable movement threshold. This means small position changes or tiny movements do not instantly reset the timer unless they pass your configured distance.
Configuration Example
Code:
worlds:
- "spawn"
afk-time: 120
commands:
primary: "warp afk"
movement-threshold: 2.0
check-interval: 20
debug: false
Use Cases
- Automatically send AFK players from spawn to an AFK area
- Prevent players from standing inactive in important worlds
- Stop spawn areas from being crowded by inactive users
- Move AFK players using your own warp system
- Kick inactive players with a custom command setup
- Improve server flow and player experience
- Keep hub, lobby, and spawn worlds clean
Why Choose NoSpawnAfk?
NoSpawnAfk is made for server owners who want a clean and simple solution without unnecessary bloat. It does exactly what it should: detect inactive players in specific worlds and handle them automatically.
Instead of monitoring every player everywhere, NoSpawnAfk only checks the worlds you choose. This makes it ideal for spawn worlds, lobby worlds, hub worlds, or any area where AFK players should not stay for too long.
The plugin is also built with modern server software in mind and supports Folia scheduling, making it suitable for newer server environments.
Requirements
- Minecraft server with Paper/Folia-compatible API
- Java 17
- Minecraft 1.20+
Included
- NoSpawnAfk plugin jar
- Default configuration file
- World-based AFK system
- Configurable command system
- Folia support
- Debug option
Keep your spawn clean. Move AFK players automatically.
NoSpawnAfk is the simple, fast and reliable AFK solution for modern Minecraft servers.
NoSpawnAfk is the simple, fast and reliable AFK solution for modern Minecraft servers.
Important Information
This plugin is clean, lightweight and focused on backend functionality.
There are no in-game commands or GUI menus included.
Everything can be configured directly inside the configuration files shown below.
This plugin is clean, lightweight and focused on backend functionality.
There are no in-game commands or GUI menus included.
Everything can be configured directly inside the configuration files shown below.
OPTIMIZED
TO THE LAST LEVEL
As shown here
TO THE LAST LEVEL
As shown here
