@alex3413 you could wait for the player to press on an item and then simply change the content of the inventory instead of changeing to another one
@wydgabriel the problem with this will be, that all 4 directions being blocks wont prevent all mobs from getting to the player. for example...
You will need to write your self a formatter. That formatter takes the input strings "5", "d" as input and calculates fromt hat, how much seconds...
Before you clear the slot, get the scoreboard from that slot, safe it somewhere and put it in that slot once you want to use it again.
Did you try to debug it yet? just put a sysout or smth in the event-method and you will see on the console if its only called once if you press...
@Xerox262 wouldn't work if there is a 60% chance for stone and a 60% chance for diamond @tg95 i don't want to be rude, but it seems to me as if...
@tg95 make a List<Material> of all materials you want possibly to be there. Generate a random number between 0 and 100 and then you can depending...
@Compelix You have only 1 class in your project which extends JavaPlugin. You have to copy the name of its package, past it into the config and...
@ThrustLP i guess physics could be dicking you over. moving x and z is not going against gravity but moving y does. So multiplying with 20 and...
@tg95 you will have to make some sort of backup. use a Map<Location, Material> and save all locations of the blocks you want to reset later with...
@plasticono zombie explained it pretty well already. You have to use some sort of seperate thread. For instance you could use the bukkit schedular...
Why not just split it with space and then use a stringbuilder and a loop to put them back together in a step of 5 entries in the array? No need...
Separate names with a comma.