JTS3ServerMod plugin development with Eclipse
First, if not already done, download Eclipse IDE for Java Developers for your computer. Just install it by unpacking it. On first start Eclipse will ask you, where you want to save all project information (including source code). If you never used "Eclipse IDE for Java Developers" before, just select an empty directory here.
Most parts of this documentation are only screenshots for every step, with an tooltip text, if you hover your mouse pointer above the screenshot. So you will learn how to...
- create a new Java project and class with Eclipse.
- change the source target for the project to Java 1.5 (optional, but recommended).
- create a new user library to develop JTS3ServerMod plugins.
- implementing a simple and required Interface for bot development.
- add some simple lines for testing purposes.
- export this new test plugin into a JAR file, including setting the main class.
- setting the new plugin as active bot function at the JTS3ServerMod config file.
To get an overview about all JTS3ServerMod classes, you can use: JTS3ServerMod Plugin API Documentation
Hover your mouse pointer on a screenshot to get a tooltip text which describe the step you can see on the screenshot! Smartphone users just long press an screenshot.