up
I'm making a lucky block plugin for fun with friends. This is my code now. How can I fix it and make it to drop a random item from the config...
So probably I use the wrong API?
Up
Here my imports import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockState; import...
Which is the right import?
I have a problem to save the blockstate to config and load them when a player place/break a spawner I want to create the same spawner with the...
Okay, I'll try it later, thanks Work but the problem is that I receive the same amount messages as the page int (in my case 64) @EventHandler...
Like this? int max = Main.getInstance().getConfig().getStrign("Max-Vault-Amount"); for (int page = 0; page < max; page++) {
So.. Can't I add unlimited vaults for example?
And how I can fix that?
Using System.out.println("0"); (and "1", "2", etc) No output before the loop And what I can use?
I'm trying to save/load a vault file (/vault <name> is 0.yml, /vault <name> 1 is 1.yml, /vault <name> 2 is 2.yml, etc). I've tried this but not...
And after?
Like: public MessagesFile(Main main){ }
Separate names with a comma.