Mod

Configurable Healing Command

Quick rating

Configurable Healing Command

No reviews yet

Adds a highly configurable /heal command for multiplayer games and SMPs.

QoL & Tweaks
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading 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 review 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 Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
heal-mod-1.0.0.jar
Authors
CurseForge
Modrinth

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

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Overview

This mod adds a highly configurable /heal command used to heal players. Configuration options include the number of uses of /heal that each player gets per life, how much each use of /heal heals the target, how much each use of /heal damages the healer (defaulting to 0) and more.

The /heal command also includes administrative subcommands used to query player healing data, restore the ability to use /heal to a player, and so forth.

/heal

The /heal command itself uses a relatively simple syntax with several options at the moment.

  • /heal <player> heals the target by the current healAmount and damages the healer by healCost. It is available to any player with permissions higher than healPermissionsRequirement. With the default settings, anyone can use it.
  • /heal query uses <player> displays the number of /heal uses that the target has expended, as well as the current value of healsPerLife. It is available to any player with a permission level of at least 2.
  • /heal query deaths <player> displays the number of deaths that the target has remaining that will restore healing capacity. It is available to any player with a permission level of at least 2.
  • /heal restore uses <player> restores all /heal uses to the target. It is available to any player with a permission level of at least 2.
  • /heal restore uses <player> <n> restores n uses of /healto the target; this can exceed healsPerLife total uses, giving that player extra capacity. It is available to any player with a permission level of at least 2.
  • /heal restore deaths <player> resets the deaths counter for the target. It is available to any player with a permission level of at least 2.
  • /heal restore deaths <player> <n> restores n deaths to the target; this can exceed deathsRestoringHeals total deaths, giving that player extra capacity. It is available to any player with a permission level of at least 2.

Configuration

The mod is configured via gamerules:

  • healAmount sets how much each /heal restores, defaulting to 200 (100 hearts).
  • healCost sets how much health each /heal removes from the healer, defaulting to 0.
  • healsPerLife sets how many uses of /heal each player has, defaulting to 1 (set to -1 for infinite uses).
  • deathsRestoringHeals controls now many deaths will restore healing capacity, defaulting to -1 (set to -1 for unlimited deaths).
  • healPermissionsRequirement is what permissions level is needed to run /heal, defaulting to 0 (anyone can use it).
  • safeHealing controls, given that there is a healCost, whether or not players can fatally damage themselves by /healing other players. Defaults to true; players are prevented from using /heal when they have less health than is needed to pay the cost.

Note

This mod is released on Modrinth as "Heal Mod". CurseForge platform restrictions prevent using "Mod" in mod titles, so I had to name it something different here. I apologize for the confusion.

Overview

This mod adds a highly configurable /heal command used to heal players. Configuration options include the number of uses of /heal that each player gets per life, how much each use of /heal heals the target, how much each use of /heal damages the healer (defaulting to 0) and more.

The /heal command also includes administrative subcommands used to query player healing data, restore the ability to use /heal to a player, and so forth.

/heal

The /heal command itself uses a relatively simple syntax with several options at the moment.

  • /heal <player> heals the target by the current healAmount and damages the healer by healCost. It is available to any player with permissions higher than healPermissionsRequirement. With the default settings, anyone can use it.
  • /heal query uses <player> displays the number of /heal uses that the target has expended, as well as the current value of healsPerLife. It is available to any player with a permission level of at least 2.
  • /heal query deaths <player> displays the number of deaths that the target has remaining that will restore healing capacity. It is available to any player with a permission level of at least 2.
  • /heal restore uses <player> restores all /heal uses to the target. It is available to any player with a permission level of at least 2.
  • /heal restore uses <player> <n> restores n uses of /healto the target; this can exceed healsPerLife total uses, giving that player extra capacity. It is available to any player with a permission level of at least 2.
  • /heal restore deaths <player> resets the deaths counter for the target. It is available to any player with a permission level of at least 2.
  • /heal restore deaths <player> <n> restores n deaths to the target; this can exceed deathsRestoringHeals total deaths, giving that player extra capacity. It is available to any player with a permission level of at least 2.

Configuration

The mod is configured via gamerules:

  • healAmount sets how much each /heal restores, defaulting to 200 (100 hearts).
  • healCost sets how much health each /heal removes from the healer, defaulting to 0.
  • healsPerLife sets how many uses of /heal each player has, defaulting to 1 (set to -1 for infinite uses).
  • deathsRestoringHeals controls now many deaths will restore healing capacity, defaulting to -1 (set to -1 for unlimited deaths).
  • healPermissionsRequirement is what permissions level is needed to run /heal, defaulting to 0 (anyone can use it).
  • safeHealing controls, given that there is a healCost, whether or not players can fatally damage themselves by /healing other players. Defaults to true; players are prevented from using /heal when they have less health than is needed to pay the cost.

Note

This mod is released on CurseForge as "Configurable Healing Command". CurseForge platform restrictions prevent using "Mod" in mod titles, so I had to name it something different there. I apologize for the confusion.

Screenshots

Gallery

  • `/heal`
    `/heal` This mod doesn't lend itself well to a visual depiction, given that it adds a command. So, instead, here is a picture of a healing potion and a `/`!

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
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
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