https://github.com/rarehyperionyt/antitrample
Prevent your crops from being trampled by players and mobs.
https://github.com/rarehyperionyt/antitrample
bukkit-plugin minecraft minecraft-plugin spigot-plugin
Last synced: about 1 year ago
JSON representation
Prevent your crops from being trampled by players and mobs.
- Host: GitHub
- URL: https://github.com/rarehyperionyt/antitrample
- Owner: RareHyperIonYT
- Created: 2024-07-31T17:45:45.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T00:31:50.000Z (over 1 year ago)
- Last Synced: 2025-02-18T01:26:07.347Z (over 1 year ago)
- Topics: bukkit-plugin, minecraft, minecraft-plugin, spigot-plugin
- Language: Java
- Homepage: https://modrinth.com/plugin/antitrample
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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
```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 wen 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.
# Use a sound identifier like "BLOCK_NOTE_BLOCK_BASS" for a note sound.
# Leave this field empty to disable sound notifications
Sound: "BLOCK_NOTE_BLOCK_BASS"
```
## Note:
If you have **ANY** issues with this plugin please make a GitHub issue and I will try my best to resolve the issue.