本帖最后由 1582952890 于 2017-9-17 09:50 编辑
CombatControl
让玩家自己切换PvP,或者由管理员锁定他们,以防止他们切换PVP,
如果玩家想PVP必须双方全部开启PVP才可以。
提示信息由本人汉化,请各位手动安装。
因为PvPToggle不更新了,所以我找到了这个,发给大家。
命令+权限:
Command Description Permission Aliases Example
/pvp Toggle your own individual PvP cc.pvp /pvptoggle OR /cc -
/pvpadmin View PvP admin help menu cc.pvpadmin /pvpa OR /cca -
Admin Commands
Command Description Permission Example
/pvpa list List all players who have personal PvP enabled Defaults with cc.pvpadmin -
/pvpa check Check if a specific player has PvP enabled Defaults with cc.pvpadmin -
/pvpa set [player / *] [true / false] Set a player's PvP state cc.pvpadmin.set /pvpadmin set Chinwe true
/pvpa lock [player / *] <s> Prevent a player from changing their PvP state - optionally silent cc.pvpadmin.lock /pvpadmin lock Chinwe s
/pvpa reload Reloads the config cc.pvpadmin.reload -
/pvpa worlds View world commands help cc.pvpadmin.worlds -
|
配置文件:
- # CombatControl config
- # All times are in milliseconds (ie 1000 = 1 second)
- # Time before a player can disable PVP after attacking another player (default: 3000)
- attackCooldown: 3000
- # Cooldown before a player can disable PVP after being attacked by another player (default: 5000)
- victimCooldown: 5000
- # Cooldown before a player can disable PVP after enabling it (default: 1000)
- commandCooldown: 1000
- # Give snowballs, fishing rods and eggs a slightly larger knockback (default: 0.2)
- projectileKnockbackMultiplier: 0.2
- # Broadcast a message when a player logs out during their cooldown (default: true)
- broadcastPvpLogAlert: true
- # Kill a player when they log out during their cooldown (default: false)
- # Useful for PvP/Faction servers
- killOnLog: false
- # Check for plugin updates on server start/reload (default: true)
- checkForUpdate: true
- # Should CombatControl hook into TagAPI if you have it installed? (default: true)
- useTagAPI: true
- # Don't drop your items on death, even if you are in a world where gamerule keepInventory is off (default: true)
- # This will only happen if the player was killed by another player
- keepItems: true
- # Makes a player respawn automatically (default: false)
- # This will only happen if the player was killed by another player
- instantRespawn: false
- # ---- #
-
- # Config version - DO NOT TOUCH THIS VALUE
- # LEAVE IT ALONE...please? :D
- configVersion: 1.3
复制代码 |
本插件优点:可以设置人打人打死不掉物品,其他死亡方式正常。
可以设置被人打后/pvp命令冷却时间。
请为玩家组添加cc.pvp权限,玩家才能使用/pvp。
玩家的pvp状态默认是关闭的。
汉化文件安装方法:
把CombatControl放入plugins文件夹,运行一次服务器。把汉化文件覆盖到plugins\CombatControl文件夹内。
可在配置文件中修改与其关联:
# Should CombatControl hook into TagAPI if you have it installed? (default: true)
useTagAPI: true
本插件支持MCPC+
1.7.2和1.6.4是一样的,1.7.2仍然能用1.6.4的。之后版本没有测试,请大家自行测试使用。
下载地址(1.5.2-1.7.2/汉化文件):