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 Jul 26, 2016I try to use this with 1.7.10 but when someone goes afk their name gets removed from the leaderboard and does not reappear when they are no longer afk. PLEASE HELP
-
View User Profile
-
Send Message
Posted Jun 21, 2016After installing this plugin, it crashed my essentials plugin, and somehow got rid of my skin, reverted me back to steve.
-
View User Profile
-
Send Message
Posted Mar 12, 2016Great plugin, but it doesn't work on my 1.9 server:
[23:10:00 INFO]: [JustAFK] Enabling JustAFK v1.3 [23:10:00 ERROR]: Error occurred while enabling JustAFK v1.3 (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at net.alexben.JustAFK.JustAFK.onEnable(JustAFK.java:69) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) [patched_1.9.jar:git-Paper-475] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [patched_1.9.jar:git-Paper-475] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched_1.9.jar:git-Paper-475] at co.technius.PluginManager.PMCommandExecutor.loadCmd(PMCommandExecutor.java:397) [PluginManager.jar:?] at co.technius.PluginManager.PMCommandExecutor.onCommand(PMCommandExecutor.java:167) [PluginManager.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) [patched_1.9.jar:git-Paper-475] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) [patched_1.9.jar:git-Paper-475] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:662) [patched_1.9.jar:git-Paper-475] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchServerCommand(CraftServer.java:625) [patched_1.9.jar:git-Paper-475] at net.minecraft.server.v1_9_R1.DedicatedServer.aL(DedicatedServer.java:442) [patched_1.9.jar:git-Paper-475] at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:405) [patched_1.9.jar:git-Paper-475] at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:714) [patched_1.9.jar:git-Paper-475] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:613) [patched_1.9.jar:git-Paper-475] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73]
Please update. :)
-
View User Profile
-
Send Message
Posted Apr 22, 2015Hello. I use this plugin on my server but got an issue
I have the hideawayplayers: true Sometime players stay vanished
Also i got an request. That we can use more then 1 color example: 'Gold'['Green'AFK'Gold'] 'White' <player> is now AFK
Greetz, VocalWolf
-
View User Profile
-
Send Message
Posted Aug 18, 2014I can make a French translation if you want! :D
-
View User Profile
-
Send Message
Posted Aug 2, 2014Can this prevent players from using AFk pools? what else can anti-afk can it prevent?
-
View User Profile
-
Send Message
Posted Apr 13, 2014@vastrix
If you know how to edit the plugin, you could easily recode it to say "afk", I already looked into it. Although, changing the name/colors should be in the configuration.
-
View User Profile
-
Send Message
Posted Apr 10, 2014Would be awesome if it had options like:
Thanks! :) (sorry if some of them are already included :s)
-
View User Profile
-
Send Message
Posted Apr 1, 2014just installed JustAFK and noticed the private and public broadcast is seen. is that cause I am admin?
-
View User Profile
-
Send Message
Posted Mar 31, 2014Autokick doesn't seem to be working for me? :S Request: could you make it automatic so you don't have to type a command? I have been looking for an up-to-date automatic AFK plugin to stop people abusing the auto-ranker (Rankup on total ontime) feature on my server.
-
View User Profile
-
Send Message
Posted Feb 24, 2014Can you make it so you can change the prefix and the colours of the messages?
-
View User Profile
-
Send Message
Posted Feb 15, 2014I had a bug reported to me from a player saying that if he were to use /afk then log out, and log back in he would be invisible to other players.
Is there a way to disable the invisibility when afk?
-Craft-
-
View User Profile
-
Send Message
Posted Jan 20, 2014@niels6789
I haven't encountered this issue on my own. It could be due to an outdated version. I just updated the plugin to work with the latest Bukkit build, so once that gets approved you should give it a try.
-
View User Profile
-
Send Message
Posted Jan 20, 2014@pm61200
I just updated it to add support for 1.7.4. The file should be approved within a day or so!
-
View User Profile
-
Send Message
Posted Jan 16, 2014works on 1.7.4?
-
View User Profile
-
Send Message
Posted Dec 26, 2013It spams the whole server logt with this error: ERROR: Could not pass playermoveevent to JustAFK 1.2.5
Please help my server is taking the double of my cpu Sorry for bad english
-
View User Profile
-
Send Message
Posted Nov 12, 2013I'm looking for a small afk plugin that's up-to-date and auto prefixes afk players (visible in the tab menu)
Any chance you can arrange that last part? :)
-
View User Profile
-
Send Message
Posted Oct 21, 2013@underscoreAlex
Jup: Minecraft>plugins>JustAFK>localization.yml
http://prntscr.com/1yq0uv
-
View User Profile
-
Send Message
Posted Oct 20, 2013@WolfClawsKevin
Did you set them in the localization YAML file?
-
View User Profile
-
Send Message
Posted Oct 15, 2013Hey,
I've set custom messages but they don't seem to work. I already restarted the server.
Kevin