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

Suggestion: PAPI support in config #432

Open
KaspianDev opened this issue Apr 16, 2021 · 0 comments
Open

Suggestion: PAPI support in config #432

KaspianDev opened this issue Apr 16, 2021 · 0 comments

Comments

@KaspianDev
Copy link

KaspianDev commented Apr 16, 2021

My suggestion is to add support for PlaceholderAPI in AAC configuration, example (MOST LIKELY IT WONT EVEN WORK ITS JUST AN EXAMPLE):

AutoEat:
  # Do you want to enable the AutoEat check?
  enabled: true
  # This message will appear in AAC's status when AAC is used.
  aacfeatureinfo: "[AACAdditionPro] Player has botlike eating behaviour"
  # The VL of the player is multiplied with this constant to get the score of the player used by AAC.
  aacscoremultiplier: %player_ping%
  # Violation before AACAdditionPro starts to cancel the consume events.
  # Set this to 0 to never cancel the events.
  cancel_vl: 6
  # After a detection which surpasses cancel_vl AACAdditionPro cancels all attempts to consume an item for the
  # duration of timeout (in milliseconds).
  timeout: 5000
  # Map of violation levels to command
  thresholds:
    3: "aac notify {player} in {world} is suspected for AutoEat"
    6: "aac notify {player} in {world} is highly suspected for AutoEat"
    10: "aackick {player} AutoEat"
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