Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Thanks for your help!
I am developing a plugin with my friend who says this part of it that I wrote is way too CPU
resource-consuming. He is more experienced and is...
List<String> words = new ArrayList<>(getConfig().getStringList("words")); doesn't seem to work
I have a config where I save words like
and so on.How would I get those words to be in a...
IT WORKS! FINALLY! Thank you all so much!
When a player places lava, right.
You are right, obviously but I am desperate.
It doesn't work.
I am currently trying out a simplified version of my code which is
I registered the event properly.
Thank you I have never used the InteractEvent before so I didn't know this I will try this out rn.
PlayerInteractEvent with right click and if the player has a lava bucket in his hand doesn't work because if he would right-click in the air the...
It seems like if I only take the event it doesn't notice me placing lava even with Material.LAVA. Which event should I use instead?
InteractEvent isn't for such things. Also why would the other event would have Material.LAVA if that wouldn't do anything.
I changed the material to Material.LAVA and added @EventHandler and it still doesn't work.
I don't seem to get a message even after changing this.
I wrote a Listener that checks how much Lava a player has placed but I am not getting my p.sendMessage() so what is wrong with my code?
If I want to create for example a public String it says public is an illegal modifier and only final is allowed.