Перейти к содержимому
Mineforgian

AntiTrample

Prevent players and mobs from trampling on your crops.

Загрузки
2K
Подписчики
15
Обновлён
3 июня 2026 г.
Лицензия
MIT

Опубликован 31 июля 2024 г.

Introduction

Protects your crops from being trampled by both players and mobs.

Features

  • Crop Protection: Prevents players and mobs from walking over and damaging your crops.
  • Messages: A message will be displayed to the player saying that the action has been blocked.
  • Sound Effects: A sound effect will be played indicating that the action has been blocked.

Permissions

  • antitrample.use: Under whitelist mode, granting this permission stops crop tramping.
  • antitrample.ignored: Players with this permission will be allowed to trample on crops.
  • antitrample.reload: Players with this permission will be able to reload the configuration of antitrample.

Configuration

config.yml
# Change the permission checking mode for trampling crops.
# "BYPASS": Anti-trample prevention applies to all players unless they have the bypass permission.
# "WHITELIST": Anti-trample prevention only applies to players with the use permission.
PermissionMode: "BYPASS"
  
# Enable or disable prevention of mobs trampling crops.
# Set to false if you want to allow mobs to trample crops as usual.
PreventMobs: true
  
# Message to display when a player attempts to trample crops.
# Leave this field empty to disable message notifications.
Message: "&cYou do not have permission to trample on crops."
  
# Sound to play when a player attempts to trample on crops.
Sound:
  # Set to false if you want to disable sound notifications.
  Enabled: true
  # Use a sound identifier like "BLOCK_NOTE_BLOCK_BASS" for a note sound.
  Type: "BLOCK_NOTE_BLOCK_BASS"
  # Use a value between 0 - 2 to adjust the volume. 0.5 = 50%. 2 = 200%.
  Volume: 1.0
  # Use a value between 0 - 2 to adjust the pitch.
  Pitch: 1.0

Note:

If you have ANY issues with this plugin please make a GitHub issue and I will try my best to resolve the issue.

Ченджлог

1.1.1Релиз26.1, 26.1.1, 26.1.2 · 3 июня 2026 г.
  • Upgraded XSeries to latest version to make the plugin support 26.x.x versions.
  • Added extra configuration options for sound notifications.
1.1Релиз1.21.9, 1.21.10, 1.21.11 · 18 февраля 2025 г.
  • Introduced a PermissionMode setting that allows switching to WHITELIST mode, enabling granular access control for anti-trample.
  • Replaced legacy Material support with XMaterial to improve compatibility and future-proof the codebase.

Комментарии

Загружаем…