-
Notifications
You must be signed in to change notification settings - Fork 0
The API Package is a very simple implementation of stealth external API. As we speak, it implements 389 of 404 API methods and ~ 30 custom methods. In order to test the communication with stealth, the project includes 418 java unit tests. In order to run the unit tests, it's recommend to use a separated stealth client with access to a local ServUO server. The tests are unable to catch your local settings and just test communication by sending and exchanging packets. This might result in loss of items or mobiles ingame.
Download the source code and use it as you want.
Create a Fork of the repository through git and add your own custom implementation.
Create a new maven project on your own.
<repositories>
<repository>
<id>github</id>
<name>GitHub ScriptSDK Java Api</name>
<url>https://maven.pkg.github.com/stealth-scriptsdk/java-api</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
</repositories>
Add this information to your pom.xml file, and don't forget to add your local personal access token.
Install package through maven written by this instruction
There is a simple example of using API here. It allows a very fast usage of script.