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?
- Download matching releases of WorldEdit and WorldGuard for your Paper version.
- Upload both JARs to your
plugins/folder. - 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.
| Plugin | On our test server |
|---|---|
| Lands | Compiled against only |
| GriefPrevention | Installed for the test |
| Towny | Compiled against only |
| HuskClaims | Compiled against only |
| HuskTowns | Compiled against only |
| PlotSquared | Compiled against only |
| GriefDefender | Compiled against only |
| ProtectionStones | Installed for the test |
| SimpleClans | Compiled against only |
| SuperiorSkyblock2 | Compiled against only |
| BentoBox | Compiled against only |
| IridiumSkyblock | Compiled against only |
| Multiverse-Core | Installed for the test |
| Chunky | Installed for the test |
Still stuck?
Ask us on Discord or email [email protected]. Tell us your Paper version and paste the console error.