Sueta

NoFarmlandTrample - Prevent Crop Trampling [1.8 - 1.21+]

2.2.0

Lightweight plugin that prevents players and mobs from trampling farmland. En/Ru support, statistics

·Plugin
  1. 2.2.0latestThread safety, performance, and minor fixesMay 26, 2026
    NoFarmlandTrample 2.2.0 Thread safety, performance, and quality of life​ ✦ Fixes • Race condition fix — async stats save no longer risks ConcurrentModificationException. Internal HashMap replaced with ConcurrentHashMap and AtomicLong counters. • Missing permission node nofarmtrample.use is now properly declared in plugin.yml (was referenced in code but undeclared, causing tab-complete issues with some perm plugins). • Sound resolution — version-specific sound names (NOTE_BASS / BLOCK_NOTE_BASS / BLOCK_NOTE_BLOCK_BASS) are now resolved once at startup and cached, instead of try/catch on every notification. ✦ Performance • ActionBar reflection cached at plugin startup — class lookups, methods, constructors are resolved once. Per-message cost reduced from full reflection scan to direct method invocation. • Removed ~80 lines of hardcoded language strings in code — language files are now loaded purely from jar resources with proper UTF-8 handling. • Lang file extraction uses try-with-resources and a 4KB buffer instead of 1KB. ✦ Compatibility Spigot/Bukkit/Paper 1.8 - 1.21+. Auto-detects farmland and crop materials across versions. ✦ Upgrade 1. Stop server 2. Replace the jar in plugins folder 3. Start server (your config.yml is fully compatible — no changes needed) Author: hiteex
    2 downloads
  2. 2.0.1v2.0.1 - Permission fixMay 22, 2026
    Bug Fixes • Fixed an issue where regular players could use /nft command • Removed the "nofarmtrample.use" permission (no longer needed) • Now only players with "nofarmtrample.admin" permission (or OP) can use the command • Added permission message when player tries to use command without permission Updated Permissions • nofarmtrample.admin - Full access to all commands (default: op) • nofarmtrample.stats - View statistics (default: op) • nofarmtrample.bypass - Bypass farmland protection (default: false) How to Update 1. Stop your server 2. Delete the old NoFarmlandTrample.jar from plugins folder 3. Place the new NoFarmlandTrample-2.0.1.jar in plugins folder 4. Start your server 5. Your config and statistics will be preserved! Thank you for using NoFarmlandTrample! If you find any bugs, please report them in the Discussion tab.crop-protection:
    4 downloads
  3. 2.0.0May 21, 2026
    2 downloads

Similar projects

Plugin →