HomeJavaModsNoSpawnerForAfk
NoSpawnerForAfk
[​IMG]

NoSpawnerForAfk
promotes active players, instead of having them idling AFK at spawners for mob drops.

This plugin blocks any spawner from spawning when all of the nearby players are AFK but does not interfere when a nearby player is active.
This facility is not available natively in Essentials, hence this plugin. The plugin is simple and lightweight, sticking to its one job, which isn't overly complex.

Installation
Move the downloaded NoSpawnerForAfk jar file to the server's plugins folder.

Dependencies
NoSpawnerForAfk reads the AFK status from Essentials. NoSpawnerForAfk will not work without the Essentials plugin also being installed. This plugin was built with the EssentialsX fork of Essentials. I expect that it would work with other forks but this is not tested.

NoSpawnerForAfk blocks spawns from natural/vanilla spawners, EpicSpawners, SilkSpawners and MineableSpawners.

Commands
/nospawnerforafk off
Turn off the plugin and let spawners act normally.
/nospawnerforafk on
Turn on the plugin and block spawners with no active players nearby.
/nospawnerforafk range <range>
Set the range to check for players.
/nospawnerforafk log on
Turn on diagnostic logging to your console window.
/nospawnerforafk log off
Turn off diagnostic logging to your console window.
Diagnostic logging is off by default on server restart.
Configuration
NoSpawnerForAfk will create a config.yml. Inside you can set the detection range to look for active players. The default range is 16 blocks.
check-range: 16

Permissions
Logo by Cool Text: Logo and Graphics Generator

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

NoSpawnerForAfk is a free Minecraft Java mod. Compatible with Minecraft 1.15, 1.16, 1.18. Downloaded 760 times (via Spigot). Download it and open it directly in the game.

Explore more