@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...
@stamline if you are using java8 you could even go for lambda expressions :D would look smth like this then Make sure that the code is correct...
@VinexAx789 What that basicly does is checking if the playeramount in the team is smaller than a quater of the max amount of the players for this...
@Donobuz You are in the developement part right now. That means that plugins are actually being in the creation progress here and usually people...
@stamline you need to create a new list and copy the old lists content into the new one after converting the strings to uuids like timtower showed...
@Donobuz don't think plugin developement is the right forum for this issue.
@VinexAx789 Well then as i said you could use a map for this. this would also give you the possibility of 2+ teams. But i guess you only need 2,...
@xxmobkiller shouldn't be to hard. But just from the looks i believe that they removed the method you used in 1.8 or lets better say they altered...
as far as i know you can call the method "remove()" of the bat and it should vanish then. so there are multiple ways to go now. 1. track player...
Separate names with a comma.