Skip to content
gcflames5 edited this page Aug 24, 2014 · 12 revisions

Welcome to the ServerInterconnect wiki!

ServerInterconnect is a lightweight java library to handle various types of networking structures. Don't worry about the packet I/O and worry more about the more important details of your project!

How to include this library as a maven repository:

The following XML is for you to add to your pom.xml, it is needed for Maven to find the dependency.

<repositories>
    ...
    <!-- repository for NJay dependencies -->
    <repository>
        <id>njay-repo</id>
        <url>http://repo.njay.net/content/groups/public</url>
    </repository>
    ...
</repositories>

Now that Maven can get any depedency from Njay, you must add menu-framework do your dependencies list. Please check that the <version>1.0.9</version> is at the latest version of Njay to ensure you have all the latest bug fixes and features.

<dependencies>
    ...
    <!-- custom menu framework, available here: https://github.com/gcflames5/menu-framework -->
    <dependency>
        <groupId>net.njay</groupId>
        <artifactId>menu-framework</artifactId>
        <version>1.0.9</version>
    </dependency>
    ...
</dependencies>

If you're using an IDE, you may need to reimport your Maven dependencies in order for your IDE to detect the changes in your pom.xml.

You must call this method before any packet IO can begin:

ServerInterconnect.registerCorePackets();

Clone this wiki locally