ArrayList<Player> list = new ArrayList<Player>(); for (Entity e: player.getNearbyEntities(50, 50, 50)) { if (e instanceof Player)...
run a scheduler in a few miliseconds to check if the inventory has extra items in it
i can't seem to decipher how to do it XD (i'm not a java genius)
metadatas cannot be applied to itemstacks, so he was referring to item lores/names
well i would use vault if there isn't a solution to my problem :3
but the server has to have vault for the plugin to work, which is still a plugin requirement
the stack amount/nbt compounds of the gpcastlewards.tnt1 might be different from what the player has in hand e.g, the player might have 64 tnt...
PlayerQuitEvent
in PlayerJoinEvent, run through their inventory items and check if the item has the cooldown. if it does, remove the cooldown
I'm working on a plugin and it involves economy, but going through all the economy plugins and hooking them with mine is very messy and it takes a...
:eek: thanks didn't know there was an inventoryclickevent
I want to create an inventory which contains the items but they can't be taken out of the Container GUI (Essentials' /invsee does this if you...
thanks :D
public void onPlayerInteract(PlayerInteractEvent event) { Player player = event.getPlayer(); if (player.getTargetBlock(null,...
... the particles are the same, but, the ender signal effect forms a small circle, extending out to a big one and back to hit the middle into...
uhm, i'm trying to get the line of particles all the ender eye particle does is make a circle like thing and all the particles go to the middle i...
ender signal = the particle effect of the ender eye, not the teleport effect I want the effects that float when an enderman teleports (the line...
minecraft api? o-o talking about plugins here (bukkit)
I've been playing around with code and I can't seem to find the api to create enderman teleport particles (I'm using this to create an epic...
when you create a new ItemStack, the NBTTag Compound is null, while the item you want to remove's NBTTag Compound is not null (it has a...
Separate names with a comma.