StarGate Commons

Guide thought StarGate commons modules.

StarGate Modules

StarGate project is based and uses Maven for building and compiling. Everything is compiled using Java 8 and is compatible with newer Java versions.
Project is split to several modules by its usage:

Repository Server

StarGate is published on Waterdog repository server. You can add it to your repositories list like this:

<repository>
  <id>waterdog-repo</id>
  <url>https://repo.waterdog.dev/artifactory/main</url>
</repository>

Dependencies

Include StarGate dependency to your maven project like this:

Common:

<dependency>
  <groupId>alemiz.stargate</groupId>
  <artifactId>common</artifactId>
  <version>2.1-SNAPSHOT</version>
  <scope>provided</scope>
</dependency>

Server:

<dependency>
  <groupId>alemiz.stargate</groupId>
  <artifactId>server</artifactId>
  <version>2.1-SNAPSHOT</version>
  <scope>provided</scope>
</dependency>

WaterdogPE plugin:

<dependency>
  <groupId>alemiz.stargate</groupId>
  <artifactId>stargate-waterdogpe</artifactId>
  <version>2.1-SNAPSHOT</version>
  <scope>provided</scope>
</dependency>

Bungeecord (Waterdog) plugin:

<dependency>
  <groupId>alemiz.stargate</groupId>
  <artifactId>stargate-bungeecord</artifactId>
  <version>2.1-SNAPSHOT</version>
  <scope>provided</scope>
</dependency>