AFKAction

AFKAction

A lightweight AFK plugin with Warp, World, and Proxy support.

9 downloads

AFKAction

A lightweight and highly customizable AFK plugin for Paper/Spigot/Purpur 1.21.

✨ Features

  • Automatic AFK detection: Configurable idle time in config.yml.
  • Manual toggle: Use the /afk command to manually set or remove AFK status.
  • 3 Action Modes: Choose what happens when a player goes AFK:
    • warp: Teleports the player to a specific warp (requires EssentialsX).
    • world: Teleports the player to another world (requires Multiverse-Core).
    • proxy: Sends the player to another server in your BungeeCord/Velocity network.
  • Proxy Fallback System: Automatically sends players to a backup server if the main server is full.
  • Multi-Language Support: Italian and English included. Users can freely edit messages in the languages/ folder.

📖 Commands

  • /afk - Toggle your AFK status.

🔧 Configuration Example (config.yml)


# Language selection for chat messages (it = Italian, en = English)
language: "it"

# Time in seconds before a player becomes AFK
afk-time-seconds: 60

mode: "warp"

# Warp mode settings (requires EssentialsX)
warp:
  name: "afk"

# World mode settings (requires Multiverse-Core)
world:
  name: "world_afk"

# Proxy mode settings (BungeeCord/Velocity)
proxy:
  main_server: "lobby"
  use_fallback: true
  fallback_server: "survival"