MinecraftPortCentral/GriefPrevention


GriefDefender has replaced GP. See github link for latest information. https://github.com/bloodmc/GriefDefender

Download


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 ""]]
        
        

Readme


Automatically prevent all types of grief!

GriefPrevention is a Minecraft plugin designed to protect servers from 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

Prerequisites

Cloning

git clone --recursive https://github.com/MinecraftPortCentral/GriefPrevention.git

Building

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.

Updating your Clone

The following steps will update your clone with the official repo.

  1. git pull

Contributing

If you want to contribute to the project, you can one of two things :

  • Create a PR on Github.
  • Contact me on Discord to discuss your ideas.