Getting started with the API
Repositories
Releases
Use this repository to work with the release version of the API (recommended)
- Maven
- Gradle
- Gradle Kotlin DSL
<repository>
<id>cloudnet-releases</id>
<url>https://repo.cloudnetservice.eu/repository/releases/</url>
</repository>
maven { url 'https://repo.cloudnetservice.eu/repository/releases/' }
maven("https://repo.cloudnetservice.eu/repository/releases/")
Snapshots
Use this repository to work with a snapshot version of the API (Only recommended for development!)
- Maven
- Gradle
- Gradle Kotlin DSL
<repository>
<id>cloudnet-snapshots</id>
<url>https://repo.cloudnetservice.eu/repository/snapshots/</url>
</repository>
maven { url 'https://repo.cloudnetservice.eu/repository/snapshots/' }
maven("https://repo.cloudnetservice.eu/repository/snapshots/")
Dependencies
You have to replace ${VERSION}
with the version which you want to use. (e.g. 3.3.0-RELEASE
or 3.3.0-SNAPSHOT
)
cloudnet-driver
This dependency includes the CloudNet-Driver API which can be used in plugins and modules.
- Maven
- Gradle
- Gradle Kotlin DSL
- SBT
- Ivy
- Grape
- Leiningen
- Buildr
<dependency>
<groupId>de.dytanic.cloudnet</groupId>
<artifactId>cloudnet-driver</artifactId>
<version>${VERSION}</version>
<scope>provided</scope>
</dependency>
implementation 'de.dytanic.cloudnet:cloudnet-driver:${VERSION}'
implementation("de.dytanic.cloudnet:cloudnet-driver:${VERSION}")
libraryDependencies += "de.dytanic.cloudnet" % "cloudnet-driver" % "${VERSION}"
<dependency org="de.dytanic.cloudnet" name="cloudnet-driver" rev="${VERSION}"/>
@Grapes(
@Grab(group='de.dytanic.cloudnet', module='cloudnet-driver', version='${VERSION}')
)
[de.dytanic.cloudnet/cloudnet-driver "${VERSION}"]
'de.dytanic.cloudnet:cloudnet-driver:jar:${VERSION}'
cloudnet-wrapper-jvm
This dependency includes the CloudNet-Wrapper API which can be used in plugins.
- Maven
- Gradle
- Gradle Kotlin DSL
- SBT
- Ivy
- Grape
- Leiningen
- Buildr
<dependency>
<groupId>de.dytanic.cloudnet</groupId>
<artifactId>cloudnet-wrapper-jvm</artifactId>
<version>${VERSION}</version>
<scope>provided</scope>
</dependency>
implementation 'de.dytanic.cloudnet:cloudnet-wrapper-jvm:${VERSION}'
implementation("de.dytanic.cloudnet:cloudnet-wrapper-jvm:${VERSION}")
libraryDependencies += "de.dytanic.cloudnet" % "cloudnet-wrapper-jvm" % "${VERSION}"
<dependency org="de.dytanic.cloudnet" name="cloudnet-wrapper-jvm" rev="${VERSION}"/>
@Grapes(
@Grab(group='de.dytanic.cloudnet', module='cloudnet-wrapper-jvm', version='${VERSION}')
)
[de.dytanic.cloudnet/cloudnet-wrapper-jvm "${VERSION}"]
'de.dytanic.cloudnet:cloudnet-wrapper-jvm:jar:${VERSION}'
cloudnet-bridge
This dependency includes the CloudNet-Bridge API which can be used in plugins and modules.
- Maven
- Gradle
- Gradle Kotlin DSL
- SBT
- Ivy
- Grape
- Leiningen
- Buildr
<dependency>
<groupId>de.dytanic.cloudnet</groupId>
<artifactId>cloudnet-bridge</artifactId>
<version>${VERSION}</version>
<scope>provided</scope>
</dependency>
implementation 'de.dytanic.cloudnet:cloudnet-bridge:${VERSION}'
implementation("de.dytanic.cloudnet:cloudnet-bridge:${VERSION}")
libraryDependencies += "de.dytanic.cloudnet" % "cloudnet-bridge" % "${VERSION}"
<dependency org="de.dytanic.cloudnet" name="cloudnet-bridge" rev="${VERSION}"/>
@Grapes(
@Grab(group='de.dytanic.cloudnet', module='cloudnet-bridge', version='${VERSION}')
)
[de.dytanic.cloudnet/cloudnet-bridge "${VERSION}"]
'de.dytanic.cloudnet:cloudnet-bridge:jar:${VERSION}'
cloudnet
This dependency includes the CloudNet-Application API which can be used in modules.
Warning
This dependency cannot be used in plugins!
- Maven
- Gradle
- Gradle Kotlin DSL
- SBT
- Ivy
- Grape
- Leiningen
- Buildr
<dependency>
<groupId>de.dytanic.cloudnet</groupId>
<artifactId>cloudnet</artifactId>
<version>${VERSION}</version>
<scope>provided</scope>
</dependency>
implementation 'de.dytanic.cloudnet:cloudnet:${VERSION}'
implementation("de.dytanic.cloudnet:cloudnet:${VERSION}")
libraryDependencies += "de.dytanic.cloudnet" % "cloudnet" % "${VERSION}"
<dependency org="de.dytanic.cloudnet" name="cloudnet" rev="${VERSION}"/>
@Grapes(
@Grab(group='de.dytanic.cloudnet', module='cloudnet', version='${VERSION}')
)
[de.dytanic.cloudnet/cloudnet "${VERSION}"]
'de.dytanic.cloudnet:cloudnet:jar:${VERSION}'
cloudnet-cloudperms
This dependency includes the CloudNet-CloudPerms API which can be used in plugins and modules.
- Maven
- Gradle
- Gradle Kotlin DSL
- SBT
- Ivy
- Grape
- Leiningen
- Buildr
<dependency>
<groupId>de.dytanic.cloudnet</groupId>
<artifactId>cloudnet-cloudperms</artifactId>
<version>${VERSION}</version>
<scope>provided</scope>
</dependency>
implementation 'de.dytanic.cloudnet:cloudnet-cloudperms:${VERSION}'
implementation("de.dytanic.cloudnet:cloudnet-cloudperms:${VERSION}")
libraryDependencies += "de.dytanic.cloudnet" % "cloudnet-cloudperms" % "${VERSION}"
<dependency org="de.dytanic.cloudnet" name="cloudnet-cloudperms" rev="${VERSION}"/>
@Grapes(
@Grab(group='de.dytanic.cloudnet', module='cloudnet-cloudperms', version='${VERSION}')
)
[de.dytanic.cloudnet/cloudnet-cloudperms "${VERSION}"]
'de.dytanic.cloudnet:cloudnet-cloudperms:jar:${VERSION}'
cloudnet-syncproxy
This dependency includes the CloudNet-SyncProxy API which can be used in proxy plugins and modules.
Tip
You can compile this dependency into your server plugin to be able to use it!
- Maven
- Gradle
- Gradle Kotlin DSL
- SBT
- Ivy
- Grape
- Leiningen
- Buildr
<dependency>
<groupId>de.dytanic.cloudnet</groupId>
<artifactId>cloudnet-syncproxy</artifactId>
<version>${VERSION}</version>
<scope>provided</scope>
</dependency>
implementation 'de.dytanic.cloudnet:cloudnet-syncproxy:${VERSION}'
implementation("de.dytanic.cloudnet:cloudnet-syncproxy:${VERSION}")
libraryDependencies += "de.dytanic.cloudnet" % "cloudnet-syncproxy" % "${VERSION}"
<dependency org="de.dytanic.cloudnet" name="cloudnet-syncproxy" rev="${VERSION}"/>
@Grapes(
@Grab(group='de.dytanic.cloudnet', module='cloudnet-syncproxy', version='${VERSION}')
)
[de.dytanic.cloudnet/cloudnet-syncproxy "${VERSION}"]
'de.dytanic.cloudnet:cloudnet-syncproxy:jar:${VERSION}'
cloudnet-signs
This dependency includes the CloudNet-Signs Module which can be used in plugins and modules.
- Maven
- Gradle
- Gradle Kotlin DSL
- SBT
- Ivy
- Grape
- Leiningen
- Buildr
<dependency>
<groupId>de.dytanic.cloudnet</groupId>
<artifactId>cloudnet-signs</artifactId>
<version>${VERSION}</version>
<scope>provided</scope>
</dependency>
implementation 'de.dytanic.cloudnet:cloudnet-signs:${VERSION}'
implementation("de.dytanic.cloudnet:cloudnet-signs:${VERSION}")
libraryDependencies += "de.dytanic.cloudnet" % "cloudnet-signs" % "${VERSION}"
<dependency org="de.dytanic.cloudnet" name="cloudnet-signs" rev="${VERSION}"/>
@Grapes(
@Grab(group='de.dytanic.cloudnet', module='cloudnet-signs', version='${VERSION}')
)
[de.dytanic.cloudnet/cloudnet-signs "${VERSION}"]
'de.dytanic.cloudnet:cloudnet-signs:jar:${VERSION}'
cloudnet-npcs
This dependency includes the CloudNet-NPC Module which can be used in plugins and modules.
- Maven
- Gradle
- Gradle Kotlin DSL
- SBT
- Ivy
- Grape
- Leiningen
- Buildr
<dependency>
<groupId>de.dytanic.cloudnet</groupId>
<artifactId>cloudnet-npcs</artifactId>
<version>${VERSION}</version>
<scope>provided</scope>
</dependency>
implementation 'de.dytanic.cloudnet:cloudnet-npcs:${VERSION}'
implementation("de.dytanic.cloudnet:cloudnet-npcs:${VERSION}")
libraryDependencies += "de.dytanic.cloudnet" % "cloudnet-npcs" % "${VERSION}"
<dependency org="de.dytanic.cloudnet" name="cloudnet-npcs" rev="${VERSION}"/>
@Grapes(
@Grab(group='de.dytanic.cloudnet', module='cloudnet-npcs', version='${VERSION}')
)
[de.dytanic.cloudnet/cloudnet-npcs "${VERSION}"]
'de.dytanic.cloudnet:cloudnet-npcs:jar:${VERSION}'