Stop cutting down grass by accident while fighting.
SwingThroughGrass prevents weapon attacks from accidentally breaking grass, flowers, bushes, crops, and other vegetation in Hytale. Tools and empty-hand breaking remain unaffected by default.
Features
Vegetation Protection: Protect grass, bushes, flowers, crops, saplings, and loose ground stones from accidental weapon damage.
Optional Leaf Protection: Enable or disable protection for tree leaves.
Sneak to Break: Hold sneak to bypass protection when the held weapon can normally break the block.
Normal Tool Behavior: Tools continue to work normally for clearing vegetation and harvesting.
Modded Weapon Support: Detect weapons through weapon definitions, the Items.Weapons category, or the Weapon_ ID prefix.
Personal Settings: Customize protection settings using /stg config.
Server Control: Administrators can disable personal customization or lock individual settings.
Custom Blocks: Add specific block IDs to the protection list or exclude them.
Persistent Settings: Player preferences are saved automatically.
Default Behavior
Protection is enabled by default for vegetation, crops, saplings, and loose ground stones. Tree leaf protection is disabled by default.
Holding sneak allows intentional breaking, provided the game normally allows the held weapon to break that block.
Configuration
Players can open their personal settings menu using /stg config.
Server administrators can control protection behavior, restrict player customization, and manage custom block IDs.
Server configuration file:Seborn_SwingThroughGrass/SwingThroughGrass.json
Bushes and Rubble: These settings are especially useful for modded blocks that support weapon breaking. When "Protect only with weapons" is disabled, STG protection also applies to tools and empty-hand breaking.
Commands
/stg- Show help and current settings./stg config- Open the personal settings menu./stg toggle- Enable or disable personal protection./stg status- Display protection settings and SimpleClaims status./stg debug- Toggle diagnostic messages for block interactions./stg reload- Reload the server configuration (admin only).
Personal controls respect restrictions set by the server administrator.
SimpleClaims Integration
Optional integration - Tested with SimpleClaims 1.0.40
When SimpleClaims is installed, its block-breaking permissions take priority over SwingThroughGrass settings.
- Claim permissions cannot be bypassed by sneaking.
- Personal settings cannot override claim restrictions.
- Creative mode does not bypass SimpleClaims permissions.
- Block cancellations from other protection plugins are preserved.
SimpleClaims is completely optional. SwingThroughGrass works independently without it.
AI Disclosure
AI tools were used to assist with parts of the development.

