A wrapper for the WorldGuard API that allows plugins to support both v6 and v7 APIs.
Go to file
dependabot[bot] 3526220a41
Bump maven-compiler-plugin from 3.8.1 to 3.9.0
Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.8.1 to 3.9.0.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.8.1...maven-compiler-plugin-3.9.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-12 17:01:43 +00:00
.github Actually make it work... + Cleanup 2020-10-22 03:33:33 +02:00
api Implement IWrappedRegion.setPriority() 2020-10-21 21:27:00 +02:00
implementation Bump worldguard-bukkit from 7.0.4 to 7.0.6 2021-09-17 17:01:13 +00:00
library Actually make it work... + Cleanup 2020-10-22 03:33:33 +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 Fix Java16 build 2021-09-27 20:59:25 +02:00
LICENSE Initial commit 2018-08-02 01:04:23 +02:00
pom.xml Bump maven-compiler-plugin from 3.8.1 to 3.9.0 2022-01-12 17:01:43 +00:00
README.md Update README.md 2020-10-21 20:16:03 +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.2.0-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.4</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>