跳到正文

PvE

作者:akouniza

A mod that make you or your friends or my GF in my case in PvE

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.db for tracking block ownership (lava, TNT, pistons, etc.)
  • 🔑 LuckPerms support:
  • pvemod.toggle.self → Use /pve on|off on yourself
  • pvemod.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.

常见问题

PvE 支持哪些 Minecraft 版本?

PvE 支持 Minecraft Java 版 1.21–1.21.8,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

PvE 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

akouniza 的其他作品

查看全部 →