@Zombie_Striker In my show(Player p) method, do you think it would work if I put the if statement in there and if it's true, I add the pie there?...
Hello! I've been working on a plugin that has to deal with custom inventories and stuff, and I want to make it so when a player opens up this...
So from my understanding, if "inventories." + p.getName() does not exist in the config, it will throw an error? Or am I wrong?
I have commented the line where the error is occuring, but it was line 8 in the post.
I'm trying to sort through a player's inventory when they die and check if the item is a certain item, and if it is that item then it'll save it...
Hello, I was wondering if there was any way to have the items in the Mob Arena classes to have custom names, for example, a diamond sword would...
Alright, sorry, didn't know about that rule. Thanks for the help!
Is it possible to disable the use of items in a region? Like for example, how can I disable an item from a plugin that has custom events when you...
@nj2miami I'll be sure to try this out. Thanks. It worked. Thanks for the help.
So basically, this is my method for checking if a player's unique ID is equal to the UUID stored in the config. public boolean isHomeOwner(Player...
Thank you, I will go test it out and tell you the details. Worked perfectly. Thanks!
So this is my code for saving UUIDs into my config. config.set("homes." + house.toLowerCase() + ".owner", p.getUniqueId()); But when I save it it...
I'm using Vault.
I'm creating scoreboards in my plugin that tracks the amount of money you have, and I need a way to check whenever a player spends/earns money, so...
Is there any way to extend the attack range of an iron sword or a gold sword or any sword at all?
Hadn't thought about that. Thanks for your help.
Just as the title says. I want to make snowballs disappear after they have traveled around a number of blocks. I know this can be achieved by...
Stupid me was being stupid. Registered the event twice, hadn't thought about it until now. Thanks for bringing it to my mind.
So I'm making a grenade plugin and for some odd reason this event launches two times. @EventHandler public void...
"//do the stuff" was example code. I know it does nothing. In my actual source code I have code in there that replaces the comment.
Separate names with a comma.