-
Notifications
You must be signed in to change notification settings - Fork 4
Project setup
Leonhard edited this page Jul 4, 2022
·
10 revisions
You need to add some dependencies in order to work with Cirrus. Please ensure you are using the latest version of the dependencies. This article may not contain up-to-date version numbers of dependencies.
Replace VERSION
with the latest Cirrus version.
<repository>
<id>simplixsoft-public</id>
<url>https://repo.simplix.dev/repository/simplixsoft-public/</url>
</repository>
For Spigot also add:
<repository>
<id>exceptionflug</id>
<url>https://mvn.exceptionflug.de/repository/exceptionflug-public/</url>
</repository>
<dependency>
<groupId>dev.simplix.cirrus</groupId>
<artifactId>cirrus-spigot</artifactId>
<version>VERSION</version>
´</dependency>
<dependency>
<groupId>dev.simplix</groupId>
<artifactId>protocolize-api</artifactId>
<version>2.1.0</version>
</dependency>
import dev.simplix.cirrus.spigot.CirrusSpigot;
import org.bukkit.plugin.java.JavaPlugin;
public class ExamplePlugin extends JavaPlugin {
public void onEnable() {
CirrusSpigot.init(this);
}
}
A full Spigot-Cirrus setup can be found here.
<dependency>
<groupId>dev.simplix.cirrus</groupId>
<artifactId>cirrus-bungeecord</artifactId>
<version>VERSION</version>
</dependency>
import dev.simplix.cirrus.bungeecord.CirrusBungeeCord;
import net.md_5.bungee.api.plugin.Plugin;
public class ExamplePlugin extends Plugin {
@Override
public void onEnable() {
CirrusBungeeCord.init(this);
}
}
Full BungeeCord-Cirrus setup here.
<dependency>
<groupId>dev.simplix.cirrus</groupId>
<artifactId>cirrus-velocity</artifactId>
<version>VERSION</version>
</dependency>