- Make new commands with almost no code
- 1.13 vanilla-like tab completion and parser errors
- Easily expandable
- No unnecessary code required
Add this to your build.sbt
:
resolvers += Resolver.jcenterRepo
libraryDependencies += "me.maxih" %% "aquaticcommands" % "0.3"
resolvers += Resolver.sonatypeRepo("public")
resolvers += "spigot-repo" at "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"
libraryDependencies += "org.spigotmc" % "spigot-api" % "1.13.1-R0.1-SNAPSHOT" % "provided"
Add this to your pom.xml
:
<repositories>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.13-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.maxih</groupId>
<artifactId>aquaticcommands_2.12</artifactId>
<version>0.3</version>
</dependency>
</dependencies>
Choose the jar file without -spigot
at the latest release.
You have to add the AquaticCommands plugin to your plugins folder, which includes the library and Scala runtime.
The plugin can be found here. Make sure you use the xxx-spigot-X.X.jar
file.