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
Defense

Defense

A mod designed to protect players from unwanted PvP interactions while still allowing PvP on servers! Originally designed for the Empty World SMP

2,676
64
Game Mechanics
Social
Utility

Compatibility

Minecraft: Java Edition

1.21.x

Platforms

Fabric

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

View source Join Discord server

Creators

Knarfy
Knarfy Publisher
Mortimer-Kerman
Mortimer-Kerman Developer

Details

Licensed MIT
Published 9 months ago
Updated 2 months ago
DescriptionGalleryChangelogVersions

Defense

A mod designed to protect players from unwanted PvP interactions while still allowing PvP on servers!

Originally created for and tested by the Empty World SMP

SHOWCASE VIDEO:

Features

  • This mod adds a PvP toggle button in the survival player inventory.
  • When checked on, the player is now immune to all incoming PvP damage. Examples include direct attacks, projectiles, and lit TNT. This also disables the same outgoing attacks from the player. They cannot recieve damage from players or deal damage to players while toggled on.
  • When toggled on, Defense lasts for 20 minutes. One minute before the player's immunity runs out, they will be notified with a chat message prompting them to enable it again if they wish. The player may also enable or disable defense anytime they wish to reset the cooldown.
  • If a player's defense is toggled on, a shield icon will display next to their nametag.
  • You can change the icon you are displaying to others and that shows on your toggle switch in your Skin Customization Settings.
  • New Beta Feature: AFK system that will toggle on Defense after 1 minute to prevent players from attacking you. Still very early, but improvements and changes will be made over time!

Available Icons:

Available Icons

(These Icons are selectable via the Skin Customization Settings within Minecraft)

More features are planned, and updates will add new functionality to the mod, along with quality of life changes to make it even better to use.

Why the 20 Minute Timer?

The 20 minute timer for defense naturally encourages players to keep defense toggled off most of the time. This provides for the occasional funny interaction with another player, like an accidental punch, or for a challenge during a PvE battle to not hit your friends. It is meant to be used as a tool to defend against an unwanted interaction rather than something to give a competitive advantage.

For more information on this mod, and access to the code, go to this mod's GitHub page!

Modrinth is open source.

main@acf2694

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