the problem is probably if(x > 0) { continue; } The continue; keyword says that it needs to skip everything below it in the for...
I think you just use replaceFirst to replace it, just like you would do with the normal replace function.
when cancelling the task. You need to set the countdown back to 5
the r.nextInt(5) will return a random number from 0 to 4. the 5 means that it will choose from 5 numbers starting from 0.
I think that the scoreboard isn't showing up, because you first need to set a score, or the scores needs to be updated
Have you tried to set the spawn-protection in the server.properties to 0?
the way would be to have an instance of that class, and call it from the instance
When the player clicks on the sign (you already have that part, the playerInteract) you can let the player perform a command with...
when iterating, I recommend to do it with a for loop with an int that loops from 0 to the size of the inventory, and then get the itemstack with...
I actually think that they won't completely remove it, because a lot of plugins still count on id's and it's also really easy for config to use...
the material is I think GLOWING_REDSTONE_ORE
there are different ways to do it, you can get the player location and just add something in the Y axis and then get the block, and if you want it...
could you give the code again?
I think that it has to do something with the particles itself, because some particles are in fixed positions relative to the block they're in. Try...
What do you mean with that? Some particle effects always display at the center of a block, just so you know.
Separate names with a comma.