Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI interaction should also be an activity #76

Closed
heilrahc opened this issue Oct 20, 2024 · 2 comments
Closed

GUI interaction should also be an activity #76

heilrahc opened this issue Oct 20, 2024 · 2 comments
Assignees

Comments

@heilrahc
Copy link

So I found from this plugin and similar to many other plugins, it doesn't seem to detect GUI interaction as an activity. So if I open a craft table and craft there for a long time with all the clickings. It'll still set me to afk. Is there a way to configure it so that crafting or any other GUI interaction is also considered as an activity and won't get afk kicked?

@Dart2112
Copy link
Member

That should be a pretty easy addition. let me see what I can do.

Dart2112 added a commit that referenced this issue Oct 20, 2024
Work for Issue #76
@Dart2112
Copy link
Member

Keep in mind that this addition is based on listening to the InventoryClickEvent which may be cancelled depending on if the GUI being clicked is controlled by a plugin. These plugins tend to cancel the click event which will make it so that AFKPlus doesn't detect anything.
This will roll out with the next update which will be soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants