WhosAFK
Summary
There are some plugins that broadcast when a player has gone AFK. That's fine, but if a player joins after the broadcast, how is that player going to know that the first player is AFK? This plugin solves that problem.
When a player goes AFK, the plugin will turn their player's name blue and will put the characters "(AFK)" at the end of their name in the tab list. Other players will know this player is going AFK because the server broadcasts that the player is AFK, and players who miss the broadcast simply have to hold down tab to view those who are AFK.
Permissions & Commands
There exist no permissions in this plugin, only commands.
- /afk: This is the main command which will broadcast that the player who executed the command is AFK. An operator can set another player's status to AFK by adding the other player's username as an argument to the command.
Configuration File
This plugin had a configuration file while in Beta-1.0, but since then the configuration file is not used anymore.
Other Info
This plugin uses the scoreboard's teams. When the plugin is enabled, the plugin will create the team called "afkers" if it doesn't exist already. It will set the team color to blue and set the team suffix to " (AFK)" if the team is created. When players type /afk, they will be put into the "afkers". Once they type /afk again, or somehow else leave AFK mode, they will be taken out of the "afkers" team, and will not be in a team afterward.
Source Code
I have finally gotten around to putting the code up on GItHub. Click here to view on GitHub.
Pretty cool plugin, just wondering if you can add options to have it so you can enable pvp even if the players are afk, and also to be able to change the afk colour.
@aliyah555
I assume you were using beta 1.0 when trying this. There were two updates since beta 1.0, but Bukkit did not show you the latest file.I'm sure if you update this plugin to beta 3.0, your problem will be solved.
@tenny1028
Hey. So currently, I use this plugin and I currently stuck afk forever and everytime I try to do /afk it gives me an error, I've tried taking out the plugin and deleting the config but no matter what I do, it still keeps me permanently afk, I have tired deleting my uuid and such but it still says I'm afk. Please respond if you know how to fix this.
@CloudeLecaw
My Spigot 1.8.3 server runs this plugin just fine:
"I've noticed that chatting doesn't remove the AFK status xD" Currently this is intentional. I have no plans to change this.
I've noticed that chatting doesn't remove the AFK status xD
@Mcdefault
Hi. I haven't been working on these projects recently but today I fixed everything you described here. I will be releasing an update soon.
Hey,
great plugin, great concept.
I found a few bugs using this plugin.
/afkhere does not work, it still teleports you, not when you enter afk, but when you leave afk mode. (if you walk)
you may wanne add a teleport delay, since this can be used while pvping or caving. So people can't abuse this as instant tp.
you're able to walk in afk mode, it doesn't disable afk.
about the bug when the server crashes/stops: You could make it that on every start up or restart, the plugin automaticly does "/scoreboard teams empty afkers"
@ThisUsernameIsMine
Thanks for your suggestions! I will keep them in mind when updating the plugin.
Nice plugin :-)
Perhaps you can add this too:
- Send an auto-reply message whenever someone tries to private-message an AFK player (not everyone checks their tab list frequently)
- Make tab list AFK color changeable so that we can choose the color of our liking
Thanks for the plugin and good luck adding useful features and (bug)fixes :-)