#[SOLVED] Variables in ChatReaction prize command

1 messages ยท Page 1 of 1 (latest)

tall siren
#

Hello, i can't get my ChatReaction prize to work. I am using CrazyCrates keys as prizes & i'm trying to give a key to the person that gets the word with the command cc give p CrateName 1 <Name>, but there is a slight problem. CrazyCrates doesn't support the vanilla selectors, and i don't know how to insert variables in ChatReaction, or even if it supports them. From what i understood from the default config, vanilla selectors are more efficient for this plugin than sorts of variables.

I tried the %player_name% and %player% variables with PlaceholderAPI, with both chatreaction and player modules installed, like so:

reaction:
  rewards:
  - cc give p CrateName 1 %player_name%
  - cc give p CrateName 1 %player% # i had only one of these at a time

...but i couldn't get it to work.

I also tried Psudo like this:

reaction:
  rewards:
  - psudo cc give p CrateName 1 @p

...but Psudo literally supports every selector, other than @p. ๐Ÿ˜†
Am i doing anything wrong? How can i achieve my goal?

umbral ember
#

no need for psudo.
doesn't that require a player's name as well for input?

#

chatreaction doesn't actually support vanilla selectors, but it replaces @p with the player's name

tall siren
#

Okay I'll check

tall siren
#

you were actually right ๐Ÿ˜€๐Ÿ˜€ I'm pretty sure it didn't work before but it does now so I'm happy ๐Ÿ˜€๐Ÿ‘