Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
NB: Bear with me, it's my first ever mod on Minecraft, actually ChatGPT helped me a lot but it's a musthave for my SMP, where my friends hunt PvE players.
PvE Toggle is a lightweight server-side Fabric mod that allows players to toggle their PvE/PvP protection with a simple command. It integrates with LuckPerms (via the Fabric Permissions API) for fine-grained permission control.
✨ Features
/pve on → Enable PvE mode: immune to PvP, still vulnerable to mobs/environment.
/pve off → Disable PvE mode: you can fight players again.
/pve on <player> / /pve off <player> → Toggle PvE mode for others (requires permission).
/pve status [player] → Check your own PvE status or another player’s.
Persistence: Your PvE state is saved and restored when you rejoin.
PvP Blocking Both Ways:
Players in PvE cannot be attacked by others.
Players in PvE cannot attack other players (directly, with projectiles, or via tamed mobs).
Fully translated into French (server messages).
🔑 Permissions
pve.on — Toggle PvE mode for yourself.
pve.off — Disable PvE mode for yourself.
pve.on.others / pve.off.others — Toggle PvE mode for other players.
pve.status — Check your own status.
pve.status.others — Check other players’ status.
âš¡ Requirements
Fabric API
Fabric Permissions API >=0.4.0