- You can download the most recent version of the library here: http://dev.bukkit.org/server-mods/toolkit/files/
- Before you start using it however, it is highly recommended that you take a look at the API documentation, as well as the tutorial, first. You will find both at http://www.kierrow.net/projects/io-toolkit/.
2. Using the library in your projects
- I will demonstrate this here using the far-spread IDE 'Eclipse' (Indigo), but it should work in a similar fashion using other IDEs (or none).
- First, you should have your project ready, and it should look somewhat like this:
- Once you have that, you need the file. It should look similar to this:
- You extract it's contents into a folder, I called it "lib", that ONLY contains that source. [!]
- Afterwards, back in Eclipse, you right-click your project, in my case called "MyPlugin", and click Build Path -> Link Source...
- It should open up a dialog window like this one:
- In there, you type the path to your directory that has the extracted source in it, for me, again, it's "lib".
- In the second text field, you just type lib, that's what your additional source folder will be called.
- Now you only need to make sure that, when you export your project and make it into a JAR file, you export the library (the contents of the "lib" folder) with it, otherwise your plugin will not work properly.