githubEdit

API documentation

Maven & Gradle Examples

circle-info

Gradle is the recommended when working with the PlotSquared API. Ensure the toolchainarrow-up-right points to Java 17 or higher.

circle-info

If you are looking for snapshots, add the repository of S01 OSS Sonatype (https://s01.oss.sonatype.org/) to the repositories' block.

Gradle - PlotSquared Core

If you need to access the Bukkit module of PlotSquared, copy the example below.

repositories {
    mavenCentral()
    maven("https://repo.papermc.io/repository/maven-public/")
}

dependencies {
    implementation(platform("com.intellectualsites.bom:bom-newest:1.55"))
    compileOnly("com.intellectualsites.plotsquared:plotsquared-core")
}

Gradle - PlotSquared Core and Bukkit

Maven - PlotSquared Core

Maven - PlotSquared Core and Bukkit

Useful classes for PlotSquared

Tutorials

circle-info

If you have made a tutorial, or an addon for PlotSquared, and want us to link it here, please create an issue. We'd really appreciate it!

Terminology

Plot area

A plot area is any area that PlotSquared will manage/handle. If this is an infinite plot world, the entire world is considered to be a plot area. If you use plot clusters, then only part of the world will be a plot area, and anything outside this area will not be handled by PlotSquared.

See: PlotAreaManager.javaarrow-up-right#getPlotAreaByString(...)

Clusters

Clusters can be created within existing plot areas, or they can be created in a previously non-plot world, which will in turn create it's own plot area.

See: PlotCluster.javaarrow-up-right See: PlotSquared.javaarrow-up-right

Road

A road is what separates each plot, and includes the wall around each plot. Attempting to get a plot at this location will return null.

See: Location.javaarrow-up-right#isPlotRoad(...)

Plot

A plot can be claimed or unclaimed. Getting a plot at a location where one isn't claimed will return a new unowned plot object.

See: PlotArea.javaarrow-up-right#getPlots(...)

Last updated