跳到正文

Simple AFK

作者:Samenjunge

Simple AFK detection with team tagging, cosmetic aura, and themed advancements — now fully bilingual (English & German).

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Simple AFK Mod – Smarter AFK, fair sleeping, fun challenges

Tired of AFK players blocking the night? This mod automatically detects AFK, excludes AFK & spectators from sleep requirements, and adds a few playful challenges around going idle—without punishing anyone who just needs a break.

Features

  • Auto-AFK detection with action-bar feedback (“You are AFK / You are no longer AFK”).
  • Fair sleeping: only active (non-AFK, non-spectator) players count toward the sleep percentage.
  • AFK time tracking: The mod writes AFK time to: `<world>/simple_afk_mod/afk_times.json` (in seconds), suitable for external tools like Discord bots.
  • Safety for AFK players: prevents targeted aggro & area-damage triggers nearby (e.g., creepers).
  • AFK Aura (cosmetic, green “protective” ring) unlocked by Statue Garden with /afkaura toggle.
  • Fully bilingual: English and German.
  • AFK-themed advancements (challenge frame, hidden until you complete them):
    • Solid as a Rock
    • Power Nap
    • Statue Garden
    • AFK Marathon

Server-Friendly

  • Works on servers and single-player (integrated server).
  • AFK team label [AFK] in dark purple; AFK state cleared on join.
  • Sleep percentage recalculates on join/leave and AFK toggles.

Compatibility

  • NeoForge 21.8.x / 21.9.x (MC 1.21.8 / 1.21.9)
  • Pure server logic — no client mods required for core features.

Changelog

v1.5.3
– Added bilingual support: English (en_us) and German (de_de) for all chat messages and advancement toasts.
– More robust advancement awarding when leaving AFK.
– Minor internal cleanups.

v1.5.2
– Sleep percentage logic made robust: counts only non-spectators, recalculates on join/leave/world-load, and no more accidental resets to 100%.
– On world load: AFK team ensured and cleaned; on logout: no AFK state mutations, only recalculation.
– AFK Aura visuals switched to green “protective” puffs and now require “Statuengarten” + toggle.
– AFK Marathon: fixed ID to afk_marathon, grants only when leaving AFK, toast shown once.
– Removed /afkpose (kept internal flag for future use).
– Small message/UX tweaks.

v1.5.1
– Added advancements: Power Nap, Statuengarten, AFK Marathon (all depend on “Solid as a Rock”; awarded on leaving AFK).
– Implemented aura unlock via Statuengarten and /afkaura toggle.
– Fixed crashy name lookups by using safe player name components.
– General stability fixes around AFK transitions.

v1.5.0
– Core AFK system rework: auto-AFK after idle, manual toggle procedure, action-bar feedback.
– AFK players moved to a purple [AFK] team prefix.
– Added persistent AFK time storage at <world>/simple_afk_mod/afk_times.json (in seconds) for external tools/bots.
– Initial sleeping percentage integration tied to AFK state.

常见问题

Simple AFK 支持哪些 Minecraft 版本?

Simple AFK 支持 Minecraft Java 版 1.21.8–1.21.9,共 2 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Simple AFK 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分