LogoLogo
JavaDocsVersions
  • Introduction
  • Getting started
    • Dependencies
    • Your first server
  • Feature
    • Adventure
    • Player capabilities
    • Events
      • Implementation
      • Server list ping
    • Items
    • Entities
      • AI
    • Tags
    • Schedulers
    • Commands
    • Inventories
    • Player UUID
    • Player skin
    • Permissions
    • Advancements
    • Map rendering
      • GLFWMapRendering
    • Query system
    • Open to LAN
  • Thread Architecture
    • Thread safety in the JVM
    • Acquirable API
      • The inside
  • World
    • Instances
    • Chunk management
      • Anvil Loader
    • Blocks
    • Coordinates
    • Generation
    • Batch
  • Extension System
    • Extensions
Powered by GitBook
On this page
  • Repositories
  • Dependencies

Was this helpful?

Export as PDF
  1. Getting started

Dependencies

Describes how to add Minestom as a dependency in your project.

PreviousIntroductionNextYour first server

Last updated 1 year ago

Was this helpful?

Minestom needs Java 21 or newer in order to run. If you are using Gradle, you must use version 8.5 or higher.

Adding Microtus to your Java project is really simple, you only need to add a few repositories:

Repositories

repositories {
    mavenCentral()
}
repositories {
    mavenCentral()
}

Dependencies

dependencies {
    implementation platform('net.onelitefeather.microtus:bom:version')
    implementation 'net.onelitefeather.microtus:Microtus' // Main Components

    testImplementation 'net.onelitefeather.microtus.testing:testing' // Testing Components
}
dependencies {
    implementation(platform("net.onelitefeather.microtus:bom:VERSION")
    implementation("net.onelitefeather.microtus:Microtus") // Main components

    testImplementation("net.onelitefeather.microtus.testing:testing") // Test components
}
<project ...>
    <modelVersion>4.0.0</modelVersion>
    <groupId>your.project</groupId>
    <artifactId>microtus-project</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <packaging>pom</packaging>
    <name>Microtus </name>
    <parent>
        <groupId>net.onelitefeather.microtus</groupId>
        <artifactId>bom</artifactId>
        <version>VERSION</version>
    </parent>
    
    <dependencies>
        <!-- ... -->
        <dependency>
            <groupId>net.onelitefeather.microtus</groupId>
            <artifactId>Microtus</artifactId>
        </dependency>
        <dependency>
            <groupId>net.onelitefeather.microtus.testing</groupId>
            <artifactId>testing</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>net.onelitefeather.microtus</groupId>
            <artifactId>bom</artifactId>
            <version>VERSION</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
<dependencies>
    <!-- ... -->
    <dependency>
        <groupId>net.onelitefeather.microtus</groupId>
        <artifactId>Microtus</artifactId>
    </dependency>
    <dependency>
        <groupId>net.onelitefeather.microtus.testing</groupId>
        <artifactId>testing</artifactId>
        <scope>test</scope>
    </dependency>
</dependencies>

A list of versions can be found at .

https://central.sonatype.com/search?q=microtus