Skip to content

crispycritter99/Parabot_Local

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stories in Ready Build Status

8/21/2024:

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

Parabot V2.8.1

Links

Website

Download latest version

Compilation

Build the project with the Maven POM file to have all required libraries installed.

Automation

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.

Issues

If you've an issues regarding the bot itself, please report them here.

Maven

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

Labels are created with GHLabel, whereas the yml is located in the .github directory

About

A fork of parabot that works locally. Just download it, open it in an IDE, and run "landing"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.9%
  • Shell 0.1%