You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
CloudNet is using theeu.cloudnetservice.cloudnet group id and is available through maven central. The most importantsubmodules are:
artifact id
usage
driver
When developing plugins or modules, available on all platforms.
node
When developing a module which needs more specific access to node functions than the driver can offer.
wrapper-jvm
When developing plugins which need some more specific access to the service api than the driver can offer.
bridge
When trying to catch player events and/or interacting with players regardless where they are on the network.
bom
When you want to import all dependencies with the same version based on the imported bill of materials.
To add the CloudNet dependency using gradle (replace%version% with the latest version shown in the badge above):
repositories {// ensure maven central is added mavenCentral()}dependencies {// optional - you can also specify versions directly implementation platform('eu.cloudnetservice.cloudnet:bom:%version%') compileOnly'eu.cloudnetservice.cloudnet:driver'// without bom compileOnly'eu.cloudnetservice.cloudnet:driver:%version%'}
To add the CloudNet dependency using maven (replace%version% with the latest version shown in the badge above):
<!-- optional - you can also specify versions directly--><dependencyManagement> <dependencies> <dependency> <groupId>eu.cloudnetservice.cloudnet</groupId> <artifactId>bom</artifactId> <version>%version%</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies></dependencyManagement><dependencies> <dependency> <groupId>eu.cloudnetservice.cloudnet</groupId> <artifactId>driver</artifactId> <version>%version%</version><!-- only needed when bom is not used--> <scope>provided</scope> </dependency></dependencies>
Snapshots
Snapshots for CloudNet are build off thenightly branch and are available from the central portal snapshot repository:https://central.sonatype.com/repository/maven-snapshots/. You can declare a dependency on CloudNet as shown abovejust append the-SNAPSHOT suffix to the version.
To compile CloudNet you need JDK 24 and an internet connection. Then clone this repository and run./gradlew insidethe cloned project.
Warnings
Api methods which are marked with@ApiStatus.Internal can change or get removed without a warning, even betweenpatch releases. We recommend to not use these methods and try to find an alternative for them.
Api methods which are marked with@ApiStatus.Experimental can change or get removed without a warning, even betweenpatch releases. While the api method is still in an experimental state, that does not mean that the implementation isconsidered experimental.
Api methods which are marked with@Deprecated should get replaced as soon as possible (the javadoc of the methodwill contain and explanation why the method is deprecated and how to replace the usage). This annotation is in mostcases paired with@ApiStatus.ScheduledForRemoval indicating the minor version when the method gets removed.
Serialized forms of all classes are subject to change. Do not persist classes and assume that a future version willstill be compatible with the stored version.
Dependencies which are not exposed directly might be upgraded to the next major release without a warning. Be awareof that when including dependencies and relying on CloudNet shipping them bundled.
About
A modern application that can dynamically and easily deliver Minecraft oriented software