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

3,546
76
Game Mechanics
Social
Utility
AboutGalleryChangelogVersions

Defense 1.21.6-0.4.3

by Mortimer-Kerman on Jun 22, 2025
Download

Updated to 1.21.6

Defense 1.21.5-0.4.3

by Mortimer-Kerman on May 23, 2025
Download
  • Updated to 1.21.5
  • Added French localization
  • Updated some English localization

Defense 1.21.4-0.4.2

by Mortimer-Kerman on Mar 8, 2025
Download

Updated to 1.21.4

Defense 1.21-0.4.2

by Mortimer-Kerman on Mar 8, 2025
Download

Fixed a bug preventing the players tab list from correctly rendering scoreboard

Defense 1.21-0.4.1

by Mortimer-Kerman on Aug 30, 2024
Download
  • Fixed a bug with the icon next the player's name in the dark
  • Fixed a typo in the allowDefenseKeybind gamerule description

Defense 1.21-0.4.0

by Knarfy on Aug 29, 2024
Download
  • Fixed some Issues with the AFK System
  • Added Keybind for Defense (Under the Multiplayer Section)
  • Added /afk command
  • Added /defense command
    • /defense (playername) (on/off/refresh)
    • /defense (on/off/refresh)
  • Added pet and mount protection
  • Added visual indicator to defense button in inventory to show how much time is left
  • Added Gamerules
    • afkTimerSeconds (time in seconds)
    • allowDefenseKeybind (true/false)
    • defenseDurationMinutes (time in minutes)
    • mountsProtected (true/false)
    • petsProtected (true/false)
  • Fixed various bugs!

Defense 1.21-0.3.0

by Mortimer-Kerman on Aug 25, 2024
Download

Fixed the bug described in 1.21-0.3.0-BETA1

Defense 1.21-0.3.0-BETA1

by Mortimer-Kerman on Aug 22, 2024
Download

NEW BETA FEATURE: The AFK System

When a player has been AFK for 1 minute, the mod will now toggle Defense on and display a new AFK GUI to tell them they are AFK. Clicking "Back to Game" will close the GUI and toggle off Defense.

This new system is subject to change! We're laying the groundworks for this and will continue to add improvements and features as we see the need.

KNOWN BUG:
The AFK system will trigger when the player is in their ESC menu, even if the player is adjusting settings, and will open the AFK Screen. This will be addressed in the future!


Regular Changelog

  • Improved icon selection menu
  • Icon opacity fixed behind blocks

Defense 1.21-0.2.0

by Mortimer-Kerman on Aug 14, 2024
Download
  • Added new icons
  • Brand new icon selection menu
  • Fixed icon rendering bugs with water and behind walls
  • Added a server side verification to force the mod installation on the clients

Defense 1.21-0.1.6

by Mortimer-Kerman on Aug 5, 2024
Download
  • Fixed a critical bug that was synchronizing PVP of all players and spamming messages in chat

Defense 1.21-0.1.5

by Mortimer-Kerman on Aug 3, 2024
Download

-= Initial Release =-

  • Added Defense System
    • Toggle switch in player inventory
    • Protects player from incoming player damage (including projectiles & TNT)
    • Prevents player from damaging other players
    • Defense Lasts for 20 minutes
      • Chat message notification will notify player and give them the opportunity to reset their timer
    • Displays custom shield icon next to nametag in-game
      • Same shield icon will sync between inventory toggle and nametag
      • Each player can select their own icon to display to other players
    • Adds Shield selection button in "Skin Customization"
      • 21 icons available at launch
      • Shield icons are cosmetic and do not provide any gameplay advantage. They just look cool!

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+
Filter

Show all versions

Modrinth is open source.

main@c8befb6

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