AutoAFK

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Description

This simple AFK plugin aims to be very lightweight and easy to use. It allows players to put themselves in and out of AFK mode. There is also an option to set players into AFK mode automatically after configurable amount (permission based) of inactivity, which will be cancelled it if they become active again. Automatic teleport to specified location and kick after configurable time (permission based) is also built-in. AFK players can optionally be protected from moving or taking damage. Players in AFK mode can also have prefixes in display name, TAB name and player tag, they can also have particle effects. All messages and listeners are configurable! It does support /reload, but full restart is preferable.

This plugin isn't supported anymore, but works for versions 1.8.x to 1.12.x. For 1.13.x and forward, please consider using AdvancedAFKI had to remove AutoAFK from SpigotMC (where it had over 2,600 downloads) to make room for AdvancedAFK, but I uploaded it here for those who want to try the "lite" version of AdvancedAFK or who are still using an older Spigot version.

 

Dependencies

This plugin requires Java 8 and Spigot/Bukkit/Paper 1.8 - 1.12.2.

If you want to use countdown and particle features:

 

Setup

Just install the plugin as usual and let it generate the config file. Configuration options are explained below, under "Default config". You don't have to configure anything in-game, but if you want to use the teleport feature, you have to set a teleport location with the command /autoafk set.

 

Default config

Available on GitHub!

 

Commands and permissions

/command [optional] (explanation) required.permission

  • /afk
    • autoafk.afk (default)
    • If you are not AFK, then it puts you into AFK mode. If you already are AFK, then it cancels your AFK status.
  • /autoafk
    • autoafk.main (OP)
    • Reloads the config.
  • /autoafk set
    • autoafk.main (OP)
    • Sets the automatic teleport destination to command sender's location.
  • autoafk.exempt (OP)
    • Players who have this permission will not be automatically put into AFK mode.
  • autoafk.teleportexempt (OP)
    • Players who have this permission will not be automatically teleported to the specified location.
  • autoafk.protection.move (OP)
    • Players who have this permission will not be protected from moving.
  • autoafk.protection.damage (OP)
    • Players who have this permission will not be protected from taking damage.
  • Other custom permissions specified in config

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    306615
  • Created
    Nov 8, 2018
  • Last Released File
    Nov 8, 2018
  • Total Downloads
    1,903
  • License

Categories

Members

Recent Files