Skip to content
Crome696 edited this page Nov 3, 2022 · 3 revisions

Summary

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.

📦 Installation

Download

Download the source code and use it as you want.

Fork

Create a Fork of the repository through git and add your own custom implementation.

Maven

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

Template

There is a simple example of using API here. It allows a very fast usage of script.

Source

Clone this wiki locally