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

Ignore attacks not working #38

Open
2 tasks done
SmexyMug opened this issue Feb 20, 2025 · 1 comment
Open
2 tasks done

Ignore attacks not working #38

SmexyMug opened this issue Feb 20, 2025 · 1 comment
Labels
New Issue New Issue

Comments

@SmexyMug
Copy link

Bug description

When i set "ignoreAttacks": true, it's still detecting sword swinging as being afk anfd pulling the player out of afk status. I've tried it on both single player and server. When I go into afk status either by timeout or /afk command and swing my sword, its instantly pulling me out of afk status and displaying the usual welcome back messages. Am I using the feature wrong or set it up in configs incorrectly?

Steps to reproduce

  1. set "ignoreAttacks": true, in config file.
  2. go afk with the only action the player does is sword swinging.
  3. player does not stay in afk status while swinging sword even though its enabled in config.

Expected behavior

Player status should still be displayed as being afk even though their sword is swinging.

Actual behavior

As soon as I go afk and swing sword, player is pulledout of afk status

Relevant logs

No response

Minecraft version

1.21.1

AfkPLus version

1.7.4

Other information

No response

Check list

  • I have verified that the issue persists in the latest version of the mod.
  • I have searched the existing issues and confirmed that this is not a duplicate.
@SmexyMug SmexyMug added the New Issue New Issue label Feb 20, 2025
@sakura-ryoko
Copy link
Owner

It's a very specific config for when people are using click scripts. It ONLY works when the ONLY THING received by the player is attacks and literary nothing else; not even a small 0.0001% movement of the mouse will immediately cause return from AFK.

It is only meant to be used as an administrative tool to stop people from abusing auto clickers from being kicked for AFK.

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

No branches or pull requests

2 participants