AFK
Change Log
Check all changes which have been done so far.
Known Bugs
Animals/Players can cancel your AFK status by pushing you.
Using
Write /afk and server will broadcast "player_name is now AFK" message. If you move, type this command again, or type something into chat, server broadcasts opposite message "player_name is no longer AFK". If player is AFK, his name is gray in a player list.
Have outher plugin with /afk command?
then use /afk:afk
If you want to use Afk Time you must add {TIME} key.
ForEx: noAfk: '{DISPLAYNAME} is back after {TIME}!'
Config
# Events: def. true # Colors: def. gray [black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white] # IdleTimer: def. true, 60 sec # Messages: def. true (keys: {DISPLAYNAME}, {TIME}) Events: move: true chat: true Colors: message: gray player: gray IdleTimer: enabled: true period: 60 Messages: enabled: true nicknames: false +afk: "{DISPLAYNAME} is now AFK" -afk: "{DISPLAYNAME} is no longer AFK"
TO DO
| Java 7 | V4.5 | 100 % | done |
| Minecraft 1.10 | V4.5.1 | 100 % | done |
| Minecraft 1.9 | V4.5 | 100 % | done |
| Reason option | V4.5.1 | 100 % | done |
| Permissions | 0 % | allmost | |
| AFK commands support | 2 % | allmost | |
| Reload command | 0 % | none | |
| Idle Timer v2 | v4.0.0 | 100 % | done |
| AFK Time | v2.1.0 | 100 % | done |
| Java 6 | v2.0.2b | 100 % | done |
| Idle Timer | v2.0.0 | 100 % | done |
| Config | v1.3.0 | 100 % | done |
source code V4.3 & higher | source code V4.2.1 & lower.
Quote:Now that you got an /afk command, would you like an antiswearing plugin? try BSwear
-
View User Profile
-
Send Message
Posted Aug 29, 2012I'm sorry but no compatibility with other plugins in near future, because I'm just very busy in my work and I don't know how.
-
View User Profile
-
Send Message
Posted Aug 29, 2012@siOnzee
v2.1.0 will be with big update - some big changes or new functions, so I decided for v2.0.11
Look at chlog, it's always actual.
-
View User Profile
-
Send Message
Posted Aug 29, 2012@schneckk
What will be there? :) and why no ? v2.1.0 / 2.1.1 ?? :)
And add support for Factions Tag :)
-
View User Profile
-
Send Message
Posted Aug 29, 2012What you think about v2.0.11?
-
View User Profile
-
Send Message
Posted Aug 29, 2012@schneckk
Thanks :)
-
View User Profile
-
Send Message
Posted Aug 29, 2012Yes, I understand now. :]
-
View User Profile
-
Send Message
Posted Aug 28, 2012Doesn't work with prefix, Why ?
Please create compability with Essentials :) {DISPLAYNAME}
And idea for update,
no
I like this prefix, i need change it of AFK to (what i need).
Why ? tidy for chat. :) Thanx for this plugin. Good Job.
-
View User Profile
-
Send Message
Posted Aug 28, 2012This is unneeded built right into essentials.
-
View User Profile
-
Send Message
Posted Aug 27, 2012@anime5167
Sure, v2.0.9 ;)
-
View User Profile
-
Send Message
Posted Aug 25, 2012can make the plugin name in msg?
look like
[AFK] %PLAYER% AFK now
[AFK] %PLAYER% is back
-
View User Profile
-
Send Message
Posted Aug 17, 2012Please update to 1.3.2
-
View User Profile
-
Send Message
Posted Aug 14, 2012@Pato51423
Interesting but I don't think that idea fits into my plugin.
-
View User Profile
-
Send Message
Posted Aug 12, 2012Hello, I'm Pato and I have an idea for you. Can you teleport to a safe place when you are afk then when you are not afk you go back. Also that have a timeout because if you do /afk while pvp you will automatically transport, so when you are in a fight, have a 10 second timeout so if they hit you, you don't transport into the safe house. Kind Regards, Pato
-
View User Profile
-
Send Message
Posted Jul 28, 2012Thanks for another 1,000 downloads!
@fatman032
plistColor is for Player List (TAB) not for server messages
edit: Version 2.0.6 will serve well.
-
View User Profile
-
Send Message
Posted Jul 27, 2012Hello Great plug-in I'm just having one problem I can't seem to change the color of the AFK message. Here is my config file
I have tried 'blue', blue, ' blue ', navy, Gold , gold, &6, Orange. Some of them I get a error on and some I don't but no matter what I put it will not change the color from gray. Sorry if I'm just missing it. Thanks for the help in advance.
-
View User Profile
-
Send Message
Posted Jul 6, 2012Amazing, your post is so far the most informative!
-
View User Profile
-
Send Message
Posted Jul 5, 2012Got a small bug for you. One of my friends username is 16 characters long. Whenever she goes AFK, this pops up in the server log:
4:59:41 PM [WARNING] Task of 'AFK' generated an exception
4:59:41 PM java.lang.IllegalArgumentException: Player list names can only be a maximum of 16 characters long
4:59:41 PM at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:164)
4:59:41 PM at com.github.alesvojta.AFK.AFK.becomeAFK(AFK.java:45)
4:59:41 PM at com.github.alesvojta.AFK.AFKIdleTimer.run(AFKIdleTimer.java:22)
4:59:41 PM at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126
4:59:41 PM at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:533)
4:59:41 PM at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
4:59:41 PM at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
It will still do the messages in chat with no problem, but it does not gray out her name on the Tab list like it does with mine. Other than that, zero problems with this plugin.
Bukkit 1.2.5-R4
Bukkit GUI Project 1.6.1.1
Java 7 64-bit
AFK 2.0.3
-
View User Profile
-
Send Message
Posted Jun 20, 2012Yeah, that looks like limdingwen's problem below, try this: AFK v2.0.3b.
-
View User Profile
-
Send Message
Posted Jun 19, 2012@schneckk (FreeBSD) java version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_08_dec_2011_11_00-b00) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-p4-root_08_dec_2011_11_00-b00, mixed mode)
-
View User Profile
-
Send Message
Posted Jun 19, 2012@Amsek
Do you use jre 6 or 7?