WorldeditRegions — Territory Protection for WorldEdit in Minecraft

WorldeditRegions is a Minecraft addon that restricts WorldEdit to personal and clan territories, protecting builds from accidental destruction and griefing.

Download WorldeditRegions

Original name: WorldeditRegions

FileVersionLoaderSize
WorldeditRegions.jar10 КБDownload

WorldeditRegions: Restrict WorldEdit to Player Regions

WorldEdit is a legendary tool in the Minecraft ecosystem, granting server staff and trusted players the power to reshape entire landscapes in seconds. Walls rise, mountains fall, and biomes are replaced with a few simple commands. Yet this immense capability comes with a dark side. Without strict boundaries, a single misplaced brush or an oversized selection can obliterate hours of another player's work or lay waste to a carefully designed spawn area. WorldeditRegions: Restrict WorldEdit to Player Regions is the essential add-on that transforms this chaotic power into a disciplined, territory-aware building experience.

This add-on acts as a protective layer between the raw force of WorldEdit and the fragile creations of your players. It ensures that every edit, from a simple block replacement to a complex schematic paste, remains strictly within the boundaries of a region the player actually owns or is trusted in. For server administrators, this means handing out WorldEdit permissions no longer feels like handing out keys to the entire map.

Core Functionality: How the Territory Filter Works

The principle behind WorldeditRegions: Restrict WorldEdit to Player Regions is elegantly simple yet highly effective. When a player initiates a WorldEdit operation, the add-on immediately checks the selected area against the server's registered regions. If the cuboid or polygonal selection extends beyond the borders of a region the player is permitted to edit, the selection is automatically clipped to fit within the allowed space. This prevents accidental or malicious damage to neighboring builds.

This territorial filter applies to virtually the entire WorldEdit command suite. Whether you are using the standard //set command, painting with brushes, copying structures with //copy, or applying complex masks, the restriction remains active. Even the clipboard and schematic functions are locked down. A player cannot copy a structure from within their own region and paste it into someone else's territory, unless they have been granted the specific bypass permission wrg.copy.bypass. This ensures that the flow of building materials and designs is always controlled and accountable.

Compatibility with Major Region Protection Plugins

A key strength of this add-on is its deep integration with the most popular region protection plugins in the Minecraft server community. Instead of forcing you to choose one system, it unifies them under a single, consistent WorldEdit restriction policy. The list of supported plugins is impressive and covers most server setups:

  • WorldGuard — The classic and most widely used territory protection plugin.
  • GriefPrevention — Provides automatic, claim-based land protection for survival servers.
  • Towny — Manages towns, nations, and their associated land claims.
  • Factions — Protects clan-owned territories and their assets.
  • Residence — Offers a flexible and highly configurable system of player residences.
  • PreciousStones — Uses special blocks to define protected areas.
  • Regios — Another robust tool for defining and managing distinct world regions.

This broad compatibility means that regardless of your server's core protection plugin, you can likely integrate WorldeditRegions without friction. The add-on acts as a universal translator, ensuring that WorldEdit respects the boundaries defined by whichever system you have in place.

Granular Permission System for Owners and Members

Managing who can edit where is handled through a dedicated permission structure that operates independently of WorldEdit's native permissions. This allows for fine-grained control over access. For instance, the permission wrg.worldguard grants a player editing rights within their own WorldGuard regions, while wrg.towny.member allows a player to build in the town where they hold citizenship. Similar owner/member permission pairs exist for GriefPrevention, Residence, PreciousStones, and all other supported region plugins.

Beyond the basic region-based access, the add-on provides a suite of supplementary permissions to refine the user experience:

  • wrg.notify — Sends a message to the player if they attempt to use WorldEdit without an active region.
  • wrg.notify.greeting and wrg.notify.farewell — Displays custom messages when a player enters or leaves a designated editing zone.
  • wrg.factions — Grants WorldEdit access on land owned by the player's faction.
  • wrg.bypass — Provides a complete override of all territorial restrictions, intended exclusively for server administrators.

It is crucial to remember that WorldeditRegions does not replace WorldEdit's own permission requirements. Players will still need the standard permissions like worldedit.wand or worldedit.region.set to execute commands. The add-on simply layers a territorial filter on top of these existing rights, acting as a final gatekeeper.

Self-Service Region Creation Commands

For servers that want to encourage player-driven land claims without exposing complex configuration files, the developer has included an optional self-service feature. This allows players to create and manage their own regions directly through WorldEdit selections, bypassing the need to interact with WorldGuard commands. This is particularly useful for survival servers with a focus on player autonomy.

The command set is intuitive and covers the essential lifecycle of a player-owned region:

  • /wrg create <player> — Creates a new region for a specified player based on their current selection.
  • /wrg createClaim — Claims a piece of free land for the player.
  • /wrg trust <player> — Adds a player as a resident with editing rights.
  • /wrg share <player> — Grants another player co-owner status.
  • /wrg untrust <player> — Removes a player from the trusted list.
  • /wrg remove — Deletes the player's own region.
  • /wrg <flag> <value> — Sets a specific WorldGuard flag on the player's own territory.

To prevent server clutter, the configuration option max-region-count-per-player allows you to set a hard limit on how many regions a single player can create. This discourages the hoarding of tiny micro-claims and keeps the world map organized and performant.

Configuration, Performance, and Technical Details

For optimal performance, the developer recommends using the add-on in conjunction with AsyncWorldedit, which offloads processing to asynchronous threads. However, it is explicitly advised to avoid using SafeEdit, as it is incompatible and will cause errors. Additionally, setting a reasonable limit for block changes in WorldEdit's main configuration via limits.max-blocks-changed is a wise precaution to prevent server lag from overly massive operations.

Regarding supported versions, WorldeditRegions is designed for server implementations that use the Bukkit/Spigot/Paper API. While the specific Minecraft version support can vary with updates, the add-on is generally maintained to work with the current stable releases of these server platforms. Always check the official project page for the latest version compatibility notes before installation. The installation process itself is straightforward: drop the compiled JAR file into your server's plugins folder and restart the server. For a more streamlined experience, some launchers offer one-click installation, which simplifies the process of getting the add-on and its dependencies ready. If you are looking to download WorldeditRegions: Restrict WorldEdit to Player Regions, ensure you are fetching it from a reputable source to avoid corrupted files.

Known Limitations and Future Outlook

While the add-on is robust, it has a couple of inherent limitations. It does not handle overlapping regions gracefully, and while cuboid selections work flawlessly, complex polygonal regions may be clipped imperfectly. The developer has acknowledged these issues and has plans to introduce multi-chunk masks for Factions and improved global mask handling. There is also work on a worldedit-region flag for WorldGuard Custom Flags, which would allow for even more precise access control.

To further enhance the safety and management of your server, it is recommended to pair WorldeditRegions with CoreProtect for detailed block-change logging and rollback capabilities. Adding boosCooldowns can also help manage command spam. Together, these tools create a comprehensive ecosystem for secure and responsible building.

Conclusion

WorldeditRegions effectively turns a potentially destructive tool into a civilized and controlled asset for any Minecraft server. It eliminates the fear of a new player with WorldEdit permissions accidentally demolishing a castle or a griefer intentionally wrecking a spawn. With its flexible permission system, support for seven major region plugins, and built-in commands for self-claiming, this add-on is an indispensable utility for any public or community-focused server. By setting limits, distributing permissions thoughtfully, and integrating this tool, you can ensure that Minecraft remains a space for creativity and collaboration, not a battlefield against griefers. The question of how to install is simple, but the peace of mind it provides is invaluable for any serious WorldeditRegions: Restrict WorldEdit to Player Regions for Minecraft server.