jojo1541 I was experimenting with getting the state directly from the config or from the variable. I'll try adding ticks and see if it works....
You would get the players somehow, whatever your preferred method, and then make an item stack and edit the metadata so the item name is set to...
You cant get the "drop reason" from that event yo. You could use the PlayerDropItemEvent and save who dropped it if you're looking for a specific...
So I'm trying to make a plugin where you can set the weather permanently. Don't ask why, I'm sure there are ways to do it with another plugin or...
I want to make a plugin that draws a line between two points set by a user. Kinda like the line brush in voxel sniper. I can figure out the...
Yes because as you said I fixed the basic errors in his code and purposely didn't spoon feed him the right logic, just explained what he was...
Necrodoom Maybe if you actually took the time to read my post you would have seen this "Also you're trying to cancel when they have the permission...
your code should look like this @EventHandler public void onBreak(BlockBreakEvent e) { Player p = e.getPlayer();...
Okay great! Thanks for all the help :)
Just use this to get a list getConfig().getList("NameOfTheList"); and this to set a list getConfig().set("Items", |Your List|)
izarooni You're a hero. So I should check if each element in the array is not null then do .hasDisplayName. Will .getContents return the number of...
It's supposed to be a button named "Bullet". Im trying to use it as ammo that decreases with use. So I have to find any amount of the bullet in...
I don't think that you mucking around in someone else's code is a great idea. Try to find another broadcasting plugin or one with the code posted...
Does anyone know how I could find a specific custom item with a display name in a player's inventory during the playerinteractevent. int slot...
Can I disguise myself as a player that doesn't exist (aka make up a disguise)? If not it would be cool if I could do that.
Separate names with a comma.