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 Dec 13, 2015GREAT on my 1.8 server! It works perfectly, so thats probably why its inactive XP
-
View User Profile
-
Send Message
Posted May 13, 2014Wanted to say I use this plugin just fine on a 1.7.9 server. Annoyed that the top of the page claims the plugin to be inactive.. It just doesn't need any fixes and operates as it should. No need to go calling it inactive.. Additional features would be cool, but hey - Works fine as is, and works as expected. No harm in that :)
-
View User Profile
-
Send Message
Posted Feb 26, 2014Please add the features when a player afk, other players cant hit them :)
-
View User Profile
-
Send Message
Posted Feb 27, 2021In reply to _ForgeUser11869422:
i know its from 4 years now but its still a good idea
-
View User Profile
-
Send Message
Posted Jan 13, 2014Hi, i have the Problem, that i have commandbook installed, and there is an /afk Command too. So if i type /afk it still uses the Commandbook and not your plugin. how can i change that? thx
-
View User Profile
-
Send Message
Posted Jan 13, 2014Keep going :)
-
View User Profile
-
Send Message
Posted Jan 2, 2014Please add a Reload Command and also I've noticed if a players name is more than 13 characters long their names get cut off upon being AFK, however when they are No Longer AFK their FULL names will appear.
-
View User Profile
-
Send Message
Posted Nov 13, 2013First AFK plug-in that really works on 1.6.4, Not sure if I misunderstood the section for message and player, was under the impression that they would display two different colors if I wanted them to do so.
-
View User Profile
-
Send Message
Posted Oct 18, 2013@LHammonds
Nice post +1, I'll try add these features asap but I'm very busy at my job so it may take some time.
-
View User Profile
-
Send Message
Posted Oct 16, 2013@LHammonds
+1 Always has great suggestions / advice to improve people's plugins ;)
-
View User Profile
-
Send Message
Posted Oct 15, 2013Thanks for creating and sharing this plugin with us. I currently use Essentials and the functionality seems almost identical so I won't be installing this plugin at this time. However, if it were an improvement over Essentials, I'd consider installing this plugin and disabling the command in Essentials.
It would be awesome if you allowed a optional {reason} to be added if the player wanted to customize the afk message. For example, if the player types "/afk Eating lunch" then it will show "Player is AFK - Eating lunch" whenever somebody tries to message that player while they are afk. If they afk from inactivity, it just defaults to the standard message.
It would also be nice if it could differentiate between normal chat and commands when it tries to figure out if you are back from being AFK. For example, an extra option in the config for "command: false" event which would not trigger the "player is no longer afk" message if they are typing chat commands (anything starting with a slash "/"). This would allow people to come back temporarily to issue commands but not broadcast to everyone they are back. Handy for both staff and lurkers as well as staff that are lurkers.
Having permission nodes would also be nice. This could allow players to disable (remove permission group) the afk messages if they do not want to use them (for them self). Or it could allow the server owner to keep things vanilla for normal players but add features for others such as this afk ability. Examples of such nodes could be:
- afk.use - afk.use.idletime - afk.use.reasonThanks,
LHammonds
-
View User Profile
-
Send Message
Posted Oct 15, 2013add reload command
-
View User Profile
-
Send Message
Posted Sep 17, 2013Can you upgrade this to work with 1.6.2-R1.0? It currently does not work.
-
View User Profile
-
Send Message
Posted Sep 12, 2013@ThisUsernameIsMine
Maybe... :)
-
View User Profile
-
Send Message
Posted Sep 6, 2013I have a suggestion for your plugin:
Preferable way: Make AFK players invisible in-game, to protect them against PvP and mobs
Alternatively: Make AFK players invincible/give them godmode
Additionally make it so that mobs don't target or inflict damage to AFK players
If you can make this possible then AFK players won't unexpectedly go out off AFK anymore :)
-
View User Profile
-
Send Message
Posted Sep 2, 2013@Shadow48402
Because its good!
@schneckk
When's the next update? (just kidding xD). Thanks a lot dude! :)
-
View User Profile
-
Send Message
Posted Sep 2, 2013So much downloads, and so easy to make.
-
View User Profile
-
Send Message
Posted Sep 2, 2013In version 4.2.0 you can choose in config file whether to display nicknames or real names in server messages.
Please test :)
-
View User Profile
-
Send Message
Posted Sep 1, 2013@MapsByFlyingT
reported (referral-)spam...
-
View User Profile
-
Send Message
Posted Sep 1, 2013@ThisUsernameIsMine
Gut! =)