With this plugin, you can give "antidote" to a specified potion effect.  If a player has multiple potion effects, an antidote will remove one specific potion effect.

Video demo
coming ...

Commands:
  • /antidote or /antidote help : displays a help menu
  • /antidote reload : reloads config.yml
  • /antidote give <player> <type> <amount> : gives <player> <amount> of <type> antidote.

Permission Node:
  • antidote.reload : allows you to use /antidote reload command.
  • antidote.give : allows you to use /antidote give command.

Installation:
Just drop Antidote.jar in the plugins folder.

Messages:
  ErrorMsg : "&c[Antidote] : Some error occured."
  AntidoteGiven : "&a[Antidote] : You are given %type% antidote."
  AntidoteApplied : "&d[Antidote] : Antidote for %type% has been applied."

HelpMessages:
  banner:
    msg: "=== &e[&aAntidote Commands List (%version%)&e] &r==="
  help:
    msg: "&a/antidote help : displays this help menu."
  reload:
    msg: "&a/antidote reload : reloads config file."
    permission: "antidote.reload"
  debug:
    msg: "&a/antidote debug <true|false> : turn on / off the debug mode."
    permission: "antidote.debug"
  give:
    msg: "&a/antidote give <player> <type> <amount> : gives <player> <amount> of <type> antidote."
    permission: "antidote.give"

# adjust these event priority if those event processes from this plugin
# interfere with other plugins' event processes.
EventPriorityMap:
  PlayerItemConsumeEvent: "NORMAL"

Title: "Antidote of %type%"