← Назад к ресурсам
P

PvP Gamerule

Adds a simple PvP toggle gamerule.

Modrinth cursed game-mechanics utility

Описание

# PvP Gamerule [![modrinth](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/pvp-gamerule) [![fabric-api](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/requires/fabric-api_vector.svg)](https://modrinth.com/mod/fabric-api) --- Adds the `pvp` gamerule (`true` by default). Set it to `false` to disables player-versus-player combat. ## FAQ - **Will this work on LAN Hosted Worlds?** > Yes. - **What about the `pvp` setting in the `server.properties`?** > Completely ignored, the gamerule always takes priority. - **How is PvP defined? What will be disabled?** > Behaves the same as changing the `pvp` setting in the `server.properties` just as a gamerule.