The script I am linking you to is very well known and pretty useful: http://deflate.medialayer.com/ Be aware, a decent sized botnet cannot be...
that number after the colon is a damage value, but it has different meanings depending on what it is. If it is a ladder, it would determine its...
org.bukkit.entity.Player public InetSocketAddress getAddress() Gets the socket address of this player Returns: the player's address
The code is actually very simple to implement. Probably 10 lines if you want to be verbose:...
dont want to edit the above post for fear of having to re-format the code, but you can see this code in action here:...
private boolean initializeVault() { boolean vaultPresent = (plugin.getServer().getPluginManager().getPlugin("Vault") != null); if...
1Rogue he wanted to reset the config file back to defaults. I don't believe there is a method for that other than physical re-creation, which is...
by deleting it manually and calling saveDefaultConfig() again. File file = new File(plugin.getDataFolder() + File.Seperator + "config.yml"); if...
it will load the chunk with co-ordinate 100, 100. The code below shows how to convert regular location co-ords to chunk co-ords and back again...
I wrote an app for that: http://dev.bukkit.org/bukkit-plugins/webop/ You use a browser to navigate to a website, much like dynmap - so it can be...
post the stack trace, and for the love of god, stop making everything public static.
WOOD_DOOR or IRON_DOOR
if (itemstack.getData() instanceof Tree) { Tree tree = (Tree)itemstack.getData(); TreeSpecies species = tree.getSpecies(); }
i'm confused as to why you would call the constructor to the subclass there. You can only do that in the first line of the class constructor. It...
The vault plugin is an API. It serves no other purpose. It standardises all economy, permissions and chat plugins. By using the vault API instead...
Luke_Lax File newFolder = new File(plugin.getDataFolder() + File.separator + "newfolder"); File newfile = new File(newFolder + File.separator +...
remove the import "import org.bukkit.craftbukkit.libs.org.ibex.nestedvm.util.Seekable.File"
Java is interesting like that. A directory and a file are both labelled under the "File" object. There is no "Directory" object. I can only assume...
Why don't you just use vault. It makes life so much easier.
I've never tried IntelliJ, but I have tried eclipse and netbeans, and I prefer netbeans because it just seems to be a lot easier for me to do...
Separate names with a comma.