JustAFK
JustAFK brings a simple, multilingual, and powerful AFK (away from keyboard) plugin to Bukkit servers.

Installation
To install JustAFK, simply drop the jar file into your server's plugin directory and reload! A configuration file will be automatically created which you can edit to fine-tune your own installation.
Localization
As of JustAFK v1.2, you can completely customize the messages associated with JustAFK by editing the generated localization.yml file after loading the plugin. You can use it to simply change the way the messages look, or to translate to another language. This should work with most languages, but you may run into some issues with certain character types. If you have any problems with the plugin after doing a translation please let me know in the comments below.
If you'd like to contribute your translation for JustAFK, please let me know and I'll work with you to get it included as a download alongside the plugin. Thanks!
Currently Included Languages:
- English
- Traditional Chinese
- Italian
- German
- Danish
- Dutch
Features
- Optional, automatic kicking of AFK players
- Outwits methods used to circumvent automatic AFK
- Configurable AFK time limit
- Configurable kick message
- Players are automatically hidden from others when going AFK
- Automatic detection of players returning from AFK (e.g. when moving or chatting)
- Set a status when going AFK
- Fully customizable messages via the generated
localization.ymlfile
Commands
| Basic Commands | Description |
|---|---|
| /afk | Sets yourself to away, making your player invisible and broadcasting a message to the server. |
| /afk [reason] | Sets yourself to away as above, but also includes a reason. |
| /whosafk | Shows you a list of who is currently set to away on the server. |
| /justafk | Gives you a bit of information about JustAFK. |
| Administrative Commands | |
| /setafk <player> | Sets the specified player to away. |
Permissions
| Node | Description |
|---|---|
| justafk.basic | The basic permission node which allows for full use of the plugin. |
| justafk.immune | Makes the player immune to auto-afk and auto-kicking. |
| justafk.admin | Gives the player access to the admin commands (seen above) included in the plugin. |
Configuration
| Setting Node | Default | |
|---|---|---|
| tagmessages | true | All AFK messages will be tagged with "[JustAFK]". |
| hideawayplayers | true | If true, players going AFK will be hidden on the server. |
| broadcastawaymsg | true | Sets whether or not away messages will be broadcasted to the entire server. |
| autokick | true | Players will be kicked automatically if inactive. |
| movementcheckfreq | 15 | The frequency to check for player inactivity. |
| kicktime | 300 | The time that a player can be AFK before being kicked. |
| kickreason | Reason | The reason to give when kicking an AFK player. |
| kickwhileinvehicle | true | Kick players that aren't looking around but are moving in a vehicle. |
All time is in seconds.
Miscellaneous
To get support for JustAFK or to suggest new features, just leave a comment on this page and I'll see what I can do about it!

-
View User Profile
-
Send Message
Posted Jun 7, 2013@underscoreAlex
http://pastebin.com/Ah6qxxch
-
View User Profile
-
Send Message
Posted Jun 3, 2013@MGbeenieboy
That has been added in the latest version. :)
-
View User Profile
-
Send Message
Posted Jun 1, 2013Could you make it configurable whether the players becomes invisibility? because it bugs sometimes :(
-
View User Profile
-
Send Message
Posted May 20, 2013@killermanaa2
Yes it sure does. The time limit is also configurable in the generated
config.yml.-
View User Profile
-
Send Message
Posted May 20, 2013@MGbeenieboy
I'm sorry you're having issues, if I could take a guess I would assume a plugin incompatibility. But I may be completely off being that I can't recreate the error.
You can download any previous version via the files page.
Also thanks for the German localization! I'll be sure to include it in the next release. :)
-
View User Profile
-
Send Message
Posted May 20, 2013Does this also automatically set a person afk after a specific time period?
-
View User Profile
-
Send Message
Posted May 20, 2013can i have the old version back? 1.2.1
-
View User Profile
-
Send Message
Posted May 20, 2013doesn't work with 1.2.3 too^^
-
View User Profile
-
Send Message
Posted May 20, 2013German Localisation: http://pastebin.com/Ln3UPyiY
-
View User Profile
-
Send Message
Posted May 20, 2013I'll test 1.2.3
-
View User Profile
-
Send Message
Posted May 20, 2013of course
-
View User Profile
-
Send Message
Posted May 19, 2013@MGbeenieboy
This is odd... It's returning a null even though that should really never be null. Have you tried completely restarting your Minecraft server?
-
View User Profile
-
Send Message
Posted May 19, 2013the last version worked better... it spams this report: http://pastebin.com/QgHKY703
-
View User Profile
-
Send Message
Posted May 18, 2013@MGbeenieboy
Can you please copy/paste the full error from your console? It will help me debug. Thanks!
-
View User Profile
-
Send Message
Posted May 18, 2013@Icabash
That is what that means, but yes I can definitely add a configuration node for that! I'll do it now and upload the change. Also, thanks for the Italian translation, I'll add it to the next version as well!
Edit: Version 1.2.3 is uploaded now and awaiting approval.
-
View User Profile
-
Send Message
Posted May 18, 2013Italian translation for localization.yml: http://pastebin.com/D3zLkySU
-
View User Profile
-
Send Message
Posted May 18, 2013Can't pass Player Move Event to JustAFK 1.2.2
-
View User Profile
-
Send Message
Posted May 17, 2013This looks like an amazing plugin so far, from what I've seen! I just had one question:
Does this, "Players are automatically hidden from others when going AFK", mean that players go completely invisible when they're set as AFK? If so, could you possibly add a config option to toggle whether or not players vanish once they're detected as AFK?
Also, I may be able to contribute an Italian translation of the localization.yml file :)
-
View User Profile
-
Send Message
Posted Apr 1, 2013@smallpen
:O
What version are you running? The latest update (1.2.1) contains a large rewrite in how AFK users are handled. If you aren't running 1.2.1 please update to it first and see if you still have the issue. If you do, I'll get it worked out and upload a fix as soon as possible. Thanks!
-
View User Profile
-
Send Message
Posted Mar 31, 2013I find a issue that plugin will auto kick users no matter user is afk or not !! when this issue happen , all online user will be kick out server !!