Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Skin Browser
  • Cape Gallery
  • Seed Vault
  • Blog
  • Guides

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

Site & Legal

  • About
  • Authors
  • Editorial Policy
  • Corrections
  • Contact
  • Privacy Policy
  • Terms of Service
  • DMCA
  • Sitemap

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
CheckAFK
PluginMIT

CheckAFK

Detect AFK players and execute commands

87
Downloads
2
Followers
6 months ago
Updated
📦
5
Versions
managementoptimizationutilitybukkitpaperspigot
Download Latestv1.2-SNAPSHOT-FixView on Modrinth

📖About CheckAFK

EN(Using translation software):

After detecting the player's AFK, execute commands such as kicking out to effectively avoid wasting server resources.

ZH:

检测到玩家挂机后执行命令,例如踢出,有效避免浪费服务器资源。

Config.yml:

#########################################################
# 配置文件版本
configver: 2
#########################################################
# 挂机多少秒后执行命令
time: 300
# 挂机踢出执行的命令
commands:
  - 'kick %player% 挂机时间过长'
# 插件信息前缀
prefix: "&6NewBlock&7&oAFK &e>>"
# 调试设置
debug: true

############################
# 检测时间段设置(24小时制)
# 格式: "HH:MM-HH:MM"
# 示例:
#   - "00:00-06:00" # 凌晨0点到6点不检测
#   - "12:00-13:00" # 中午12点到13点不检测
enable-time-range: []
############################
# MySQL 数据库配置
############################
mysql:
  enabled: false
  host: "localhost"
  port: 3306
  database: "minecraft"
  username: "root"
  password: ""
  table_prefix: "checkafk_"
  # 连接池设置
  connection_pool:
    maximum-pool-size: 10
    minimum-idle: 5
    connection-timeout: 30000
    idle-timeout: 600000
    max-lifetime: 1800000

############################
#  哪些动作认为玩家不在挂机
############################
# 移动(会被挂机池绕过,不推荐开启)
move: true
# 疾跑
sprint: true
# 潜行
shift: true
# 快捷栏切换物品
hotbar: true
# 破坏方块
breakblock: true
# 放置方块
placeblock: true
# 使用物品
useitem: true
# 攻击实体
attack: true
# 查看成就(暂时不支持)
achievement: true

Commands(命令):

/checkafk reload - 重新载入插件配置文件
/checkafk time <秒> - 设置自己挂机多长时间后执行命令

permission(权限):

checkafk.use - 使用权限(包括命令)
checkafk.time - 使用time命令权限
checkafk.bypass - 绕过挂机检测
checkafk.reload - 重新载入插件

lang.yml(语言):

reload-success: "&a配置已重载!"
no-permission: "&c你没有权限执行此命令!"
usage: |
  &b重新载入插件: &f/checkafk reload
  &b设置挂机多长时间时触发命令: &f/checkafk time <秒>
activity-triggered: "&b活动: {action} - 玩家: {player}"
checking-player: "&b检查: {player} - 上次活跃 {seconds} 秒前 (超时: {timeout} 秒)"
executing-command: "&a执行命令: {command}"
time-set: "&a挂机检测时间已设置为 {minutes} 秒"
time-reset: "&aAFK检查时间已重置为默认值"
time-usage: "&c用法: /checkafk time <秒>"
invalid-time: "&c时间必须大于0"
invalid-number: "&c请输入有效的数字"
player-only: "&c只有玩家可以使用此命令"

👥 Team & Contributors

mjiangmc
mjiangmcOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
bukkitpaperspigot
Minecraft Versions
1.121.12.11.12.21.131.13.11.13.21.141.14.1+40 more

🔗 Links

Modrinth Page