TotallyNotWalshy You need to check if the hashmap .containsKey(Player)
TotallyNotWalshy That post?
TotallyNotWalshy You would need to use a HashMap. https://forums.bukkit.org/threads/help-with-hashmaps.95169/ this might help you
Shmobi You need to loop through the entities of that world and then see if their distance from that block is met, then return that Item
winitro cancel the PlayerInteractEvent with the EXP_BOTTLE material
Aiddamaid Can't you just use a scheduler and Player.damage(1.0D); ?
Hi. I was wondering if and how it was possible to set a custom entities strength- eg doing 3 hearts damage on an unequipped player. I'd like to...
Hi, I'm wondering as to what would be the most efficient way of freezing entities (And making them undamageable, however this is mildly...
mykoxaxoxa Check the contents and the title?
teej107 Only providing documentations isn't exactly help of the century either.
hankered Try something like this (It might not work because I didn't write this on an IDE) Material material = null; Random random = new Random();...
ulsa Oops. Try this: @EventHandler public void onPlayerJoin (PlayerJoinEvent event) { boolean hasCoal = true; for...
JeremyPark Remove the bukkit, instead of using bukkit, to get the health I always use ((Damageable) entity).getHealth();
Exoaria Try changing it to plugin.getConfig().set("Player_Data." + player + ".Death_Count", deathCount);
The point of this deprecation is to create awareness of the UUID switch though. For short term, eg a few minutes a player name is fine to be used.
Konkz Oh, was just checking. Well I like non deprecated methods so I prefer to use my own;)
mine-care They do
Konkz Why don't you make your own methods for getting players? Here are mine public static Player getPlayer(UUID id) { for(Player...
TheMintyMate This might help you
jebbo You can remove an ItemStack by doing ItemStack ammo = new ItemStack(Material.PAPER, 1); player.getInventory().removeItem(ammo); That will...
Separate names with a comma.