Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.MinecraftPortCentral:GriefPrevention:'
}
dependencies {
implementation("com.github.MinecraftPortCentral:GriefPrevention:")
}
<dependency>
<groupId>com.github.MinecraftPortCentral</groupId>
<artifactId>GriefPrevention</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.MinecraftPortCentral" % "GriefPrevention" % ""
:dependencies [[com.github.MinecraftPortCentral/GriefPrevention ""]]
Automatically prevent all types of grief!
Download
Source
Wiki
Original Plugin
Original Video
Discord
Support Me
Note: If using SpongeForge, it will also require Forge.
For more information on how to install, see Getting Started
git clone --recursive https://github.com/MinecraftPortCentral/GriefPrevention.git
In order to build GriefPrevention you simply need to run the gradlew
command. On Windows systems you should run gradlew
instead of ./gradlew
to invoke the Gradle wrapper. You can find the compiled JAR files in ./build/libs
but in most cases you'll only need griefprevention-x.x.x-x.x.x.x.jar
.
The following steps will update your clone with the official repo.
git pull
If you want to contribute to the project, you can one of two things :