➤ NEW! Added two new effect types: POTION and COMMAND. The potion type gives the player a potion effect and the command runs a command as the player or the console.
Code (YAML):
# Command which is executed when the launchpad is activated
# Executor defines the command executor: PLAYER, CONSOLE
# <player> placeholder is replaced with the player name
command:
command
:
"give <player> minecraft:stick 1"
executor
: CONSOLE
# Potion effect which is applied on launch.
# Effect is the potion effect name, duration is the duration in seconds
# and amplifier is the amplifier of the potion effect (0 = I, 1 = II etc.),
# and particles is whether the potion effect should display particles
potion:
effect
: SPEED
duration
: 10
amplifier
: 0
particles
: true
➤ FIX! Made error message with launch pad effect errors more informative and it now includes the required values and their types (int, double, string, boolean) in the message.
Happy launching!