Blood In Minecraft icon

Blood In Minecraft -----

Add Blood In Minecraft !!! NO LAG! Per Player & Mob blood + bleeding feature! 1.9 to 1.21 Support



[​IMG]
(UPDATING FROM ANY VERSION TO 2.0 or newer, YOU NEED TO REMOVE THE WHOLE PLUGIN FOLDER SINCE THE PLUGIN HAS BEEN REMADE!!!)
Hello everyone!
First of all, Merry Christmas in late x')​

This update is the biggest I've done and even since the creation of the plugin! After modifying the plugin many times and adding features haphazardly I decided for these 8 years of development since 2016 to change things!

I present to you a total overhaul of the plugin, redone from scratch, completely optimized, the features reviewed, a simpler understanding of the plugin and its configuration.

(BEFORE UPDATING FROM ANY VERSION BELOW 2.0, YOU NEED TO REMOVE THE WHOLE PLUGIN FOLDER SINCE THE PLUGIN HAS BEEN REMADE!!!)

Here are the changes:

- The plugin now uses a SQLite database (local) to store the blood particles chosen by each player
- Better particle management to avoid lags
- The functionality of blocking blood particles and bleeding by the shield or by certain pieces of armor has been revised
- The bleeding part has been revised to work better and add a functionality to have a custom bandage with its own name and description and craft to make the object unique (can be disabled),
- The bleeding message has been revised to choose whether it is sent in the action bar or in the chat

Another big change is concerning the mobs:
- The configuration of the mobs is now done in a dedicated file "blood-mobs.yml"
- Many mobs have been fixed or have been added with the new updates of minecraft where the particles did not appear.

Another change, the commands have been revised:
(Command - Description - Permission)
- /blood set <block_type>
Set your own blood type. blood.set
- /blood player set <player> <block_type> Set the blood type for another player. blood.admin
- /bleeding start <player> Start bleeding for a specific player. bleeding.start
- /bleeding stop <player> Stop bleeding for a specific player. bleeding.stop
- /bleeding givebandage <player> Give a bandage to yourself or another player. bleeding.givebandage
- /mobreload Reload mob configuration. mobconfig.reload
- /mobset <mob> <setting> <value> Modify blood settings for a specific mob. mobconfig.set

- /bim Info command
- /bim reload Reload the plugin configuration. bim.reload

All commands now have a functional completion tab

Permissions have also been revised:
(Permission - Description)
- bim.player.setblood
Allows players to set their own blood type. (gived by default)
- bim.set.playerblood Allows admins to set blood types for other players.
- bleeding.bypass Allows a player to bypass the bleeding feature.
- bleeding.start Allows starting bleeding for a player.
- bleeding.stop Allows stopping bleeding for a player.
- bleeding.givebandage Allows giving bandages to yourself or other players.
- mobconfig.reload Allows reloading mob blood configuration.
- mobconfig.set Allows setting blood and particle settings for mobs.

- bim.reload Allow to reload the plugin configuration.

(The plugin can work before 1.20.1 but errors can happen, if this is the case, please DM me on discord: "yanisssch_sori")

The plugin may also have some errors due to the fact that everything has been redone, I test the plugin at the same time and will fix potential bugs as I go and do not hesitate to dm me on spigotmc or discord ("yanisssch_sori").

Don't worry few updates are planned to fix potential issues and add some features ;)

Also check my new plugin OreTracker: https://www.spigotmc.org/resources/...ing-and-xray-by-tracking-their-mining.115340/

BloodInMinecraft adds immersive and configurable blood effects for both players and mobs. With bleeding mechanics, custom particle effects, and numerous options for customization, this plugin enhances your gameplay with realistic visuals and mechanics. Whether you’re running an RPG server, a PvP arena, or just want more dynamic visuals, this plugin is a perfect fit.

If you encounter some bugs please tell me in PM or discord: "yanisssch_sori" (please send a message to tell it's about the bim plugin" ;)


The stats of servers and players who use this plugin:
[​IMG]

Since 2016, i never expect to get almost 45k downloads thank you for all the support!!

[​IMG]

  • Blood Effects:
    • Configurable blood particles when players or mobs take damage.
    • Configurable blood particles for each players (use a local SQLite database no configuration needed)
    • A menu to select the block you want to use as blood particle with /blood set (without any other arguments)
    • Special particles (e.g., flames, damage indicators) for added visual effects.(disabled by default)
    • Customizable materials, amounts, and particle types for blood effects.
    • Ability to disable blood in specific worlds or for certain mobs.
    • Ability to disable vanilla heart and critical particle when hit (need ProtocolLib)(disabled by default)
    • Allow or forbid a specific block using the bim.player.blood.<id of the block> (bim.player.blood.* to allow all) (this option is disabled by default in the config.yml) Also in the config.yml you can invert the system instead of allow a specific block you can forbid them so if you do bim.player.blood.oak_log with the invert disabled it allow to use this block as blood particle, and if you activate the invert feature it say this block is forbidden and the others are allowed ;)
  • Bleeding Mechanics: (disabled by default)*
    • Players can start bleeding based on damage probability.
    • Bleeding deals periodic damage and applies configurable potion effects (e.g., Slowness, Blindness).
    • Use bandages (custom items with craft, lore and name) to stop bleeding.
    • Effects can refresh with each damage tick, depending on configuration.
    • OP player bypass the bleeding feature (can be disabled in the config.yml) and player with a permission can bypass it (bleeding.bypass)
    * To enable it, go to the config.yml, and check "bleeding-enabled" and set it to "true"
  • Mob Blood Effects:
    • Specific settings for each mob in a separate configuration file (blood-mobs.yml).
    • Toggle blood effects per mob and world.
    • Fully configurable particle effects for mobs, including amount, type, and special effects.
  • Admin Tools:
    • Commands for managing player and mob blood settings.
    • Easy configuration reloading without restarting the server.
    • Tab completions for commands to simplify usage.
    • Update checker, now you know when the plugin have a new update on spigotmc (only on the console when the server start/restart)
    • When the config changed, the old one is moved in the backup folder (in the plugin folder) and a new one is generated to avoid any config issues (useful for version before 2.0)

[​IMG]

Material Blood Particle Types
ItemCrack Particle
https://imgur.com/jcGcM7Q

BlockCrack Particle
https://imgur.com/XTmRWOa

BlockDust Particle
https://imgur.com/RYmnZEx

FallingDust Particle
https://imgur.com/RQmbyCZ

Code (Text):
ITEM_CRACK(Default) =  (ItemTypeParticle) Will accept both item and block ItemStacks

BLOCK_CRACK= (BlockTypeParticle) MUST be from Materials that have #isBlock() equal to true, otherwise you will get an ERROR

BLOCK_DUST= (BlockTypeParticle) MUST be from Materials that have #isBlock() equal to true, otherwise you will get an ERROR

FALLING_DUST= (BlockTypeParticle) MUST be from Materials that have #isBlock() equal to true, otherwise you will get an ERROR

Code (Text):

(More special particle can exist since the newest versions)
FIREWORKS_SPARK
CRIT
FLAME
CLOUD
CRIT
WATER_WAKE
EXPLOSION_NORMAL
CRIT_MAGIC
PORTAL
SMOKE_NORMAL
SMOKE_LARGE
ENCHANTMENT_TABLE
DRAGON_BREATH
END_ROD
DAMAGE_INDICATOR
TOTEM
SPIT
SQUID_INK
BUBBLE_POP
NAUTILUS
SOUL_FIRE_FLAME
SOUL
REVERSE_PORTAL
SMALL_FLAME

CONFIG.YML:
Code (Text):
# ------------------------------------
#
# ___ _              _ ___      __  __ _                       __ _
#| _ ) |___  ___  __| |_ _|_ _ |  \/  (_)_ _  ___ __ _ _ __ _ / _| |_
#| _ \ / _ \/ _ \/ _` || || ' \| |\/| | | ' \/ -_) _| '_/ _` |  _|  _|
#|___/_\___/\___/\__,_|___|_||_|_|  |_|_|_||_\___\__|_| \__,_|_|  \__|
#                            ___    ___
#                           |__ \  / _ \
#                              ) || | | |
#                             / / | | | |
#                            / /_ | |_| |
#                           |____(_)___/
#
#    /!/ Made for 1.20.1 & + but should work for old versions/!/
#
#
# Config File
#
# (The blood configuration for the mobs moved to blood-mobs.yml since the 2.0 version)
# ------------------------------------
# --------------------
#
# General Configuration
#
# --------------------
# Default blood type for players. Use Minecraft block material names.
# Players can change their blood particle with /blood set (id)
# Example: REDSTONE_BLOCK, EMERALD_BLOCK, etc.
default-blood: REDSTONE_BLOCK

# Players have to get the bim.player.blood.<block_id> permission to use the block particle as blood particle (bim.player.blood.* for all blocks)
require-block-permission: false
# Instead of bim.player.blood.<block_id> and bim.player.blood.* permission allowing certain blocks it prohibits them.
permission-inverted: false
# --------------------
#
# Particle Configuration
#
# --------------------
# Default particle type for blood effects.
# Available types: ITEM_CRACK, BLOCK_CRACK, BLOCK_DUST, FALLING_DUST
particle-type: BLOCK_CRACK

# Number of particles spawned during a blood effect.
particle-count: 15

# Allow you to disable the vanilla heart particle when you hit an entity (can affect all the effect using the heart particle)
# (ProtocolLib Needed for both | Set true if you want to enable the feature)
disable-heart-particles: false
# Allow you to disable the vanilla crit particle when you hit an entity with a critical hit (can affect all the effect and animations using the crit particle)
disable-crit-effects: false
# --------------------
#
# World Configuration
#
# --------------------
# Worlds where blood effects are disabled. Add the names of the worlds below.
# Example: world_nether, world_the_end
blood-disabled-worlds:
  - world_example
  - world_the_example

# --------------------
#
# Equipment Configuration
# This part affect the blood particle and the bleeding feature
#
# --------------------
# Should holding a shield block blood effects?
block-blood-with-shield: true

# List of armor types that block blood effects. Use Minecraft item material names.
blocked_armor:
  - DIAMOND_HELMET
  - DIAMOND_CHESTPLATE
  - DIAMOND_LEGGINGS
  - DIAMOND_BOOTS
armor-requirement-mode: "ANY" # Options: "ANY" (only one armor item block the blood particle and bleeding) ou "ALL" (need all armor item to block the blood particle and bleeding)

# --------------------
#
# Special Particle Settings
#
# --------------------
# Enable or disable special particles
special-particles-enabled: false

# Default special particle type
# Working Special Particle Type: FIREWORKS_SPARK, CRIT, FLAME, CLOUD, CRIT, WATER_WAKE, EXPLOSION_NORMAL, CRIT_MAGIC, PORTAL, SMOKE_NORMAL, SMOKE_LARGE
# ENCHANTMENT_TABLE, DRAGON_BREATH, END_ROD, DAMAGE_INDICATOR, TOTEM, SPIT, SQUID_INK, BUBBLE_POP, NAUTILUS, SOUL_FIRE_FLAME, SOUL, REVERSE_PORTAL, SMALL_FLAME
special-particle-type: CRIT_MAGIC

# Number of special particles to spawn
special-particle-count: 5

# --------------------
#
# Bleeding System
#
# --------------------
bleeding-enabled: false # Set true to enable the bleeding feature
bleeding-chance: 25
bleeding-damage: 2
bleeding-duration: 10
bleeding-interval: 2
bleeding-effects:
  - "BLINDNESS:2:5" # Effect, level, duration (in seconds)
  - "SLOW:1:2"
bleeding-effects-refresh: false # If true, effects are applied to each bleed damage
bleeding-disabled-worlds:
  - creative_world

# Message system for bleeding
bleeding-message-enabled: true
bleeding-message-type: ACTION_BAR # Options: ACTION_BAR, CHAT
bleeding-message: "&cYou are bleeding! Find a bandage to stop it!"

# Item to stop bleeding
bleeding-stop-item:
  type: PAPER
  use-custom-item: true # If set false it will use the normal item without custom name or lore
  custom-name: "&aBandage"
  lore:
    - "&7Stops bleeding when used."
    - "&eHandle with care."
  custom-craft:
    enabled: true
    recipe:
      - " S "
      - "SBS"
      - " S "
    ingredients:
      S: STRING
      B: PAPER

# Bypass settings
bleeding-bypass-enabled: true # Does op players bypass bleeding? (do not affect the "bleeding.bypass" permission)

# --------------------
#
# Other
#
# --------------------

update-checker:
  enabled: true

# --------------------
#
# Thank you for using and supporting BloodInMinecraft since 2016!
#
#     Config End
# --------------------
 

[​IMG] Commands:
(Command - Description - Permission)
- /blood set
Set your own blood type using the menu. blood.set
- /blood set <block_type> Set your own blood type with a specific block without the menu. blood.set
- /blood player set <player> <block_type> Set the blood type for another player. blood.admin
- /bleeding start <player> Start bleeding for a specific player. bleeding.start
- /bleeding stop <player> Stop bleeding for a specific player. bleeding.stop
- /bleeding givebandage <player> Give a bandage to yourself or another player. bleeding.givebandage
- /mob reload Reload mob configuration. mobconfig.reload
- /mob set <mob> <setting> <value> Modify blood settings for a specific mob. mobconfig.set

- /bim Info command
- /bim reload Reload the plugin configuration. bim.reload
Permissions:
(Permission - Description)
- bim.player.setblood
Allows players to set their own blood type. (gived by default)
- bim.player.blood.<id of the block> (bim.player.blood.* for all) Allow or forbid a specific block to use as blood particle (if the option is enable in the config.yml)
- bim.set.playerblood Allows admins to set blood types for other players.
- bleeding.bypass Allows a player to bypass the bleeding feature.
- bleeding.start Allows starting bleeding for a player.
- bleeding.stop Allows stopping bleeding for a player.
- bleeding.givebandage Allows giving bandages to yourself or other players.
- mobconfig.reload Allows reloading mob blood configuration.
- mobconfig.set Allows setting blood and particle settings for mobs.

- bim.reload Allow to reload the plugin configuration.


Installation:

  1. Download the plugin .jar file.
  2. Place it into the plugins folder of your server.
  3. Restart the server to generate the configuration files.
  4. Modify config.yml and blood-mobs.yml as needed.
  5. Use /bim reload or /mobreload to reload the configuration without restarting the server.*
* I suggest you to restart the server to be sure everything is saved


DEPENDENCIES:

- ProtocolLib ( Soft depend, not needed!, only if you want to disable vanilla heart and crit particle)
- WorldGuard & WorldEdit ( Soft depend, not needed!, Just the region protection work for pvp and no fall damage or mob-damage damage so no false blood particle)


SERVERS TO TEST THE PLUGIN:
If you want your server here tell me in review or pm ^^

- BIM Test server will be soon on

[​IMG]
Thanks to every donators to help me to buy some coffee x)
- SlimeDog 5$


Terms of service:
[I]You are not permitted to redistribute my plugin in any form, including as a part of any software package[/I]
[I]- You are not allowed to post the plugin elsewhere..[/I]
[I]- You are not permited to reverse engine or modify the plugin in any form[/I]
[I]- You are not permited to see the source code[/I]

Dowload:
100: Yessssssss Thanks you Very Much
1000:yessssssssssssssssssssssssssssssssssssssssssssss
1500????: yes RIP

2000: Wonderful!!!!
2500: Too Much
3000: UNBELIEVABLE
7000: WTF?!
8000: I never expect that x)
18k: Can't realize
20k: OH!!!
30k: How?!

----------------------------------------------------------------------------------------------
Do you have a suggestion? Let me know in MP or discord(yanisssch_sori)! I may add it!
---
Plugin Made In France |||||||||
---
Resource Information
Author:
----------
Total Downloads: 48,501
First Release: Nov 9, 2016
Last Update: Feb 7, 2025
Category: ---------------
All-Time Rating:
21 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings