I've had one of my posts deleted in the past for such a thing, however their reason was it had no explanation. Adding an explanation as to what...
Boo-hoo, I also explain the issues that were wrong with the code. From the error, it looks like either "Hub" or "pvp" is not a world; they're a...
Well, depends on if you want the clicked block to become water or if you want the lapis block that you place to become water.
Attach the jar file you're using. The code and plugin.yml that you provide should work, which leads me to believe one of the two isn't being...
So if they left click or right click with a lapis block, you want to create water? Doesn't seem quite right. Regardless, this event has...
Right, but you can't just slap that in there willy nilly, you use boolean logic (AKA if statements) to evaluate that...
Either 'fine' is null or 'plugin' is null. Post the constructor of the class that this code is from.
What are you doing with this?? e.getHand() == EquipmentSlot.HAND
https://bukkit.org/threads/setting-player-invincible-is-not-possible-since-change-to-1-8.443461/#post-3477166 A post I made a while back...
No, not really. If anything, you'd be the one creating/calling such an event... which is probably too complex for you. You're wanting complicated...
Well, your code has a lot of problems. You don't null-check the ItemStack in the click event, you don't make sure that the inventory is the...
BukkitScheduler#runTaskTimer(pluginInstance, delayInTicks, intervalInTicks). You'll have it check every interval if the player has a certain state...
Well, this is all a series of tasks... but the tasks shouldn't continue to execute if the user isn't at the required state for the step they're at.
Pretty complex description. I feel like this would involve an enum of states that they player is in. Kinda like a flow diagram. START_SNEAKING,...
I'm pretty sure YAML doesn't like spaces on the left side, but I could be wrong. There shouldn't be any reason that it should only check the first...
Looks like the task is set up properly, but try to avoid the Scheduler#schedule methods, use the Scheduler#runTask methods, yours would be...
Pretty sure you can't set amounts required on the left side of the inventory.
And what of the debug messages? I'd test it myself, I just don't have the infrastructure built that you do...
Might not be irrelevant, if you have the username being replaced in the pex commands but not in this, then it's definitely the code. My question...
Totally not proper OOP... but aside from that, the code looks sound. Have you tried putting in debug messages where the magic happens? The logic...
Separate names with a comma.