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:
I want to get the 2 commands. How would I do that with a for-loop?
So this list:
- 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...
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?
I am making a system which should choose a random reward from my config.yml:
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.
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
My plugin gives me the following error:
Good note It stays 0 for now. Removed it from the lines
I got it, thank you!
Save it like so?
And how do I load it exactly? When I load the string, it has to be a...
I made a plugin that saves a location of a block to a HashMap. This works fine.
When the plugin disables, it saves the location to a...
Is there a way to let Vault know my plugin?
Separate names with a comma.