Is there an object to help with chunk generation? Say I wanted a command that generates chunks, based on x and y inputs. Would this be possible...
You mean like a Player that isn't actually logged in? There's an OfflinePlayer class for that.
I have this management plugin that I made. However, I just noticed a serious problem. First thing's first, the code. package...
Yea that'll about do it for you :p
EDIT: Nevermind. Did you declare your pdffile before onEnable? you should declare 'public PluginDescriptionFile pdffile;' at the top, and then in...
What's line 33 in your main class say? Most likely it's a command that you forgot to add to plugin.yml, but show me that line anyway.
Integer.parseInt(String). You should also throw this in a try/catch statement in case some idiot(and you know there will be idiots) who will try...
As the title implies, I'm having trouble reading from a file. I think it may have something to do with how the file is laid out, but I cannot be...
I only know of the ability to use strings in switch statements now, but I'm sure there are other minor improvements. Honestly everyone needs JDK7.
I've been using 7 since it came out, and it doesn't seem to cause any problems. JDK updates don't usually break previous things. You honestly...
You know, in JDK7 switch statements now accept strings. So that's always an option.
Highest means it is ran last, which means it's code is ran over the others. Low priority means it is ran first, and thus can be overridden by...
I have several instances of my code where I need to disable block breaking, however when I use event.setCancelled(true);, players are still able...
I'm using Windows, but the problem is it doesn't write at all. I would just prefer txt files. I don't see why it's a problem that I want to use...
It's not the config files. I just need to figure out why this isn't writing to files.
Because it's derpy. The YML config system frequently derps and deletes everything in the file. Txt files don't do that. I appreciate the...
I've been working for days trying to figure this out. No matter what I do, no matter what code I write, it simply won't write to the files. I've...
You should probably watch some Java videos. 99% of java videos show you how to do this in the first video.
It's the same code in the onBlockPlace event, and that event works, so I assume it is resolving to true(if the boolean == true).
The entire main class? It's about 950 lines.
Separate names with a comma.