Potion Data

This section is used for selecting the potion type, model data, and original potion effects.

Original Effects

This is a weird option. Let me give you an example. If you select STRENGTH as potion type, and enabled the option, when executing commands, it will also give you the strength effect without using extra command. I don't see any usage for here, so I will probably deprecate it in major versions.

Potion Type List: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html

Original Effects is OVERLY complicated and plugin already covers it with command, so will be removed one or two version after 4.0 STABLE update. Please use regular /effect command if you want to give the original potion effect. Come on, one single extra command.

Unlike command overhaul, /aetherpotions migrate will not cover this change.

Configuration Table

Variable
Description
Example/Expected Value

customModelData

Custom model data. You can use this for custom textures.

Integer

potionType

Potion type. Things like Speed, Strength etc... Do not put prefixes like STRONG, LONG etc. Just put the plain old potion type and configure level/time below.

STRENGTH

originalEffect [Optional]

This option is needed if you need to apply original potion effect.

true/false

extended (Requires originalEffect)

If you want to extend the potion time same as brewing, you can use this option.

true/false

upgraded (Requires originalEffect)

If you want to upgrade the potion same as brewing (Level 2), you can use this option.

true/false

With this configuration, our updated file:

flight:
  displayName: '&6Flight Potion'
  lore:
    - '&9Food & Drinks'
    - '&9Flight I (04:00)'
  isSplash: false
  deleteBottle: false
  instantDrink: false
  cooldown: 480
  data:
    potionType: LUCK

Last updated