️ ProtectYourEco – Advanced Economy Protection & Anti-AFK System
Tired of overloaded markets, infinite Totems, or players AFKing for hours?
ProtectYourEco is your all-in-one solution to maintain balance, fairness, and long-term economy stability on your Minecraft server.
Features
✅
Rare Drop Regulation
- Custom spawn chance for Elytras (e.g. 10%)
- Control drop chance of Shulker Shells and Wither Skeleton Skulls
- Totems only from Evokers – no more easy Raid farming
✅
Raid Protection
- Automatically removes Bad Omen
- Prevents Raids from starting
- Great for economy-focused servers
✅
Anti-AFK System
- Tracks inactivity based on movement
- Executes a command (e.g. /spawn) after a custom idle time
- Only once per AFK session – resets upon movement
- Fully toggleable & configurable
✅
Customizable messages
- Every message is configurable
- Use color codes and placeholders like %prefix%
✅
Lightweight & efficient
- No unnecessary dependencies
- Clean code and optimized performance
⚙️ Configuration Highlights
yaml
elytra-spawn-chance: 0.1
shulker-shell-drop-chance: 0.02
wither-skull-drop-chance: 0.01
totem-only-from-evoker: true
disable-raids: true
anti-afk:
enabled: true
countdown-seconds: 300
command: "spawn"
prefix: "&8[&bProtect Your Eco&8] "
Commands
Command
Description
/preco reload Reloads the config
Tab-completion included ✔️
Installation
- Place the jar into your plugins/ folder
- Restart the server
- Configure everything in the config.yml
- Enjoy a cleaner, healthier server economy!
Coded by McGovernn
Open for feedback & suggestions – feel free to message!