AFKPlus
PluginApache-2.0

AFKPlus

AFK for professional servers. The decade old AFK plugin

42
Downloads
3
Followers
2 months ago
Updated
📦
2
Versions

📖About AFKPlus

A header image, AFK plus, Lapis Plugins by Dart2112

A simple AFK plugin for everyone

Features

  • Simple User Interaction

One command to toggle AFK and nice clear default messages to tell everyone when a player is AFK or not

  • Complete Customization

You can customize everything from the time until someone is automatically set AFK to the commands issued when players are AFK for too long. There is also a messages.yml file so that you can customize the messages sent to players for translations or just to make the messages match your colour scheme

  • Easy Admin Command

The admin /afkplus command gives you information about players who are currently online, this information includes human readable time messages like “Dart2112 has been AFK for 1 minute and 30 seconds”. Admins also can set other players as AFK with the /afk (player name) command

  • LuckPerms Context Intergration

AFKPlus automatically updates a context in LuckPerms so that you can change which permissions players have based on their current AFK state. This context is called "afkstate" and its values are "true" or "false" (true when the player is AFK and otherwise false)

Commands

/AFK:

/AFK will toggle your AFK status

/AFK (player) will toggle the AFK status of another player

/AFKPlus:

/AFKPlus will show plugin info and command help

/AFKPlus player (player) will tell you if that player is AFK and if they are it will tell you how long ago they became AFK

Configuation

There are comments on the settings in the configurations to help you use it. if there is something you don't understand you can open an issue to ask for help from me or the other AFK+ uses

Permissions

The permissions system in this plugin is the LapisCore Permissions system. You can find info on how to set up and use it at the wiki below
https://github.com/LapisPlugins/LapisCore/wiki/Lapis-Permissions

Auto Updating

The plugin will automatically check for updates and notify you when one is available. You can use /afkplus update to install an update or you can enable update downloading, this means that the plugin will automatically download and install updates when they come out.

Add ons

Check the releases tabs on these pages for compiled versions or build it yourself with Maven/Gradle.
These are installed like any other plugin, they then hook into the AFKPlus API. Simply place the jar in your servers /plugins directory.

https://github.com/Dart2112/AFKPlusPrefix
This plugin sets tab and above head prefixes when a player is AFK
This addon also allows you to disable collisions with AFK players meaning that players cannot bump each other out of AFK

https://github.com/Dart2112/AFKPlusRandomMessages
This plugin adds the ability to have random message pairs for AFK start and stop messages. This can add a little charm to your AFK messages as well as stopping them from being the same old boring message each time

https://github.com/Dart2112/AFKPlusReconnect
This plugin adds the ability to disallow or control players reconnecting quickly after being kicked for AFK

https://github.com/Dart2112/AFKPlusBungee
This plugin sends AFK start and stop messages to all servers on a bungee network that have both this plugin and the core AFKPlus plugin

https://github.com/Dart2112/AFKPlusPAPI
This plugin adds Placeholder API support
The placeholders it provides are "AFKPlus_Status" & "AFKPlus_AFKTime"

AFKPlusActions: In development
This plugin will allow different actions for different permission groups

Metrics

This plugin can collect data about how many players and servers are using it and what specifications they have. You can see the full list of metrics recorded at the link below.
https://bstats.org/plugin/bukkit/AFKPlus

Source Code

The source code can be found at https://github.com/LapisPlugins/AFKPlus