HomeJavaModsRealistic Injuries
Realistic Injuries
Realistic Injuries
Realistic Injuries adds multiple types of injuries to the game to spice up your servers difficulty.

Features:

-Breaking/Fracturing Bones-

If a player falls 4 blocks, they will fracture a random leg. If a player falls more than 4 blocks they will break their legs. If a player is in an explosion, it may break one of their bones or fracture their skull. When a players leg is fractured, they will have a permanent slowness 3 effect until healed by a cast, or after a set amount of time in the config. When a players leg is broken, they will have a permanent slowness 5 effect until healed by cast. If a player fractured their skull, they will have a permanent blinding effect and must right click on a bed to rest and heal themselves (Does not need to be night)

-Bleeding-
If a player is shot by an arrow / hit with an item from the bleedItems list in the config they will start to bleed. If a player is wearing armor, depending on the armor level they will have less of a chance to bleed. (Bleed chance can be changed in config)
You may heal bleeding with a bandage.

-Clotting-
If a player is bleeding, after a set amount of time (changeable in config) they will stop bleeding.

-Infection-
If a player is hit by a zombie, they will have a 50% chance to be bit. If they're wearing leggings, they will have a 25% chance of getting bit. If the player is bit, they will suffer infection. Infection gives the players the following effects:
- Poison
-Mining Fatigue
-Nausea
The only way to cure the infection, they will have to drink the cure.

Custom Items:

-Cast-
When a player right clicks on the cast it will open up a gui that shows them their body status. When a player right clicks on a cast aiming at a player, it will open up a gui showing them the players body status. If they click on an injured body part, it will heal that body part.
Gui:
Spoiler: GUI
ezgif-4-a92ec14f7bf5 (1).gif
Recipe:
Spoiler: Recipe
CastRecipe.PNG

-Bandage-
When a player starts bleeding, they can right click with a bandage in their hand and it will stop their bleeding.

Recipe:
Spoiler: Recipe
upload_2020-4-30_18-52-52.png

-The Cure-
When a player drinks the cure it will cure them of all infection from a zombie bite.

Recipe:
Spoiler: Recipe
Curerecipe.PNG


Commands:
commands.PNG

Stats Gui:
Spoiler: GUI
[​IMG]


Permissions:

ri.craft - Allows players to craft the custom items
ri.give - Allows player to give custom items

Config:
DON'T CHANGE ANYTHING IN THE ISTORE FILE, IT MAY BREAK THE PLUGIN.

The Config contains the following settings so you may tweak aspects of the plugin to your wish:

Messages:
biteMessage - The message sent to the player when they get bit
legBreakMessage - The message sent to the player when they break their leg
legFracMessage - The message sent to the player when they fracture their leg

autoHealMessage- The message sent to the player when their fractured bone heals over time
cureMessage- The message that sends when a player cures themselves
healMessage- The message that sends when a player uses a cast
healPlayerMessage- The message that sends when a player uses a cast on another player. (%player% is the player that was clicked)
healErrorMessage- The message sent when a player uses a cast on an already healed part
explosionMessage- The message sent to the player after getting in an explosion
brokeEquipMess- The message sent to the player when they equip an item with a broken arm
skullHealMess- The message sent to the player when they heal their skull
drinkMilkMsg- The message sent to the player when they try and drink milk while injured to clear their effects
Mechanics:
enableBite - Enables zombies biting on the server
enableBleeding - Enables bleeding on the server
enableBreakLegs: Enables breaking legs on the server
enableLeggingProbability - Enables when the player has leggings on, it halves your bite probability

fracture_heals_automatically- Enables fractures to heal automatically
enableBreakByExplosion - Enables breaking bones from explosion on server
shieldBlocksBite- If true, using a shield will block a zombie bite.
enableClotting- Enables blood clotting on the server.
Other:
bleedItems - A list of items a player can hit another player with that will cause them to bleed
clotTime- The amount of time (in seconds) it takes for bleeding to heal
armorBleedProbability- Refer to explanation below

biteProbability- The percent chance you will be bit by a zombie when it attacks you
healTime- The time in seconds it takes for the player to heal their fractured bone automatically
language- The language this plugin uses, refer to supported languages below.

Armor Probability Explanation:
(Half a chestplate on the armor bar = 1 level)
Bleeding uses the armor level to dictate the probability of bleeding.
For example, in the default config less-or-equal-7 is 75 which means if the armor level is less than or equal to 7, the player will have a 75% chance to bleed.
-1 means they will never bleed.
If the armor level is 0, the player will always bleed.

Full Set Levels:
Full Leather Armor = 7 levels
Full Golden Armor = 11 levels
Full Diamond Armor = 15 levels
Full Diamond Armor = 20 levels


Language File:
If you'd like to customize names and such, refer to the language file and change these settings under your language
bandname- The name of the bandage item
bandlore- The lore of the bandage item
castname- The name of the cast item
castlore- The lore of the cast item
curename- The name of the cure item
curelore- The lore of the cure item
repairname- The name of the repair gui
statsname- The name of the stats gui
leftleg- The name of the left leg in the gui
rightleg- The name of the right leg in the gui
leftarm- The name of the left arm in the gui
rightarm- The name of the right arm in the gui
head- The name of the head in the gui
bitten- What bitten shows up as in the gui
cured- What cured shows up as in the gui
broken- What broken shows up as in the gui
fractured- What fractured shows up as in the gui
intact- What intact shows up as in the gui

Default Config:
Code (YAML):
language : EN
mechanics
:
  enableBite
: true
  enableBleeding
: true
  enableBreakLegs
: true
  enableBreakByExplosion
: true
  shieldBlocksBite
: true
  enableClotting
: true
  enableLeggingProbability
: true
  fracture_heals_automatically
: true
messages
:
  biteMessage
: You feel the zombie sink its teeth into your flesh
  legBreakMessage
: You hear your legs snap beneath you
  legFracMessage
: You feel a sharp pain shoot through your leg
  explosionMessage
: You were blown with such force it broke one of your bones!
  cureMessage
: '&aYou have been cured!'
  healMessage
: '&aYou have been healed!'
  healErrorMessage
: '&cYou cannot heal an already healed body part!'
  healPlayerMessage
: '&aYou have healed %player%!'
  autoHealMessage
: '&aYour fractured leg has seemed to heal over time'
  brokeEquipMess
: '&cYour arm is broken, you cannot equip an item'
  skullHealMess
: '&aYou have rested and healed your skull'
bleedItems
:
- DIAMOND_SWORD
- IRON_SWORD
- STONE_SWORD
- WOOD_SWORD
- DIAMOND_AXE
- IRON_AXE
- STONE_AXE
- WOOD_AXE
armorBleedProbability
:
  less-or-equal-7
: 75
  less-or-equal-11
: 50
  less-or-equal-15
: 25
  less-than-20
: 10
  equal-20
: -1
clotTime
: 120
biteProbability
: 50
healTime
: 300
 
Supported Languages:
-EN
-ES
-ZH(Chinese)

If you'd like me to add your native language to the server, please refer to the languages file and provide me with translations of those values.



If you've found any bugs or have any ideas for features, post it in the discussions tab (Not the review section). F or faster response, you can contact me on discord @ant#3783

(Before reporting bugs, be sure you're on the latest spigot version in buildtools)




Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Realistic Injuries is a free Minecraft Java mod. Compatible with Minecraft 1.15. Downloaded 9,685 times (via Spigot). Download it and open it directly in the game.

Explore more