☕ 支持我的工作
如果您想支持我和我的项目,欢迎请我喝杯咖啡!
AntiAfk Mod
AntiAfk 模组是一个轻量级的 Fabric 模组,可防止玩家处于 AFK(挂机)状态。
如何设置
- 打开 Minecraft 并导航至“设置” > “控制” > “按键绑定”,或者打开图形界面(GUI)并从那里切换。
- 搜索 AntiAfk 并设置一个按键绑定以开启或关闭该模组。
- 使用分配的按键绑定来开启模组。只有当模组处于开启状态时,命令和功能才会生效。
功能
玩家动作
- 自动跳跃 — 按可配置的间隔自动跳跃
- 潜行模式 — 自动切换潜行状态(注意:启用此功能时将无法潜行)
- 挥动手臂 — 挥动玩家的手臂。
- 随机暂停 — 随机暂停各项动作。
移动与行为
- 玩家移动 — 以循环的 WASD 方式移动玩家
- 鼠标移动 — 以可配置的范围随机移动视角
- 自动旋转 — 以可配置的速度让玩家旋转 360°
- 随机间隔 — 对定时动作之间的延迟进行随机化(最小值/最大值可配置)
物品栏与进食
- 自动进食 — 当饥饿值低于可配置阈值时,自动从快捷栏中食用食物
- 随机快捷栏 — 按可配置的间隔在快捷栏槽位之间随机切换
- 副手交换 — 在主手和副手之间交换物品,短暂持有后再换回
- 打开物品栏 — 以可配置的时间长度随机打开和关闭物品栏
高级计时
- 动作延迟 — 定时动作之间的全局延迟(秒)
- 最小 / 最大秒数 — 当启用“随机间隔”时,设置随机延迟的范围
聊天消息
- 自动聊天消息 — 按固定间隔发送随机消息
- 消息以分号分隔(例如
Hey!;Still here!;Just farming!) - 聊天最小 / 最大秒数 — 控制发送消息的频率
重连与断开连接
- 自动重连 — 断开连接后自动重新连接到上一个服务器
- 重连延迟 — 重连前等待的秒数
- 自动断开连接 — 如果有玩家进入你周围的可配置半径内,则断开与服务器的连接
- 断开连接半径 — 触发断开连接的方块半径
- 忽略的玩家 — 用于断开连接检查的忽略玩家名称列表,以分号分隔(例如
Steve;Alex;Notch)
功能计时
- 低于饥饿等级进食 — 触发自动进食的饥饿等级(满分 20)
- 快捷栏最小 / 最大秒数 — 快捷栏槽位切换的频率
- 副手最小 / 最大秒数 — 副手交换触发的频率
- 副手保持秒数 — 物品在副手中停留直至换回的时间
- 物品栏最小 / 最大秒数 — 物品栏打开的频率
- 物品栏保持秒数 — 物品栏保持打开的时间
- 重连延迟 — 断开连接后自动重连前的等待时间
1.2.1 及以上版本的图形界面 (GUI)
- 首先,你需要在设置中为 GUI 设置一个按键绑定,然后打开它
- 你还需要设置一个用于切换模组的绑定,如果模组未通过该绑定启用,它将无法工作
1.2.0 以下版本的命令
/antiafk interval set <seconds>: 设置跳跃间隔(秒),你也可以使用小数(如 1.2、1.3 等)。/antiafk interval random <minSeconds> <maxSeconds>: 设置两个设定秒数之间的随机间隔,例如 1 到 7 秒。/antiafk swing: 切换挥动动作。/antiafk jump: 切换自动跳跃。/antiafk spin: 切换自动旋转。/antiafk spin <seconds>: 设置角色旋转的速度/antiafk sneak: 切换自动潜行。/antiafk mousemovement <horizontalMultiplier> <verticalMultiplier>: 切换鼠标移动功能,这将使玩家视角随机移动。使用此命令禁用/启用:"/antiafk mousemovement"/antiafk movement: 左右移动玩家角色。
贡献代码
欢迎通过提交 bug 修复或建议的问题报告,或通过提交改进功能的拉取请求来为 AntiAfk 做出贡献。
☕ Support My Work
If you would like to support me and my projects, feel free to buy me a coffee!
AntiAfk Mod
The AntiAFK mod is a very lightweight fabric mod that prevents players from going AFK.
How to set up
- Open Minecraft and navigate to Settings > Controls > Key Bindings or open the gui and toggle it from there.
- Search for AntiAfk and set a keybind to toggle the mod on and off.
- Use the assigned keybind to toggle the mod on. The commands and features will only work when the mod is toggled on.
Features
Player Actions
- Auto Jump — Automatically jumps at configurable intervals
- Sneak Mode — Automatically toggles sneaking (note: you wont be able sneak while active)
- Swing Hand — Swings the player's hand.
- Random Pause — Randomly pauses actions.
Movement & Behavior
- Player Movement — Moves the player in a repeating WASD cycle
- Mouse Movement — Randomly moves the camera with configurable range
- Auto Spin — Rotates the player 360° with configurable speed
- Random Interval — Randomizes the delay between timed actions (min/max configurable)
Inventory & Eating
- Auto Eat — Automatically eats food from the hotbar when hunger drops below a configurable threshold
- Random Hotbar — Randomly switches between hotbar slots at configurable intervals
- Offhand Swap — Swaps items between main hand and offhand, holds briefly, then swaps back
- Open Inventory — Randomly opens and closes the inventory for a configurable duration
Advanced Timing
- Action Delay — Global delay between timed actions (seconds)
- Min / Max Secs — When Random Interval is on, sets the range of random delays
Chat Messages
- Auto Chat Messages — Sends a random message at set intervals
- Messages are semicolon-separated (e.g.
Hey!;Still here!;Just farming!) - Chat Min / Max Secs — Controls how often a message is sent
Reconnect & Disconnect
- Auto Reconnect — Automatically reconnects to the last server after being disconnected
- Reconnect Delay — How many seconds to wait before reconnecting
- Auto Disconnect — Disconnects from the server if any player enters a configurable radius around you
- Disconnect Radius — The block radius to disconnect at
- Ignored Players — Semicolon-separated list of player names to ignore for the disconnect check (e.g.
Steve;Alex;Notch)
Feature Timing
- Eat Below HungerLevel — Hunger level (out of 20) at which auto-eat triggers
- Hotbar Min / Max Secs — How often the hotbar slot switches
- Offhand Min / Max Secs — How often the offhand swap triggers
- Offhand Hold Secs — How long the item stays in offhand before swapping back
- Inv Min / Max Secs — How often the inventory opens
- Inv Hold Secs — How long the inventory stays open
- Reconnect Delay — How long to wait before auto-reconnecting after a disconnect
Gui for versions above 1.2.1
- First u will need to set a keybind in the settings for the gui then open it
- You will also need a bind to toggle the mod if the mod is not enabled by the bind it won't work
Commands for versions under 1.2.0
/antiafk interval set <seconds>: Set the jump interval in seconds you can also use Decimals (like 1.2 , 1.3 etc)./antiafk interval random <minSeconds> <maxSeconds>: to set a random interval between set seconds like 1 and 7 seconds./antiafk swing: Toggle swinging action./antiafk jump: Toggle auto-jump./antiafk spin: Toggle auto-spin./antiafk spin <seconds>: To set the speed which the character will spin/antiafk sneak: Toggle auto-sneak./antiafk mousemovement <horizontalMultiplier> <verticalMultiplier>: Toggle mousemovement that will move the player camera randomly.use this to disable/enable :"/antiafk mousemovement"/antiafk movement: to move player character left and right.
Contributing
Feel free to contribute to AntiAfk by opening issues for bug fixes or suggestions, or by submitting pull requests with improvements.
下载 AntiAfk
下载 AntiAfk
下载 AntiAfk
下载 AntiAfk
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiAfk
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiAfk
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiAfk
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiAfk
下载 AntiAfk
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiAfk
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 更新 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧