A wrapper for the WorldGuard API that allows plugins to support both v6 and v7 APIs.
Go to file
2020-05-10 16:03:37 +02:00
api Added function to get all set flags of a region 2019-05-31 13:27:36 +02:00
implementation Fix wrapping of non-primitive flags 2019-05-31 15:50:47 +02:00
library Push version to 1.1.6-SNAPSHOT 2019-05-28 20:46:54 +02:00
.gitattributes Initial commit 2018-08-02 01:04:23 +02:00
.gitignore Update .gitignore 2018-08-02 13:24:24 +02:00
.travis.yml Update, add FAWE support 2019-01-13 12:33:47 +01:00
LICENSE Initial commit 2018-08-02 01:04:23 +02:00
pom.xml Bump maven-shade-plugin from 3.2.2 to 3.2.3 2020-04-14 05:25:58 +00:00
README.md fix broken Javadoc URL 2020-05-10 15:32:44 +02:00

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>