inrp-1.0.5.jar
Curse Maven Snippet
What's new
In-RP v1.0.5 — AFK System, Unified Suffixes & Optimizations
A major utility update introducing a fully automated and server-friendly AFK system, visual tag cleanups, and performance optimizations for Minecraft 1.21.1!
✨ What's New
- 💤 Complete AFK (Inactivity) System:
/afkCommand: Players can now voluntarily toggle AFK mode with/afkat any time, playing a soft click sound and announcing their absence to the server.- Automatic Idle Detection: Automatically marks players as AFK after a configurable timeout (default: 5 minutes / 300s). Designed for heavy servers with 200+ mods, running an ultra-light periodic check every 5 seconds (zero tick lag/overhead).
- Silent Timer Entry: Entering AFK via timer is completely silent—it does not flood or spam global chat, only updating visual indicators.
- Auto-Exit RP Mode: Entering AFK (manually or by timer) automatically turns off RP mode. This prevents scene disruptions and protects players from involuntary deaths counting against their lives. When waking up, the player remains in Off-RP until deliberately typing
/rp on. - Instant Wake-Up: Moving your character, rotating the camera, or typing in chat instantly removes the AFK status with an action bar notification.
- Overhead & Tab Markers:
- Tab list displays
[AFK] PlayerNamein italic gray. - Overhead nametag displays
[AFK]suffix via native Scoreboard teams.
- Tab list displays
- Configurable Idle Kick: Optional
afkKickSeconds(disabled by default,-1) to disconnect players after extended inactivity.
🔧 Changes & Improvements
- 🧹 Unified RP Suffix (No More Chat Duplication):
- Fixed duplicate roleplay suffixes in chat (e.g.,
<Player [RP] [in RP]>). - Roleplay identifiers are now handled cleanly and strictly by Scoreboard teams, resulting in clean
<Player [RP]>formatting across both overhead nametag and chat.
- Fixed duplicate roleplay suffixes in chat (e.g.,
- 🛡️ Balance & Anti-Exploit:
- No Godmode: Being AFK grants no invulnerability or damage immunity; players cannot abuse
/afkto escape PvP or environmental danger. - Anti-Spam: Added a 3-second cooldown on
/afkto prevent toggle flooding.
- No Godmode: Being AFK grants no invulnerability or damage immunity; players cannot abuse
- ⚙️ New Server Configuration Options (
[afk]):afkEnabled: Enable or disable the AFK system (default:true).afkTimeoutSeconds: Inactivity time before marking as AFK (default:300).afkKickSeconds: Idle time before kicking (-1 to disable, default:-1).autoDisableRPOnAFK: Auto-disables RP mode on AFK (default:true).
- 🌐 Localization: Added 8 new translation keys to both
en_us.jsonandpt_br.json.
This mod has no additional files

