AntiCheatAddition icon indicating copy to clipboard operation
AntiCheatAddition copied to clipboard

Suggestion: PAPI support in config

Open KaspianDev opened this issue 4 years ago • 0 comments

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"

KaspianDev avatar Apr 16 '21 14:04 KaspianDev