My computer has 'died', I currently do not have the funds to purchase the parts needed, so I will be unable to keep this up-to-date until further...
Could also do (cause == DamageCause.VOID) or just use a switch... public String damageCauseToString(DamageCause cause) { switch (cause) {...
Link corrected, thank you for reporting it.
Change if(event.getBlock().getType() == Material.DIAMOND_ORE); to if(event.getBlock().getType() == Material.DIAMOND_ORE)
PlayerLoginEvent getAddress() was added in 1.2.5-R0.2 (Build #2147). Verify the server is using that version/build or higher.
Java here
Um... public boolean isEven(int number) { return number % 2 == 0; }
I'm not seeing where you explain the problem that you're experiencing. Also, you should close the I/O streams in a finally block on your try/catch.
Thanks for posting the full source, made it easier to see exactly what was occurring. The problem is all of your classes is extending your main class.
Hmm, strange problem you're having, the JavaPlugin class variable "configFile" isn't being initialized. How are you loading the plugin?
Are you decrementing warmup elsewhere?
the_merciless Yes, the Integer.toString is necessary in the "clean that up a bit" code, otherwise you'd get an error along the lines of operator +...
What was wrong with using the thread you already had about this? http://forums.bukkit.org/threads/77349/ The answer was specified in that thread...
Can clean that up a bit... private int warmup = 5; int stopper; public void startCountdown(final Player player) { Long timer =...
private int warmup = 5; int stopper; public void startCountdown(final Player player) { Long timer = (this.getConfig().getLong("Warmup...
System.out.println("Wait 30 Sekonds"); this.getServer().getScheduler().scheduleSyncDelayedTask(this, new Runnable() { public void run() {...
Set warmup to 5 and your "Warmup Time" config to 5.
Either create a StringBuilder, loop through the args and append them to the StringBuilder, and append a space in-between them or use Joiner.on('...
An IDE would not specify that error since that's a RuntimeException which occurs in Bukkit due to no default constructor in the main plugin class.
According to the OP, it is.
Separate names with a comma.