Skip to content
On this page

Instalacja

Serwer Minecraft

  1. Pobierz pluginy:
  2. Umieść pliki CraftContainers.jar oraz FastAsyncWorldEdit.jar w katalogu plugins.

Zależność projektu

  1. Dodaj CraftContainers jako zależność w swoim projekcie.
  2. Ustaw zależność jako compileOnly lub provided.

Maven

xml
<repositories>
  <repository>
    <id>github</id>
    <url>https://maven.pkg.github.com/Szelagi/CraftContainers</url>
  </repository>
</repositories>

<dependencies>
    <dependency>
      <groupId>pl.szelagi</groupId>
      <artifactId>craftcontainers</artifactId>
        <!-- change to the latest version -->
      <version>2.3.3-SNAPSHOT</version>
      <scope>provided</scope>
    </dependency>
</dependencies>

Gradle

groovy
repositories {
    maven {
        name = "github"
        url = uri("https://maven.pkg.github.com/Szelagi/CraftContainers")
    }
}

dependencies {
    // change to the latest version
    compileOnly  'pl.szelagi:craftcontainers:2.3.0-SNAPSHOT'
}
  1. Dodaj wpis depend: [CraftContainers] do pliku resources/plugin.yml.