Open UBSMentis opened 1 year ago
What are you trying to reward players? If you're trying to reward gems, unfortunately that is not supported, as it will only run commands that you'd be able to yourself in chat.
i want to set the command /case add 10 %player% 1, this is the command for giving players cases for the CaseOpening. but every test dosnt work and give that player the chests. i want to set the command every 10 waves but i dont know how to set the command with the EX and < or 15-20.i am very confused with ways to set, i need an example to set it. in the right possion every 10 Waves.
Can you confirm that the command /case add 10 [player name] 1
works when you type it in yourself in chat?
I tested with this command on the latest production build and it worked fine. If you want this command to fire after players complete wave 10, 20, 30, etc., then just replace "1:" with "10:", etc. up to probably wave 50 ish.
Let me know if you still have questions here. If you're still having problems, can you screenshot the customEffects.yml
file that has the relevant commands?
Yes the /case add 10 %player% 1 command is correct. I test it no lie the picture but only the /msg command works The case command will not be performed
Describe the bug I wnat to set a Rewar every 10 Waves (Wave 10,20,30,40,50 etc) but the command is not executed. how exactly do i have to enter it? i test it with onWaveComplete:
unlimited:
These commands are run when a given wave is COMPLETE (as opposed to simply reaching it)
Use positive integer keys to indicate which wave to run at, followed by the command to run
Ex. 1: "/give %player% taxes"
onWaveComplete:
These commands are run when the game ends, once players return to the lobby
Use "<" or "+" followed by a positive integer as the key to indicate the wave REACHED threshold to run at,
followed by the command to run
Ex. <10: "/give %player% taxes"
Use "-" between two positive integers to indicate an inclusive wave REACHED range, followed by the command to run
Ex. 15-20: "/give %player% taxes"
Note: Keys are not exclusive; All conditions will be checked upon game end
onGameEnd:
Server and plugin versions (please complete the following information):