Or just use color codes, and ChatColor#translateAlternateColorCodes
If it's a varargs function, passing an empty array is just noise that you don't need.
That would be the Map below it, the comment just explained what it was.
Here's a nice utility method for you:...
BlockBreakEvent, check the block type on the sides and above the block being broken.
afaik only way is to programmatically attempt a login and read the response. Emails are internal and there isn't public-facing information...
ArrayLists do not resize upon removing/adding elements for every operation, that would be a CopyOnWriteArrayList. The biggest problem with the...
or, y'know: List<Player> players = new ArrayList<>(Bukkit.getOnlinePlayers()); Collections.shuffle(players);
You would simply do all those checks within the loop.
1) You made an entirely new itemstack, which won't modify the first 2) You never set the ItemMeta back into the itemstack after retrieving it.
Inventory inv = /*...*/; for (int i = 0; i < inv.getSize() / 9; i++) { //use #getSlot and #setSlot for all itemstacks }
Instead of trying to manually use the inventory methods, iterate over the inventory slots and use #setSlot and #setAmount for the itemstacks.
Separate names with a comma.