alexbennett / JustAFK

A simple, yet powerful, AFK (away from keyboard) plugin for Bukkit.
MIT License
4 stars 7 forks source link

Disabling messages broadcasted to chat #6

Closed riddle closed 11 years ago

riddle commented 11 years ago

Can we get a configuration node which would disable public broadcasts displayed to the whole server that player X has been set to away, returned or was kicked? I intend to use the plugin to kick after 1h to prevent players to go to sleep while keeping their game running. Broadcasting those messages can be confusing and if player isn’t AFK, it can trigger a quick is-away/isn’t-away broadcasts which don’t add anything.

alexbennett commented 11 years ago

Sure thing. I'll add that now and try to get a build up for you!

alexbennett commented 11 years ago

The new build has been uploaded. Now awaiting approval.

riddle commented 11 years ago

Thanks! Where can I find the build? I tried looking into Code section of this repository but I can’t see any changes?

alexbennett commented 11 years ago

I actually didn't push the changes, I just got distracted and forgot to. A build will be up for download following approval on the Bukkit Dev page for JustAFK (http://dev.bukkit.org/server-mods/justafk). They should be approving this anytime now... If they haven't approved within a few hours I'll just go ahead and give you a download link here on GitHub. Sorry for the wait!

alexbennett commented 11 years ago

Okay they're taking quite a while to approve that file for some reason, so I've just gone ahead and added a "builds" folder to the JustAFK directory of my repo. Just head into that and grab the JustAFK_v1.2.2.jar file, rename it to JustAFK.jar, and drop it into your plugins directory. :)

riddle commented 11 years ago

Thank you so much!

alexbennett commented 11 years ago

You're welcome!

riddle commented 11 years ago

Can you include [JustAFK] player has been kicked for inactivity. under that preference too?

alexbennett commented 11 years ago

Whoops.. sure can! I'll put a build up in a couple of hours. Sorry about that.

alexbennett commented 11 years ago

Actually riddle, that message is only logged to the console. It never gets broadcasted to the server - or shouldn't at least. Can you verify that it is being broadcasted and not just logged? Thanks!

riddle commented 11 years ago

You know what, I copied that message from console. I only tested the plugin on my local server and I cannot easily test with another player to really see the chat. I’ll take your word for it, sorry for a pointless report. :)

alexbennett commented 11 years ago

Not a problem at all! If you have any other issues or questions just let me know and I'll be sure to help you out. :)