Hello, long time no update lol. Now you can use hex values and give players original effect of the potion they used.
Hex Values
- You can use hex values in configuration like this:
Code (YAML):
Prefix
:
"7FFFFAetherPotions > &7"
Original Potion Effects
- This ones hard to quite confusing but let me give example. You are making a custom exp command potion using speed potion as color. Now you can give player the speed effect without extra commands along with custom ones.
Example configuration:
Code (YAML):
data
:
# 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.
# List: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html
potionType
:
"STRENGTH"
# This option is needed if you need to apply original potion effect.
# For example if potion type is strength, strength effect will be applied with the commands.
originalEffect
: true
# If you want to extend the potion time same as brewing, you can use this option.
extended
: true
# If you want to upgrade the potion same as brewing (Level 2), you can use this option.
upgraded
: true