Not sure what you're getting at here. Simple, dumb, readable, and fast code is almost always better than smart and clever code. His initial...
The line with the error, right before the semi-colon. Count the parentheses on that line, you'll see.
You need another close parenthesis at the end of that line.
Are you sure this is really the way you want to go about this? There's probably a better way that doesn't involve extending an nms class. Maybe if...
You can't do b instanceof Sign, because a Block is never a Sign. Just check the Material instead.
You don't have to look for nearby items, you can use event.getItem().remove(). But otherwise yeah, that seems about right.
The boss health bar will only show up if there is a boss nearby. So yes, you would need to spawn one. You could just spawn it under the map.
I'd guess there's a problem in your plugin.yml somewhere. A spacing issue perhaps?
It's bad practice. If the argument that it's broken doesn't convince you, then perhaps that will? When programming in Java (or any OOP...
The replace() method works fine. Using replaceAll() will do a regex replace, which can be slower and is unnecessary when you just need a simple...
You should only use replaceAll() if you're using regular expressions. Otherwise just use replace().
That's talking about middle-click in the inventory. I don't think you can check a middle-click on a block, because that behavior is handled...
The NOW() function in MySQL gives the full datetime. You just have to store that in a datetime field.
Well, if the "time" field is just a time type, then this is failing because it has no date, but the value returned from cal.getTime() does have a...
Use ChatColor.stripColors
Is "time" a full datetime value or just a time value?
What exactly are you trying to accomplish here? I'm failing to see why you need a packet listener for this at all. If you're trying to detect when...
Well, now your new class's listener isn't registered. However, I suspect the problem may be this line: int plus = KS.get(killer)+1; What...
You're trying to call getConfig() before the plugin is enabled.
It won't move on, because it returns from the function. My guess is a.spawn is null.
Separate names with a comma.