AFK (Abandoned)
#1
This project is abandoned!
AFK
is a plugins that sets your status to afk.

Commands
  • /afk
  • sets your status to afk
    /afk (player)
  • allows you to see how long someone is afk

Permission
  • Afk.use
  • the player who has this permission is able to change to afk status

Configuration
  • AutoAfk = true
  • if AutoAfk = true a player wil be set to afk status if he hasn't moved for a certain amout of time. only works with players who have the Afk.use permission

    AutoKick = true
  • if AutoKick is true a player will be kicked by a certain amout of time

    TimeUntilAfk = 300
  • the time a player must not move in order to automaticly change status to afk. Time is in seconds

    TimeUntilKick = 600
  • the time a player must not move in order to be kicked from the server. Time is in seconds
Other Features
Detects if
  • Player moves. if he moves while he is afk his status changes back to normal. BUT if he doesn't move for a while his status changes to afk.
  • Player Digs. if he digs while he is afk his status changes back to normal.
  • Player Places blocks. if he place blocks while he is afk his status changes back to normal.
  • Player drops items. if he drops items while he is afk his status changes back to normal.

Bugs
  • A Client-side player stays if someone turned to afk status.
  • if a player is afk while the server reloads, the player's name will be [AFK] Player


Attached Files
.zip   Afk.zip (Size: 1.39 KB / Downloads: 515)
Reply
Thanks given by: xoft , bearbin , Antonio , proniss
#2
This looks nice.

Now I'm just wondering, who'd start minecraft and walk away from the computer? Smile
Reply
Thanks given by:
#3
Perhaps if you played minecraft for about one hour and you are hungry so you have to eat Smile
Reply
Thanks given by:
#4
Also, can you add a feature to kick somebody if they are afk too long? Also, a lookup command maybe? Or maybe if you mention their name it sends you a message warning you the player is afk.
Reply
Thanks given by:
#5
i now added a kick feature. Default is 10 minutes. you can also enable/disable it.
you can now also use /afk (player) to see how long somebody is afk.
Reply
Thanks given by:
#6
So the time units are in seconds? Maybe worth mentioning Wink
Reply
Thanks given by:
#7
yes they are in seconds. thanks for pointing that out Smile
Reply
Thanks given by:
#8
Great new features!
Reply
Thanks given by:
#9
Quote:A Client-side player stays if someone turned to afk status.

i think this is a bug in the API but i'm not sure. i use Player:SetName( "[Afk] " .. Player:GetName() ) to make people afk and Player:SetName( Name[Player:GetName()] )( <-- variable) to make people return normal.
Reply
Thanks given by:
#10
(02-21-2013, 03:47 AM)STR_Warrior Wrote:
Quote:A Client-side player stays if someone turned to afk status.

i think this is a bug in the API but i'm not sure. i use Player:SetName( "[Afk] " .. Player:GetName() ) to make people afk and Player:SetName( Name[Player:GetName()] )( <-- variable) to make people return normal.

Im pretty sure its a problem with the server yeah.
As i used it for my auth plugin.
When i did setname from guest to normal name.
The Guest name would remain although if im right the char/sprite itself did disapear.
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)