ShadowWizardMC > Make a public boolean. > When the game starts, change to boolean to true > When a player tries to break a block, check if the...
ProStriker123 You can have a int for each team and if the number goes to 0 when someone leaves, then you can say they won
lrdemolition Just check if their gamemode is survival and if they click on slot 5 when clicking in an inventory, cancel the even.
lrdemolition What doesn't work? Errors?
lrdemolition time --; Do the rest
Sean0402 If the player clicks the diamond sword.. Open the inventory you want to open
Sean0402 Close the inventory and open the other inventory.
Buizelfan2 In the runnable only set message. Outside of runnable have a message with the int seconds
Buizelfan2 I mean that you keep the one in runnable, but have another outside of it and see if it works
Buizelfan2 Maybe create another message outside of the loop?
@Buizelfan2It doesn't work because, you are running a repeating task and that is causing the bar health to 100%
KoolzSkillz On your if statement there is no open bracket. if (is.getType() == Material.STICK)
dodo_hacker You have runnable inside a loop. So when there is two people on the server, then the countdown will go down by two.
MineStein Make a block list and add all blocks that were broken there and regenerate after the game
RandomPanda30 Decompile my plugin and check the code. I think that's what your looking for.
RandomPanda30 Sure.
Neymar11 He probably wants to be able to change the join messages without having to recode.
RandomPanda30 Add them to ArrayList. If player is in there, then they cant chat and receive messages from other people, but if they aren't in...
mrpoopy345 Your code is correct. All you have to do is have a curly bracket on your 'if' statement
mrpoopy345 if("Player drops a snowball"){ //Open curly bracket // Cancel the event // Send a message if you want }...
Separate names with a comma.