How to use WorldGuard regions with your plugin

WorldGuard protects areas of your world called regions. Plugins that work with regions need WorldGuard and WorldEdit installed, because WorldGuard depends on WorldEdit.

When does my plugin need WorldGuard?

Your plugin needs WorldGuard whenever your project report lists WorldGuard under "Plugins it needs" for protected regions or region flags. Because WorldGuard depends on WorldEdit, both WorldGuard and WorldEdit must be installed.

How do I install WorldGuard and WorldEdit?

  1. Download matching releases of WorldEdit and WorldGuard for your Paper version.
  2. Upload both JARs to your plugins/ folder.
  3. Restart the server and confirm both show in green in /plugins.

How do I create a region?

Equip the selection wand, mark opposite corners of the area, and define the region name.

//wand
/rg define <name>

How do I check a region's flags?

Inspect any defined region and its active flags from console or in game.

/rg info <name>

Claim, town, plot, skyblock and world plugins

When your report lists land-claim, town, plot, clan, skyblock or multi-world plugins, install the matching release in plugins/. Check a hook marked "Compiled against only" once on your own server after installing.

Region and world plugins
PluginOn our test server
LandsCompiled against only
GriefPreventionInstalled for the test
TownyCompiled against only
HuskClaimsCompiled against only
HuskTownsCompiled against only
PlotSquaredCompiled against only
GriefDefenderCompiled against only
ProtectionStonesInstalled for the test
SimpleClansCompiled against only
SuperiorSkyblock2Compiled against only
BentoBoxCompiled against only
IridiumSkyblockCompiled against only
Multiverse-CoreInstalled for the test
ChunkyInstalled for the test

Still stuck?

Ask us on Discord or email [email protected]. Tell us your Paper version and paste the console error.