Skip to content
A wrapper for the WorldGuard API that allows plugins to support both v6 and v7 APIs.
Branch: master
Clone or download
sgdc3 Merge pull request #14 from CodeMC/dependabot/maven/org.apache.maven.…
…plugins-maven-jar-plugin-3.1.2

Bump maven-jar-plugin from 3.1.1 to 3.1.2
Latest commit 02f8f2c Jun 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
implementation Fix wrapping of non-primitive flags May 31, 2019
library Push version to 1.1.6-SNAPSHOT May 28, 2019
.gitattributes Initial commit Aug 1, 2018
.gitignore Update .gitignore Aug 2, 2018
.travis.yml Update, add FAWE support Jan 13, 2019
LICENSE Initial commit Aug 1, 2018
README.md
pom.xml Merge pull request #14 from CodeMC/dependabot/maven/org.apache.maven.… Jun 23, 2019

README.md

WorldGuardWrapper

Build Status Maven Javadocs Discord

A wrapper for the WorldGuard API that allows plugins to support both v6 and v7 APIs.

Maven dependency

How to include WorldEditWrapper into your maven project:

    <repositories>
        <repository>
            <id>codemc-repo</id>
            <url>https://repo.codemc.org/repository/maven-public/</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.codemc.worldguardwrapper</groupId>
            <artifactId>worldguardwrapper</artifactId>
            <version>1.1.6-SNAPSHOT</version>
        </dependency>
    </dependencies>

Remember to include/relocate the library into your final jar, example:

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>3.2.1</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <relocations>
                        <relocation>
                            <pattern>org.codemc.worldguardwrapper</pattern>
                            <shadedPattern>YOUR.PLUGIN.PACKAGE.libs.worldguardwrapper</shadedPattern>
                        </relocation>
                    </relocations>
                </configuration>
            </plugin>
        </plugins>
    </build>
You can’t perform that action at this time.