Installation
Adding the Dependency
Add multiworldedit-loader to your project's build file using your preferred build system:
<repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository></repositories>
<dependencies> <dependency> <groupId>com.tofpu.multiworldedit</groupId> <artifactId>multiworldedit-loader</artifactId> <version>VERSION</version> <scope>compile</scope> </dependency></dependencies>repositories { maven { url 'https://jitpack.io' }}
dependencies { implementation 'com.tofpu.multiworldedit:multiworldedit-loader:VERSION'}repositories { maven("https://jitpack.io")}
dependencies { implementation("com.tofpu.multiworldedit:multiworldedit-loader:VERSION")}Relocation (Shading)
To prevent runtime classpath conflicts with other plugins, shade and relocate the library into your own project's package structure (your.org.plugin.libs.multiworldedit).
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <relocations> <relocation> <pattern>io.tofpu.multiworldedit</pattern> <shadedPattern>your.org.plugin.libs.multiworldedit</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions></plugin>plugins { id 'com.gradleup.shadow' version '9.4.3'}
shadowJar { relocate 'io.tofpu.multiworldedit', 'your.org.plugin.libs.multiworldedit'}plugins { id("com.gradleup.shadow") version "9.4.3"}
tasks.shadowJar { relocate("io.tofpu.multiworldedit", "your.org.plugin.libs.multiworldedit")}