How can I get the part behind 'name:' and 'command:'?
I am stuck.. So I tried a different way of doing this: I have a string in my config which could contain multiple commands: name:Name command:msg...
I want to get the 2 commands. How would I do that with a for-loop? So this list: Voterewards: - Diamond sword|give %player% diamond_sword 1 -...
And how would I look to the split? Or specify the command
I am for-looping over the prices. It takes 1 randomly and it will be executed. I am looking for an option so I can put 2 commands 'toghetter' to...
Hello, I have made a list in my config.yml which contains commands (that are randomly chosen) to execute when someone votes (1 command)....
That did the job! Thank you very much :)
Anyone knows how to solve this??
How does this look to the type of reward (like normal) and the chance?
Hello, I am making a system which should choose a random reward from my config.yml: Rewards: Normal: 1: name: 'Messaged'...
Still doesn't affect :/ It even happens when I click on the 1st or 2nd empty slot next to the brick.
Unfortunately the action after the slot check (Line #27 in my first post) still executes when clicking on the brick from the image.
Hello, I made a custom inventory which works fine. However, when I click on the bottom inventory (Brick), it does the same as when I click on the...
That did the trick ;) Thank you
Hello, My plugin gives me the following error: ava.lang.NullPointerException at...
Separate names with a comma.