介绍
NoNetherStarPVP Mod
Overview
The NoNetherStarPVP mod is a Minecraft Fabric mod designed to manage player-versus-player (PvP) interactions based on the presence of a specific item, defaulting to the Nether Star. This mod provides server admins with configurable options to enable or disable PvP in various contexts, useful for peaceful servers.
This mod doesn’t affect PVE i.e Player Vs Entity combat.
Dependencies
- Fabric API
- Cloth Config API
Default Behaviour
- By default, PvP is disabled for all players except the players holding the Nether Star.
Configuration
The mod uses a configuration file to manage its settings. Below are the available configuration options:
enablePvP: A boolean option to disable all PvP. When disabled all PvP is disabled. Default istrue.useInverseLogic: A boolean option that when true disables PvP when holdingpvpDisableItemand when false enables PvP only when holdingpvpDisableItem. Default istrue.onlyTargetCheck: A boolean option that check for the item only for the target player. Default is `truepvpDisableItemID: Specifies the item which the players should have to allow or disallow PvP. Default isminecraft:nether_star.
Configurations for different scenarios
-
Case 1: PvP is disabled for all players except the players holding the Nether Star. Both players should have nether star to PvP. (Default behaviour)
enablePvP:trueuseInverseLogic:trueonlyTargetCheck:falsepvpDisableItemID:minecraft:nether_star
{
"enablePvP": true,
"useInverseLogic": true,
"onlyTargetCheck": false,
"pvpDisableItemID": "minecraft:nether_star"
}
- Case 2: PvP is enabled for all players except the players holding the Nether Star. Player holding nether star can hit any player.
enablePvP:trueuseInverseLogin:falseonlyTargetCheck:truepvpDisableItemID:minecraft:nether_star
{
"enablePvP": true,
"useInverseLogic": false,
"onlyTargetCheck": true,
"pvpDisableItemID": "minecraft:nether_star"
}
Changelog
- v1.0.0: Initial release of the mod.
- v1.1.0: Add
targetOnlyconfiguration option to only disable/enable PvP when the target player is holding thepvpDisableItem. Also rename
常见问题
No Nether Star PVP 支持哪些 Minecraft 版本?
No Nether Star PVP 支持 Minecraft Java 版 1.21,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
No Nether Star PVP 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Drypted 的其他作品
查看全部 →PVP Essentials
必备的 PvP 客户端功能,包括盔甲、药水和伤害指示器、低火焰与低盾牌特效、隐藏爆炸粒子等!
DLib
我所有模组的前置库。
LifestealSMP
这个生命窃取模组与生命窃取SMP完全相同。
PVP Trainer
可视化显示快捷栏按键,并提供实用工具,助你学习 PVP。
评论
登录后评论和评分