
AFK Commands
A plugin for 26.1.2 that when the player is afk for X time (configurable) it runs a configurable command.
Оцените первым
38
0
AFK Plugin
A lightweight Spigot plugin that automatically detects inactive players and runs any console command of your choice against them. No bloat, no dependencies — just drop it in and configure.
✦ Features
- Tracks every online player's last activity (walking, clicking, breaking blocks, chatting, and more)
- Fires a fully customizable console command when a player goes AFK
- Use
{playername}anywhere in the command — it automatically inserts the AFK player's username - Optionally warns the player a set number of seconds before the command fires
- Optionally broadcasts to the whole server when someone goes AFK
- Compatible with any other plugin's commands — kick, ban, LuckPerms, economy plugins, anything
✦ Example Config
afk-time: 300
afk-command: "kick {playername} You have been kicked for being AFK too long."
warn-before-seconds: 30
afk-warn-message: "&eYou have been AFK for too long and will be removed from the server."
broadcast-afk: true
broadcast-message: "&7[&eAFK&7] &f{playername} &7is now AFK."
✦ Commands
| Command | Description | Permission |
|---|---|---|
/afk | Shows your current inactivity time vs. the AFK threshold | afk.use |
/afkreload | Reloads the config without restarting | afk.reload |
✦ Permissions
| Permission | Description | Default |
|---|---|---|
afk.use | Use the /afk command | Everyone |
afk.reload | Reload the config | Ops |
afk.exempt | Never flagged as AFK | Nobody |
Партнёрский материал
Сервер для плагина AFK Commands - как у профи
Плагин AFK Commands создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином AFK Commands для друзей можно за пару минут - BungeeHost всё уже подготовил.
Часто задаваемые вопросы
Совместимость
Создатели
Детали
Лицензия:
Опубликован:3 месяца назад
Обновлён:3 месяца назад
