This fork has the internal API and the launcher, so they don't need to be grabbed from maven the way the original was designed. This fork also doesn't rely on the parabot website, which means no logging in or automatically pulling a list of public servers.
If you want to use this parabot, you will have to find the hooks for your own servers. Here's a tutorial https://parabot.atlassian.net/wiki/spaces/TUTORIALS/pages/2981896/How+to+hook+a+server.
Once you find the hooks and put them in an .xml, you can add the server to your parabot server folder at documents/parabot/servers/ by making a .json with the following format:
{
"name": "<server name>",
"author": "<doesn't matter>",
"version": "<doesn't matter>",
"client-class": "<whatever the classname for your Client interface was in your hooks, for example, 'Game'",
"locations": {
"provider": "/path/to/the/provider_jar.jar", (Provider.jar is provided in this repo)
"server": "/path/to/the/server_jar.jar",
"hooks": "<link to your hooks.xml>",
}
}
example: 2006scape.json
{
"name": "2006scape",
"author": "RedSparr0w",
"version": 1.0,
"client-class": "Game",
"locations":{
"provider": "C:\Users\crispycritter99\Documents\Parabot\Provider\Provider.jar",
"server": "C:\Users\crispycritter99\Documents\Parabot\serverjars\PkHonor.jar",
"hooks": "https://bdn.parabot.org/data/hooks/carmeuses/2006rebotted_hooks.xml"
}
}
I do not know Java. What I made has worked for me, but if it doesn't work for you, I probably won't be able to help you.
TODO: How to make parabot load in a local .xml file instead of requiring a url
Parabot V2.8.1
Build the project with the Maven POM file to have all required libraries installed.
Every stable build is automatically generated from the last commits of the master branch. This will take the version from both the pom.xml
and the version in .travis.yml
.
The nightly builds are automatically created from the last commits of the development branch. This will take the version from both the pom.xml
and the version in .travis.yml
, together with the build ID from travis.
If you've an issues regarding the bot itself, please report them here.
To add the client as a library, you'll first have to add our repository to your pom.xml
:
<repositories>
<repository>
<id>git-parabot</id>
<name>Parabot's Git based repo</name>
<url>https://maven.parabot.org/</url>
</repository>
</repositories>
Then you'll need to add the dependency:
<dependencies>
<dependency>
<groupId>org.parabot</groupId>
<artifactId>client</artifactId>
<version>2.8.1</version>
</dependency>
</dependencies>
Labels are created with GHLabel, whereas the yml is located in the .github directory