Advanced AFK

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

This is Advanced AFK

an highly customizable AFK Detector with integration of AFKTerminator and a small API which provides
other plugins a method to get if a player is marked as AFK.

Now lets talk about how it works:
Every action a player does is logged until a maximum of MAX_LOGGED_ACTIONS (see config)
If a player does the same actions to often without doing something else, then he will get warned and later kicked.

You may ask, what if I start building a big building without doing something else then placing blocks ?
Normaly you would walk if you build something, don't you ?
Thats it, you can configure how many blocks a player can build/break without walking a block.
Players that build normaly, meaning not just standing around and placing/breaking one block over and over again, will not get AFK-flagged.

I knew it would be hard to find the right configuration and algorythm to calculate if a player is afk and
I don't think my settings are perfect, but it has been tested on my sever for some time and didn't cause to many false positives.
At the moment I changed my complicated logging to an easy to understand system, which provides normal security.

It will not prevent players from using modifications that e.g. place one block move one block left, move back, break the block and
do this over and over again.
But its probably atm the best AFK-Plugin out there, because it uses its own AND AFKTerminators detectors to find players afking.

If you find better config-settings please let me know in a ticket, I may change the defaults.

Do I need something to make it work ?:

A bukkit server should work, but if you wan't to take full advantage of my plugin download AFKTerminator and install it, too.
With AFKTerminator installed my plugin will also warn/kick players that use AFKMachines.
Read his Bukkit page for more informations.

For plugin developer:

AdvancedAFK - API

How to use:

It now uses Vault for permissions, please install it.
(It works without Vault thought)

The maker of Vote tries to add my plugin as feature, so check it out sometime !
Vote

1. Please install the plugin (drop the jar into plugins folder)
2. Start the server
3. Let the server run and go ingame
4. Try if the settings work for you
If NOT
5. Go into YourServer/plugins/Advanced AFK/config.yml <= open it with editor/notepad
6. Change settings how you wish (see How to Configurate)
7. type /AFK reload to reload settings

How to Configurate:

AdvancedAFK - Configuration

Todo:

1. If a player sets himself afk by using command /afk
he will be invulnerable/godmode (If he has permissions advancedafk.afk.god) PS: He will be kicked if he stays afk for to long (different setting in config then MAX_AFK_TIME_KICK)

Feel free to suggest new features or mods I should make it compatible with.

Permissions:

AdvancedAFK - Permissions

I hope I did not forget to tell you something, if I did, please let me know.
Please comment and write tickets if you find something not working or something I should add/change.

Donation

If you wanna thank me, help me buy tea or toast
You can donate which will force me to update my plugins guilty conscience and such :D

Spenden(Euro), Donate(USD), Donate(Pound)

Or be a patron: http://www.patreon.com/TZed

My source is completely commented for beginners in plugin development and its an eclipse project ready for import in your workspace.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    53371
  • Created
    Mar 7, 2013
  • Last Released File
    Jul 17, 2013
  • Total Downloads
    8,245
  • License

Categories

Members

Recent Files