MedCraft  - Realistic Healing Items icon

MedCraft - Realistic Healing Items -----

MedCraft - A Realistic Healing Items plugin and resource pack for Spigot and Paper




fixed error reported by @pendosio ensuring compat with 1.20.6 and newer, tested on 1.21.4, 1.21.3 and 1.21.1, should be working now, if anyone has any issues please report them in discussions or on the discord server!
----------, Feb 28, 2025

  • Correctly bump version in plugin to 2.0.3.3
  • Potential fix for ItemMeta null error reported in discussions
----------, Nov 26, 2023

  • Adds pets to ranged healing
    (Dogs, Cats, Parrots and such)
  • Fixes issue #6
----------, Nov 21, 2023

removed glow
unfortunately the feature created issues with the grindstone and patching those issues resulted in a dupe bug, so for now atleast, the feature is gone and may not return
if you want this feature, figure out how to implement is without it causing me astronomical headaches and submit a pr on GitHub
I want to be very clear, I've spent almost an entire day trying to figure out how to avoid removing it and it is not an important enough feature for me to spend anymore time on at the moment

stay tuned for new feature additions coming soon tm
----------, Dec 30, 2021

accounted for drag event and made sure you get your items back when the inventory is closed with drag event
this exploit is 100% patched now, thank you for baring with me :)

as always, if you like what I do show me so
if you want a feature not in the plugin, you can always ask
for issues use discussions, GitHub or dm me on spigot

Thanks to @mmuziek for many suggestions on improvements and your recent review of my plugin
and
Thanks to @zombie_striker for your continued support when i need bits of help here and there :)
----------, Dec 30, 2021

if you are running any version of this plugin please update now to patch a serious glitch/bug

fixes an issue with glowing items in grindstone that results in infinite xp glitching

now when you put an item from my plugin into a grindstone the inventory closes,
no event cancelling because I was concerned about conflicts with
other plugins that may handle grindstones

if you find issues go to the GitHub linked on the overview page, discussions or even shoot me a message here on spigot

enjoy the update everyone and apologies for not noticing this issue before
----------, Dec 30, 2021

hot fix for errors when running on 1.18
tweaks and stuff, should all work correctly, contact me if you find any issues, do not forget to utilize our github for error tracking and reporting,
<3
----------, Dec 5, 2021

Removed buggy offhand self-use, offhand is for right clicking others to use items on them
added a message for when you heal others
update Messages section:
Code (YAML):
Messages:
  NoPermCraft
: '&fYou cannot craft [item ] &fwithout the permission med.craft'
  NoPermUse
: '&fYou cannot use [item ] &fwithout the permission med.craft.use'
  NoPermUseOffhand
: '&fYou cannot use [item ] &fin offhand without the permission med.craft.use.offhand'
  OffhandUse
: '&fYou have used a [item ] &fon [recipient ]'
----------, May 23, 2021

Version 2.0 > is not compatible with your V1 configs even remotely,
please remove your old MedCraft folder before running version 2.0.
Recoded most of the plugin with the help of @zombie_striker
Thank you so much!!!
changed permissions:
- med.craft<To craft the items>
- med.craft.use<To use the items>
- med.craft.use.offhand<To use the item in your offhand>
removed ender chest adding logic and option <it was bad>
added an option for setting if an item is ranged
separated CMD into 2:
1 for when you successfully use a bandage: SuccessCMD
and
1 for when you do not: FailureCMD
with per command console and perform options
<Note>
failure command not triggered if you cancel, only if you complete warmup
</Note>
all settings except messages and experimental options are now per item
added experimental pickup logic which shouldn't be used unless you have issues with picking up items <very much an edge case fix>
Added 2 new default items: small_bandage and small_medkit
Resource pack update with new default items accounted for will follow
thank you for all the downloads!!
big hugs!!!! <if ya want them>
Contact me if you need any help with this update
----------, May 22, 2021

Removed debug (sorry and thanks for reporting this @mrfloris )
Add UseEnderchestIfInvFull option for if DropIfNotUsed is false
= attempting to make sure items are never gone for good no matter what as best as I can, so many edge cases
----------, May 13, 2021

Added offhand mechanics to Bandages:
= right click another player who doesn't have regeneration or full health to heal them
= Permission node for new mechanic is bandage.use.offhand
= this mechanic cannot be used if a MedKit is in your main hand & a bandage is in your offhand
Make MedKits work on all players nearby within a configurable range
Make ability to craft the items configurable
Added DropIfNotUsed boolean setting:
= true, drops items on the ground if not used
= false, adds items to your inventory if not used
Stop the use of Bandages/MedKits as crafting ingredients
^Lots of other miscellaneous changes under the hood to make that possible
General code clean-ups, fixes etc.
check the GitHub commits if you want :)

reset your config.yml if upgrading from a previous version
or
update it to match this

As always, anyone who uses this is epic, especially mrfloris
free hugs to downloaders if you want them :D
----------, May 12, 2021

Made Recipe Shape configurable
Stop Items disappearing forever if you use your last one and then your inv is full,
items now drop on the floor if unused
Allow Configuration of whether an item glows or not
lores are now multi-line compatible
Wrapped Craft-Material items in .toUpperCase() for easier configuration
Stop a player spamming items to reset warmup
which also Stops a player using an item if already in warmup
Stop a player using both items at once
Items will no longer get used if you already have a regeneration effect

Another big ty to mrfloris for helping me test towards releasing this version
----------, May 11, 2021

impliment CMD to perform command on MedKit/Bandage
added permissions to plugin.yml
added option to toggle whether the command is done or not
added option to toggle if command is a Console Command or not
added configurable lore (Will improve in a later update)
made the Bandages/MedKits glow when crafted
added [playername] variable for use in CMD
Make all messages configurable
reset your configs, thank you!

props to @mrfloris for the update ideas/suggestions that lead to this update
and for the donation, love ya bro
----------, May 8, 2021

Hello so today I bring you lots of tweaks and improvements under the hood,
both technical and mechanical, here's a little list compiled from my commits:
==============================================================
== Class reductions:
=¬ MedCraftListeners/ 1 class instead of 1 per item
=¬ ItemLoader/ 1 class instead of 1 per item
==============================================================
== Extra checks:
=¬ No more Healing when in Creative (unwanted behaviour)
=¬ No more Healing when throwing Bandages or Medkits while looking at a block
(will still get healed when looking at air, need help fixing this ngl)
=¬ No more healing when opening containers
=¬ No more healing when left clicking certain blocks, to facilitate:
==¬ Commonly used Hopper, Furnace, Enchantment Table modifier plugins
===============================================================
== Added api-version: 1.13 to plugin.yml
===============================================================

Thank you for choosing MedCraft, many hugs to anyone who downloads this resource and even more if you use it

As always, would love to see a positive review if you enjoy my work
----------, May 8, 2021

fixed an issue reported by @Korojuhnoko over pm, thanks for the report and your continued use of MedCraft, hope you are all well during this difficult time
----------, Apr 28, 2020

Fixed
crafting normal paper causing you to require permissions after the last update, sorry about that fixes issue 2

Added
warmup speed configuration, set to values up to 60 (60 = instant) will allow you to define how fast or slow the warmup is, may revisit this in a future version with further changes

please reset your configs or update to match this<---
----------, Apr 21, 2020

Changed handling of crafting to allow for ItemStack larger than 1 item to be crafted without using the item duplicating it
Also, in the process re-added permissions, they're all lowercase for ease of use, sorry they were ever case sensitive, they are as follows:
  • bandage.craft
  • medkit.craft
  • bandage.use
  • medkit.use
I suggest resetting your config if you have any issues
Should fix issue #1
----------, Mar 4, 2020

fixed item duplication caused by result-amount
removed result-amount, will always be 1 now, if the value is left in an old config it'll simply ignore it
changed some detection methods because 1.3.2 seems to have broken how the items were being handled
if you have installed 1.3.2 and you're having problems please install this version instead
----------, Feb 7, 2020

fixed recipes not loading and item loaders breaking in 1.15.2, this caused the whole plugin to break, while fixing that I realised I can easily make more stuff configurable so i made the ModelData configurable, please reset your config or update it to match the below

Code (YAML):
Bandage:
  Material
: PAPER
  ModelData
: 16
  Name
: '&4✚&fBandage&4✚'
  Result-Amount
: 2
  Regen-Time
: 3
  Regen-Amplifier
: 1
  Crafting-Material-top-left
: AIR
  Crafting-Material-top-middle
: PAPER
  Crafting-Material-top-right
: AIR
  Crafting-Material-middle-left
: PAPER
  Crafting-Material-center
: PAPER
  Crafting-Material-middle-right
: PAPER
  Crafting-Material-bottom-left
: AIR
  Crafting-Material-bottom-middle
: PAPER
  Crafting-Material-bottom-right
: AIR
MedKit
:
  Material
: PAPER
  ModelData
: 18
  Name
: '&c✚&fMedKit&c✚'
  Result-Amount
: 2
  Regen-Time
: 6
  Regen-Amplifier
: 2
  Crafting-Material-top-left
: PAPER
  Crafting-Material-top-middle
: PAPER
  Crafting-Material-top-right
: PAPER
  Crafting-Material-middle-left
: PAPER
  Crafting-Material-center
: PAPER
  Crafting-Material-middle-right
: PAPER
  Crafting-Material-bottom-left
: PAPER
  Crafting-Material-bottom-middle
: PAPER
  Crafting-Material-bottom-right
: PAPER
Please leave positive feedback if you love MedCraft!!
also, a little new on the future, I have some modular add-ons in the works for some stuff people have asked for and some stuff you never knew you wanted!
----------, Feb 7, 2020

Fixed Result-Amount being ignored, now this setting will actually change how many items a particular recipe outputs
----------, Dec 24, 2019

Happy Holidays to all!

this update add the ability to use & color codes in item names
it makes the config for recipes a little easier to understand
please reset your configs or update them to reflect the following:


Code (YAML):
Bandage:
  Material
: PAPER
  Name
: '&4✚&fBandage&4✚'
  Result-Amount
: 1
  Regen-Time
: 3
  Regen-Amplifier
: 1
  Crafting-Material-top-left
: AIR
  Crafting-Material-top-middle
: AIR
  Crafting-Material-top-right
: AIR
  Crafting-Material-middle-left
: PAPER
  Crafting-Material-center
: PAPER
  Crafting-Material-middle-right
: PAPER
  Crafting-Material-bottom-left
: AIR
  Crafting-Material-bottom-middle
: AIR
  Crafting-Material-bottom-right
: AIR
MedKit
:
  Material
: PAPER
  Name
: '&c✚&rMedKit&c✚'
  Result-Amount
: 1
  Regen-Time
: 6
  Regen-Amplifier
: 2
  Crafting-Material-top-left
: AIR
  Crafting-Material-top-middle
: AIR
  Crafting-Material-top-right
: PAPER
  Crafting-Material-middle-left
: PAPER
  Crafting-Material-center
: PAPER
  Crafting-Material-middle-right
: PAPER
  Crafting-Material-bottom-left
: AIR
  Crafting-Material-bottom-middle
: AIR
  Crafting-Material-bottom-right
: AIR
----------, Dec 24, 2019

- compiled against 1.15
- added the ability to configure the item names, restart your server after making these changes, reloads will do nothing.
either reset your config or update your config to reflect this when using this update:
Code (Text):
Bandage:
  Material: PAPER
  Name: "Bandage"
  Result-Amount: 1
  Regen-Time: 3
  Regen-Amplifier: 1
  Crafting-Material-1: AIR
  Crafting-Material-2: AIR
  Crafting-Material-3: AIR
  Crafting-Material-4: PAPER
  Crafting-Material-5: PAPER
  Crafting-Material-6: PAPER
  Crafting-Material-7: AIR
  Crafting-Material-8: AIR
  Crafting-Material-9: AIR
MedKit:
  Material: PAPER
  Name: "MedKit"
  Result-Amount: 1
  Regen-Time: 6
  Regen-Amplifier: 2
  Crafting-Material-1: AIR
  Crafting-Material-2: AIR
  Crafting-Material-3: PAPER
  Crafting-Material-4: PAPER
  Crafting-Material-5: PAPER
  Crafting-Material-6: PAPER
  Crafting-Material-7: AIR
  Crafting-Material-8: AIR
  Crafting-Material-9: AIR
----------, Dec 12, 2019

hey guys, fixed crafting recipes just in time for 1.15 to come out, which will most likely break stuff, fun!! well, hope you guys enjoy this little patch update
things to note:
- permissions will not be re-added anytime soon
- do not use the items in creative, your server may crash
- any damage to your server caused by the above or any other bug in this plugin is not my responsibility
- if you do find bugs pm me or post in discussions
----------, Dec 10, 2019

there may be bugs in this build, it is entirely different internally, 1.8 support dropped from latest version temporarily, download an old build if on 1.8

Changes:
- added medkits
- detection method changed, I wanted to avoid this but your old bandages will just be paper now
- there is lots missing as this is a BETA build of the recode

1 know Issue is that when you use a medkit or bandage in creative the server may crash, there's no reason you'd need to use them in creative so fixing this is low priority

I will be adding more to it very soon, sorry for the very inconsistent updates
----------, Jul 1, 2019

1.2 will be released by the 21st
progress: almost all planned features currently on main page implemented, big update, will require config reset and will break all Bandages players have because I recoded the detection method while adding more configurability

No file or Version change, just a little bit of interaction from your friendly dev.
kind regards,
smeths
----------, Aug 13, 2017

I broke the /bandagecraft command, sorry about that, it is fixed now
----------, Jul 18, 2017

added a config for crafting recipe
added 1.12 support

need anything else? let me know, I do this for fun, so it's a case of when I get to it with features most of the time, but I am trying to get support for new versions as soon as I can and this one would've been here sooner but had to work out some complications with configuration reading, will expand the configuration in BandageCraft 1.2 which I hope to release in the next month EDIT: that didn't go to plan, sorry
----------, Jul 18, 2017

- added 1 command /bandagecraft, gives you 1 Bandage
- permission to use- BandageCraft.Bandage
----------, Feb 9, 2017

1.10 full support
full 1.9 support

more plugin features coming in 1.1.8, keep your eyes out for updates, atleast this 1 today, atleast 5 a week
----------, Feb 9, 2017

Just makes it fully support 1.11 as well as keeping support for 1.7.x,1.8.x,1.9.1,1.9.2 and 1.11

I will work on making BandageCraft compatible with the rest of the 1.9 versions and 1.10 for 1.1.7#2

Expect another update in the next 12 hours :) Thank you for downloading
----------, Feb 9, 2017

I forgot to add coloured messages to the 1.9 class
this issue is now resolved in this version, if you have bugs or just love the plugin, contact me, I don't mind which it is or even if you need support not related to this plugin I'll do my best to help
----------, Apr 18, 2016

  • Pre-1.8 support
  • Remove Dependency on ActionBarAPI
  • Colored/Coloured messages
  • Give speed instead of slowness
    (Because a Bandage slowing you down makes no sense)
  • Changed recipe to 1 wool and 1 paper gives one bandage, recipe is now shapeless
----------, Apr 18, 2016

- fixed possible started error [{<>_<>}]--|_D_E_R_P_|---------------/-/-/-/---
- I just made a screw up, yes, that really happens-------------------/-/-/-/----
----------, Apr 13, 2016

- Added Crafting Permission
The Crafting Permission is Bandage.Craft
- Added a Check for if Paper being held has ItemMeta but is not a Bandage
----------, Apr 13, 2016

Added a Crafting Recipe for Bandages
Recipe outputs 3 Bandages
This recipe is 1 piece of Paper surrounded by 8 pieces of Wool
Added Item Meta Detection checking, this plugin will now make sure that the Paper is named 'Bandage' in gold before using it
----------, Apr 12, 2016

- Added Cooldowns( @slimpyman @WAS )

Nothing else in this update, but it took a little while to code the CoolDownHandler and implement it into the OnBandage class so I'd appreciate a review on this one :D :D

I plan to try and release 7 updates a week, usually 1 a day, so keep your eyes out for new features on the way soon.

Thankyou for using BandageCraft.
----------, Apr 11, 2016

This update is not necessary, but I added some additional checks to make sure the bandages work as intended and started to implement cool-downs, this version has not been heavily tested and cool-downs will not work yet.
----------, Apr 11, 2016

- added 1.9.*/1.8.* support
- This and all future versions of this plugin now require ActionBarAPI, which can be downloaded here: https://www.spigotmc.org/resources/actionbarapi-1-8-1-9.1315/
Sorry for my inactivity, expect to see more from me coming soon.
Anyone who uses this, please leave a review, drop me a pm or simply tell me in the discussions page because it will really give me more of a reason to work on this project
----------, Apr 10, 2016

  • replaced spammy chat messages with action bar messages
  • added support for servers using plugins that set max health to > 20.0
  • started to impliment random slowness
----------, May 9, 2015

as I got 10 downloads within a day, thought I'd add perms for you guys :D
P e r m i s s i o n s
  • BandageCraft.Use - Permission to use bandages - CaSe SeNsItIvE
  • Edits
  • Okay, missed a few things off, fixed 2 errors and a few bugs also
----------, May 7, 2015

Resource Information
Author:
----------
Total Downloads: 12,923
First Release: May 6, 2015
Last Update: Feb 28, 2025
Category: ---------------
All-Time Rating:
16 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings