Getting started
To use Adventure in your project, you will need to add the following dependency (and repository if using Gradle):
Declaring the dependency:
repositories { mavenCentral()}
dependencies { implementation("net.kyori:adventure-api:4.25.0")}
repositories { mavenCentral()}
dependencies { implementation 'net.kyori:adventure-api:4.25.0'}
<dependency> <groupId>net.kyori</groupId> <artifactId>adventure-api</artifactId> <version>4.25.0</version></dependency>
Need development/snapshot builds? Using Snapshot Builds
Some platforms already use Adventure natively. In this case, you will not need to add Adventure as a dependency. To view the list of platforms that include Adventure, see Native Support.
To use Adventure with other platforms, you may wish to look at the platform-specific adapters. A list of platforms with supported adapters can be found at Platforms.
Using snapshot builds
Section titled “Using snapshot builds”To use snapshot builds, you will need to add the following repository:
repositories { maven(url = "https://central.sonatype.com/repository/maven-snapshots/") { name = "central-snapshots" }}
repositories { maven { name = 'central-snapshots' url = 'https://central.sonatype.com/repository/maven-snapshots/' }}
<repositories> <repository> <id>central-snapshots</id> <url>https://central.sonatype.com/repository/maven-snapshots/</url> </repository></repositories>