Instalacja
Serwer Minecraft
- Pobierz pluginy:
- Umieść pliki
CraftContainers.jar
orazFastAsyncWorldEdit.jar
w kataloguplugins
.
Zależność projektu
- Dodaj
CraftContainers
jako zależność w swoim projekcie. - 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'
}
- Dodaj wpis
depend: [CraftContainers]
do plikuresources/plugin.yml
.