fireblast709 Thanks, but that doesn't look like the same Logger class. How do you set a filter in this case?
I have this in my onEnable(): getServer().getLogger().setFilter(new Filter() { @Override public boolean isLoggable(LogRecord record) {...
This question is too vague. What are the aspects of a clan? Does it just group players together like the vanilla team management?
Are you going to be referencing test outside of that method?
You'd probably get more help in the WorldGuard forums, but from my understanding the addowner command only accepts the region ID and a list of owners.
In this case, this.getConfig() is the same as getConfig(), and it is better to use == rather than .equals() for null checks. :/ bump EDIT by...
Thanks for the help. The problem with both of the options is that it doesn't help the fact that getConfig() returns a null object, so I can't...
So I've read most of the Configuration API Reference and tried searching for this problem, and even looking at other plugins' code to see what...
Hi there, thank you very much for this guide. I've been encountering a time out error which I've solved by opening a connection every time I query...
You need to initialize Player targetPlayer after you check that args.length > 0
Thank you!
The variable 'args' consists of everything AFTER the command. If your command is only /msg, args has a length of 0.
I believe you are looking for the VehicleEntityCollisionEvent
What is the best practice for connecting to a MySQL database? Do you keep the Connection variable stored as a field, initialized once in...
There's no need to be a dick. I'll just remove the code because it's irrelevant to the question. Anyway, I've figured out the solution. The...
I was just posting pseudocode... that obviously isn't valid Java. This is an API question than a coding question.
Anybody have any ideas?
The problem is here, you're trying to get an index of an empty array Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at...
I'm creating a simple recipe lookup plugin to print out the recipe in-game, and that requires the exact layout for ShapedRecipe. How can I get the...
I'm trying to repair the armor in the inventory by removing it and then adding new armor back (which has worked for the tools), but for some...
Separate names with a comma.