AdvancedAFK - Configuration

How to configure AdvancedAFK

There are some easy and complicated settings in AAFK's config.

Afk Section:

Enabled
if you disable this players won't get any warnings before they get kicked
MAX_AFK_TIME_MESSAGE
the time in seconds before a player gets a warning
NoLongerAfk
the message a player gets if hes no longer afk
IsAfk
the message a player gets if hes afk

Kick Section:

Enabled
if you disable this players won't be kicked when afk to long
MAX_AFK_TIME_KICK
the time in seconds before a player gets kicked
KickReason
the reason other players get displayed when a player gets kicked

Logging Section:

MAX_LOGGED_LOCATIONS
if a player walks MAX_LOGGED_LOCATIONS times over the same blocks over and over again, hes afk
Small description:
A player walks a way 1x10 blocks from one side to the other and back so he walks over 10 different blocks.
If MAX_LOGGED_LOCATIONS is bigger or equal 10 he will be afk if he does not do something else then walking.
if MAX_LOGGED_LOCATIONS is 9 or smaller he will not be afk, because for the system he always gets on at least 1 not logged block
This should save your server from players running in circles :P
Keep in mind, running a circle of 5x5 blocks is (5x5)-(4x4) blocks = 9 blocks should be logged.

MAX_LOGGED_ACTIONS
the maximum count of logged actions, shouldn't be to small, or you will get false positives
Small description:
If you choose to log less actions, e.g. 20 then a player that e.g. kills some mobs in a mob farm will get tagged
if he kills a maximum of 20 mobs without moving.
So MAX_LOGGED_ACTIONS should be relatively big number, I thought 100 should be enough, and for my server it was by now.

The next settings are maximum times an action can be performed, before beeing tagged as afk, without doing something else.
Setting one of these to MAX_LOGGED_ACTIONS will eliminate that a player gets afk by only doing this action.
For every number between 1 and MAX_LOGGED_ACTIONS-1 it means,
if a player does it X Times without doing something else, he will get tagged as afk.
MAX_INTERACT
should be near MAX_LOGGED_ACTIONS because if you build/break/use its interacting
MAX_INTERACT_ENTITY
shouldn't be to small
MAX_ITEM_HELD_CHANGE
How many times a player can change his item in hand
MAX_BED_LEAVE
How many times a player can leave his bad ? LoL ?
MAX_TOGGLE_SNEAK
How many times a player can toggle sneaking
MAX_DROP_ITEM
How many times a player can drop an item
MAX_PICKUP_ITEM
How many times a player can pickup an item
MAX_CHAT
How many times a player can chat
MAX_MOVE
How many times a player can move a block further, should always be the same as MAX_LOGGED_ACTIONS
If not, your players will get tagged as afk while walking :D

MESSAGE Section:

Now something easy again, the messages a player gets when doing something to often.
One message always contains MESSAGE_BEFORE + one of the other MESSAGE_XXX settings.

So lets say a player drops to much items the message he gets will be:
MESSAGE_BEFORE + " " + MESSAGE_DROP_ITEM
or
Please do something else then dropping items

The space between those two is automaticaly added.


Comments

Posts Quoted:
Reply
Clear All Quotes