WGTrampleFlag: Stop Crop Trampling on Your Minecraft Server
Running a Minecraft server often means balancing player freedom with the need to protect builds. One of the most frustrating moments for any farmer or landscaper is watching a player—or a wild mob—jump across your carefully planted wheat, carrots, or potatoes and instantly destroy them. The default game mechanics allow any entity to trample farmland by simply jumping or falling on it, turning tilled soil back into dirt. While you could disable crop trampling globally with a game rule, that affects every corner of your world. What if you only want to protect certain areas, like a community farm or a spawn garden? That is exactly where WGTrampleFlag comes in.
What is WGTrampleFlag?
WGTrampleFlag is a lightweight plugin that adds a custom region flag to WorldGuard. Instead of toggling crop trampling for the entire server, you can now enable or disable it on a per-region basis. The flag is called allow-trample, and it accepts two simple values: allow and deny. When set to deny, any player or mob inside that region will be unable to break farmland by jumping or walking over it. Server operators, however, can bypass this restriction, so admins can still move through protected farms without accidentally ruining them while retaining full control.
This plugin solves a very specific pain point. Before WGTrampleFlag, you had to either disable trampling globally—which could make survival feel less authentic—or rely on complex command block setups. Now you can keep trampling active in the wilderness, where danger is expected, and lock down your carefully built crop fields with a single region definition.
How Crop Trampling Works in Minecraft
In vanilla Minecraft, any entity with a hitbox that collides with a farmland block while falling or jumping will cause that block to revert to dirt. This includes players, all passive and hostile mobs, and even thrown items under certain conditions. The mechanic is intended to add a layer of realism and challenge, but on multiplayer servers it often leads to griefing, accidents, and endless replanting. Server administrators have long used WorldGuard to protect regions from block breaking and placing, but until now there was no dedicated flag for trampling.
Installing WGTrampleFlag
Getting started with WGTrampleFlag is straightforward. First, ensure your server runs WorldGuard version 6.1.3 or higher, as the plugin depends on its flag system. Download the WGTrampleFlag JAR file and place it into your server's plugins folder. Restart the server, and the new flag will be registered automatically. There is no configuration file to edit; everything works through standard WorldGuard commands.
If you prefer a more streamlined approach to managing plugins, many server owners find it helpful to use a dedicated launcher that handles mod and plugin installations. For instance, the foxygame.net launcher provides a convenient, flexible, and modern way to browse and install Minecraft mods directly from its menu, making it easy to add tools like WGTrampleFlag without digging through file directories.
Using the allow-trample Flag
Once the plugin is loaded, you can apply the flag to any existing or new WorldGuard region. The basic command syntax looks like this:
- /region flag
allow-trample deny — prevents all trampling inside the region. - /region flag
allow-trample allow — restores default trampling behavior.
For example, if you have a region called community_farm, you would type /region flag community_farm allow-trample deny. Immediately, any player who jumps on the farmland will see the soil remain intact. Mobs like rabbits and chickens will also stop destroying your crops. Because operators bypass the flag, an admin can still walk through the field without triggering trample protection, which is handy for inspections or building adjustments.
You can combine this flag with other WorldGuard protections. For instance, you might allow players to harvest crops (by breaking them) but deny trampling, so the farm stays productive even with heavy foot traffic. The flag integrates seamlessly with the existing priority and inheritance system of WorldGuard, so parent regions can pass down the trample setting to child regions unless overridden.
FAQ and Troubleshooting
Here are answers to some common questions that arise when using WGTrampleFlag:
- Does this flag prevent mobs from trampling crops too? Yes, any entity that can cause trampling is affected, including all passive and hostile mobs.
- Can I use this with WorldGuard 7 or newer? The plugin was originally built for WorldGuard 6.1.3 and higher, but it often works on later versions as long as the flag API remains compatible. Test on a staging server first.
- How do I get help if something goes wrong? The developer recommends opening a support ticket rather than posting errors in public comments. Provide as much detail as possible about the error and your server setup.
- Will OPs always bypass the flag? Yes, operators are exempt from the trample denial. This is by design so admins can still interact with protected farms.
Conclusion
WGTrampleFlag fills a small but important gap in the WorldGuard ecosystem. It gives server administrators granular control over an often-overlooked griefing vector without forcing global rule changes. By adding a simple allow-trample flag, you can protect community gardens, spawn areas, and decorative farmland while leaving the rest of the world wild and dangerous. The plugin is lightweight, requires no configuration, and works immediately after installation. Whether you run a small survival server with friends or a large public network, this tool helps keep your crops safe and your players happy. If you appreciate the convenience, consider supporting the developer through donations—every bit helps maintain these valuable community resources.