BlackListAfk
BlackListAfk - Simple afk and list plugin!:
Version: v2.1
BlackListAfk is a plugin that lists all players online, sorted by their groups.
What you require:
- Any kind of permission plugins that has suffixes and groups.
- Vault - simple Api plugin
Features:
- List players online with group-tags and sorted by groups
- Let players mark themselves as afk
- Players will automatically be marked as back, if they break or place a block while being marked as afk.
- Admins can make themselves not listed. Usefull for spying on people.
Commands:
User commands:
- /list - lists all players online, sorted by groups
- /afk - marks you as afk, if you are not and demarks you if you are marked
Admin commands:
- /afkvanish - makes you invisible on the list for normal players.
Config-Setup:
See HERE, please!
Setup:
If you want the groups to be displayed properly, the group suffix needs to contain the whole name of the group and possibly colors.
Example:
suffix: "&4[Admin]&f"
You should be able to change this in the config of your permissions plugin. You might need to adjust the config of the chatplugin too, as a result.
Permission Nodes:
- "BlackListAfk.Admin" - This permission is need to make yourself invisible on the list: /afkvanish
Tested Bukkit-Builds:
Works on every build from 1000+.
Download:
Take a look at the right ;).
Source Code will be uploaded to Github in some days!
I believe this plugin has been abandoned, but anway..
Another problem has been introduced along with the later CraftBukkit updates:
non-AFK players that are listed next to an AFK player all get the AFK-colour
I noticed that when changing the world's name to something else than 'world', suffixes/prefixes @ /list are gone/lost :-/
Well BlackHawkLex, the requested features i had in mind aren't too far fetched, after all. You still can be moved while being afk, but you wont lose afk status!
http://dev.bukkit.org/server-mods/simpleafk/ ;-)
- ThisUsernameIsMine
Would you please be so kind and add a Config-Option to use displayNames instead of normal names? Thank you very much in Advance.
@BlackHawkLex
Hi again :-) No problem buddy!
I have a question: is it possible to auto-afkvanish yourself on join?
Thanks!
Regards,
- ThisUsernameIsMine
Thanks a lot, I always appreciate feedback. Especially when its positive :). If you need anything, just contact me, mate :).
ahh, i see :-/ Oh well. You(r plugin) rock(s) anyways, and i thank you for that :-)
Mousemovement or key stroke is impossible without Spoutsupport. Im sorry. And i do not really want to take a look at the onMove-Event, cuz that is also triggered, if you are moved by another person. So it could happen that ur marked as afk, and someoneelse or a mob hits you, and you will no longer be marked. So that´s not so cool :/.
The new version works great! There's only thing i would like to see added to the un-AFK mechanism.
Is it difficult to implement mouse movement and keystroke detection?
Someone could forget to change their status and chat/roam around freely,
while still being marked as an AFK player :P
Thanks for fulfilling my requests so quickly! :-)
Are you serious? That would be totally awesome! :-D
Can't wait!!!
edit: Thank you so much! :-)
Best regards,
ThisUsernameIsMine
1: I will add the block place and break actions. Sounds like a good plan. 2: I can add vanish support. 3: I will implement the same as a console command :).
Give me some hours mate and it will be in :).
EDIT: All things requested are in now. Just waiting for the new file to be approved by a moderator. Cheers mate :). Check the description for further details on how to use things.
Does the user automatically go out off AFK whenever he moves the mouse, clicks any mouse buttons or keystrokes?
Thanks :-)
edit1: i often use Vanish No Packet to make myself invisible, but your plugin lists me as online player.
edi2: I would appreciate it if your plugin could be run from console or otherwise leave the server's internal /list command intact.
Now you basically disabled the console command and display Y U NO PLAYER??!111 instead.
I don't like/want to be forced in-game for this :(
Its in, just waiting for the file to be approved
Ok if u guys want that, i will implement it :).
I see you said there is no need for a config? You should make a config for a custom afk message :D
Well, it actually should not do it. There is no way it CAN do it . But feel free to try update 2.0 :).
Strange, but when I reboot my server after putting this plugin in 'plugins' folder, my server keep on rebooting all the time..