![]()
AFK System, BossBar System, Chat Disable System & Protection Extend Update
This update adds a configurable boss bar display, smarter AFK handling for time-based protection, a new extend command, and optional chat control for protected players.
New Features
Boss Bar Protection Display - Show active protection progress with a fully configurable boss bar for both time-based and block-based protection.
Configurable Boss Bar - Customize boss bar titles, colors, styles, and display settings directly from config.yml.
AFK Protection Pause - Time-based protection now pauses while a player is AFK, with optional title reminders and configurable AFK sound playback.
Extend Command - Added /anewbie extend <player> <duration|blocks> to extend active protection without resetting the player's current state.
Protected Player Chat Control - Added an optional setting to block protected players from chatting while their protection is active. This is disabled by default.
Improvements
Exact AFK Detection - Players are marked AFK when they remain inactive for the configured threshold duration.
Activity-Based Resume - Movement, interaction, chat, command usage, and other activity can instantly remove AFK status and resume the timer.
Time-Based Only AFK Logic - AFK pausing only applies to time-based protection. Block-based protection already progresses only when blocks are broken.
Safer Config Updating - Config, command, database, and language files now merge missing keys instead of replacing the whole file.
Commands & Permissions
/anewbie extend <player> <time> - Extends a player's time-based newbie protection.
/anewbie extend <player> <blocks> - Extends a player's block-based newbie protection.
Permission - anewbie.extend
New Config Option
chatDisable - Blocks protected players from sending chat messages while their protection is active.
Default - false
Found a bug or have a suggestion? Join the Discord.
If you enjoy this plugin, please leave arating!
