Compatibility
Minecraft: Java Edition
1.21ā1.21.8
Platforms
Supported environments
Server-side
Client and server
Links
Tags
Creators
Details
Licensed ARR
Published 10 months ago
PvE Toggle
A lightweight server-side Fabric mod that allows players to opt into PvE-only mode, blocking all PvP and player-caused hazards while keeping natural PvE damage intact.
Compatible with LuckPerms for fine-grained permission control.
⨠Features
-
š Toggle PvE Mode with commands:
/pve onā Enables PvE protection for yourself/pve offā Disables PvE protection/pve on <player>//pve off <player>ā Manage PvE for other players (with permission)/pve status [player]ā Check PvE mode status
-
š”ļø Protection against player-caused damage:
- PvP (swords, bows, tridents, projectiles, etc.)
- TNT & explosions triggered by players
- Fire & lava placed by players (including flowing lava)
- Suffocation from sand/gravel placed by players
- Falling anvils
- Pistons (including chained piston pushes)
- Water/lava currents used to push players
- Wither damage if spawned by another player
- Lightning/trident strikes from players
- Prevents block-breaking grief (no destroying blocks directly under protected players)
-
āļø Persistence: Player PvE status is saved between sessions.
-
š Config & Database:
- Config stored in
config/pvemod/pvemod.json - SQLite DB in
config/pvemod/pvemod_ownership.dbfor tracking block ownership (lava, TNT, pistons, etc.)
- Config stored in
-
š LuckPerms support:
pvemod.toggle.selfā Use/pve on|offon yourselfpvemod.toggle.othersā Use/pve on|off <player>pvemod.statusā Use/pve status
š¦ Requirements
- Minecraft:
>=1.21 <1.22 - Fabric Loader:
>=0.16.0 - Fabric API:
>=0.116.5+1.21.1 - fabric-permissions-api v0:
>=0.3.1(included with LuckPerms Fabric)
š ļø Use Cases
- Roleplay servers where some players prefer PvE-only gameplay.
- Servers that want to prevent griefing with TNT, pistons, lava, or water tricks.
- Mixed PvP/PvE environments with per-player choice.


