Mod

Defense

Quick rating

Defense

No reviews yet

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

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Filter by exact patch versions
Loading exact versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your updated review is now pending. It has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.21.11-0.5.0

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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.
  • AFK system that will toggle on Defense after 1 minute to prevent players from attacking you. Use the afkTimerSeconds gamerule to change the time it takes to toggle AFK (set to 0 to disable this feature). 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!

Screenshots

Gallery

  • Defense
    Defense Defends players from unwanted PvP interactions while still allowing for PvP on servers
  • Visual Indicator
    Visual Indicator The icon displayed next to a player nametag with Defense toggled on. Will change based on your selected icon in the Skin Customization Settings.
  • Per-Player Icon Selection
    Per-Player Icon Selection Each player will get to select their own icon which will show to other players on their server!
  • Defense Toggle in Survival Inventory
    Defense Toggle in Survival Inventory Toggle this switch to enable your immunity
  • Select your Icon!
    Select your Icon! Choose the icon that will be displayed in your inventory and to other players via the Skin Customization menu
  • AFK Notification
    AFK Notification Stand around for a certain amount of time (2 minutes by default) or run /afk to toggle defense on and enter an AFK Mode. This is what you'll see!
  • Icons Available to You!
    Icons Available to You! Choose your icon!
  • Immunity Notification
    Immunity Notification Messages in chat will notify you when you enable/disable defense, and when defense is about to run out!

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Reviews
0
Followers
0
In stacks

By the numbers

Statistics

~5,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync