This plugin cancels non-player caused damage.
Uses Bukkit damage causes.
Mostly made this to nerf fall damage mob farms on my SkyBlock server.
Configuration details:
percent-chance : 50
50% of the time the damage cause will be cancelled.
Value can be 0 to 100 or a random range in the form rnd:min:max where min and max are the ranges.
percent-cancel : rnd:80:100
If the damage cause is not completely cancelled, this is the percentage that will be cancelled.
Value can be 0 to 100 or a random range in the form rnd:min:max where min and max are the ranges.
Permissions:
Uses Bukkit damage causes.
Mostly made this to nerf fall damage mob farms on my SkyBlock server.
Spoiler: config.yml
Code (YAML):
# This plugin cancels non-player caused damage.
# Use damage causes from bukkit: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
# Case is insensitive.
# If a damage cause is not configured the defaults will apply.
# For each damage type:
# enabled: Is this damage type enabled?
# False means a damage type is processed normally and skipped from this plugin.
# If false, the other parameters are not needed.
# Default is 'false'
# percent-chance: Percent chance the damage will be cancelled.
# Default is "100". Meaning damage will be cancelled 100% of the time.
# Misconfiguration will use the default value.
# Use "rnd:min:max" for a random chance from min to max determined on each damage event. Use rnd:0:100 for 0 to 100
# percent-cancel: Percent of the damage to cancel, provided the damage is not already cancelled.
# Default is "100". Meaning 100% of the damage will be cancelled.
# Misconfiguration will use the default value.
# Use "rnd:min:max" for a random chance from min to max determined on each damage event. Use rnd:0:100 for 0 to 100
# log-level: 0 = only startup/reload messages, 1 = include enabled damage cause messages, 2 = include all damage cause messages and calculations
damage-cause:
default:
enabled : false
percent-chance : 100
percent-cancel : 100
fall:
enabled : false
percent-chance : 50
percent-cancel : rnd:80:100
log-level : 0
# Use damage causes from bukkit: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
# Case is insensitive.
# If a damage cause is not configured the defaults will apply.
# For each damage type:
# enabled: Is this damage type enabled?
# False means a damage type is processed normally and skipped from this plugin.
# If false, the other parameters are not needed.
# Default is 'false'
# percent-chance: Percent chance the damage will be cancelled.
# Default is "100". Meaning damage will be cancelled 100% of the time.
# Misconfiguration will use the default value.
# Use "rnd:min:max" for a random chance from min to max determined on each damage event. Use rnd:0:100 for 0 to 100
# percent-cancel: Percent of the damage to cancel, provided the damage is not already cancelled.
# Default is "100". Meaning 100% of the damage will be cancelled.
# Misconfiguration will use the default value.
# Use "rnd:min:max" for a random chance from min to max determined on each damage event. Use rnd:0:100 for 0 to 100
# log-level: 0 = only startup/reload messages, 1 = include enabled damage cause messages, 2 = include all damage cause messages and calculations
damage-cause:
default:
enabled : false
percent-chance : 100
percent-cancel : 100
fall:
enabled : false
percent-chance : 50
percent-cancel : rnd:80:100
log-level : 0
Configuration details:
Code (YAML):
percent-chance : 50
Value can be 0 to 100 or a random range in the form rnd:min:max where min and max are the ranges.
Code (YAML):
percent-cancel : rnd:80:100
Value can be 0 to 100 or a random range in the form rnd:min:max where min and max are the ranges.
Permissions:
- canceldamage.admin - Ability to use admin commands; assigned to op by default
- /canceldamage reload - Reloads the configuration
- None
- None
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.15
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CancelDamage is a free Minecraft Java mod. Compatible with Minecraft 1.15. Downloaded 59 times (via Spigot). Download it and open it directly in the game.