if(teleported.getLocation().getBlockX() >= (locationX-2) && teleported.getLocation().getBlockX()<= (locationX+2)) { //code to be run }
Did you add deathForDiseases to DarkRangerConfig? i.e. ; public class DarkRangerConfig extends Config { public DarkRangerConfig(Plugin...
Use args[0].equalsIgnoreCase("reload").
Assuming you added the variable to the config;if(config.Death-For-Diseases) { target.setHealth(0); } Btw, when naming variables you really...
Bukkit.getServer().getOnlinePlayers();
1. There's a button in the WYSIWYG Editor that looks like a chain, that's the link button. Type some text, highlight it, then hit that button. A...
Sorry, not my area. I've only dealt with bukkit plugins so far. You can ask someone else here, or you might want to check out the Minecraft Forum...
So apparently the problem is that the command 'spiderapocalypse' isn't defined correctly in your plugin.yml.
World.getHighestBlockYAt()
Ok, first off all you should use the [ SYNTAX=JAVA ] tag when posting code when line numbers are important. I really need to know exactly which...
Ok, so this isn't really a version error but a NullPointerException. For future reference you might want to read How to read stack-traces. Post...
What's saying it's not up to date? SuperEasyConfig doesn't have anything to do with any version tracking, so it's probably something else you did....
Change config = new DarkRangerConfig(); to config = new DarkRangerConfig(this);. You need to pass your plugin to your config, so it knows which...
If you're going to look into using packets I'd recommend using ProtocolLib. Best packet lib I can find as of this post, and Comphenix has been...
Yea, you can name the class anything, as long as it extends Config.
Separate names with a comma.