#Effect of a potion when pressed on an item

1 messages · Page 1 of 1 (latest)

vocal locust
#

Hey guys! I need some help. I want to make it so that when you click on an item the player is given an effect such as speed. I want to implement a Buff for donaters like in Warcraft
I do not know how to properly implement a way to produce an effect when you click

topaz magnet
#

this is not potion

vocal locust
topaz magnet
topaz magnet
#

search basic minecraft commands

#

ill not help someone without knowledge of basic things

vocal locust
#

effect give VladSlot minecraft:speed 10 10 "for example"

topaz magnet
#

why you wrapped minecraft:speed with <>

vocal locust
#

I tried other Placeholders still doesn't work

topaz magnet
#

do you have placeholderAPI ?

vocal locust
vocal locust
topaz magnet
#

/papi ecloud download player

#

/papi reload

#
click_commands:
  - '[console] effect give %player_name% minecraft:speed 60 2'
vocal locust
#

It's working now.

#

I didn't think it was necessary to download the directory, I thought it was standard and included in the library

#

omg