Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings

PvP Gamerule

Adds a simple PvP toggle gamerule.

1,013
4
Cursed
Game Mechanics
Utility
AboutChangelogVersions

PvP Gamerule

modrinth 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.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x

Platforms

Fabric
Quilt

Supported environments

Server-side

Links

Report issues View source

Creators

rotgruengelb
rotgruengelb Member

Details

Licensed MIT
Published 8 months ago
Updated 7 months ago

Modrinth is open source.

main@fafd47f

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.