In the config - Line 20/21 (true/false)
/pb death - Enables/Disables Messages
/pb admin - Opens the admin GUI, click the skeleton skull to Enable/Disable
This update has some bug fixes, some code clean ups and most importantly.. additional content!
BIG THANK YOU FOR 2,000+ DOWNLOADS!!
Fixes: - mobs dropped both items on death.
- made Dmg Holograms less likely to be fixed in the world (Unfortunately if your server TICKS out of line for a brief second while the plugin is handling the spawning and de-spawning of the hologram I'm afraid that is forever stuck there.. I cant fix that chance of it occurring)
Bugs: - SQUASHED
Added: - Custom Death Messages with Colour Code support (&c &b &5 &3 &6 Etc.) ! Admins can change this via the new config that's created upon sever start. (If the contents aren't loaded on server start, have no fear, I've added a backup when a player joins. If the message defaults are there then the backup wont function and will notify you in the console that they already exist.)
- Bleeding Effect (For now this is just a random chance to have the Wither potion effect giving to the player for infinite time until death or if the player uses a Bandage.) There is a command switch for this affect and a switch on the admin GUI.
- Bandages! (The layer can craft this item by putting 1 wool block and 2 string into a workbench or if an admin uses the admin GUI to summon one. This item is to stop bleeding aka remove withering as drinking Milk wont remove it)
The bleeding effect is only temporary while I run some tests on a smooth functioning runnable task to handle bleeding, its coming.. just not perfect yet.
Just an update to optimise some features within the plugin.
After demand via my discord support server, I've RE ADDED Life Essence and Dragons Essence. Though this time I have added a switch to Enable/Disable Blood Items via Command/GUI Menu for those who wish to not use it as Dragons Essence is OP in some opinions.
ADDED: Mob damage indicator - To go along with the blood effect, I've added a dmg indicator that spawns a hologram (invisible Armor stand) for 5 seconds before vanishing.
this can be toggled in the config or via the Admin panel. The icon can also be changed via the config. (PLEASE USE UNICODE FOR THIS (example: \u2764) although the yml will already translate that to an icon when you load the plugin).
Blood Sacks can now be traded in for Golden Blood Sacks (which have a 10% chance to drop naturally)
Golden Blood Sacks give you powerful effects for 25 seconds, this however is then locked by a cooldown period (Configurable in the config under "Mob-Blood")
Golden Sacks can also be traded in for a Netherite Sword with some enchants and a +2 Damage modifier.
The trade menu can be accessed via the Admin gui (/pb admin) or via the player command (/pb gui).
I have implemented sign support (it only opens the trade menu for now) and is created by using OAK_SIGN then placing [blood] on the first line (its not case sensative)
using the toggle commands will now send Title and SubTitle rather than a msg in the chat but the chat msg is still active when using buttons in the admin panel.
New mob drop with a random chance set in the config (CHANCE IS 0.01 - 1.0 (DEFAULT SET IN CONFIG IS 0.25 (25% Chance))).
This will drop an item called "Blood Sack", Players right click this item and it will give them full health and saturation.. a bit like voldy in harry potter drinking the unicorn blood in the second movie aha
this obviously means a cooldown was added so the admin can determin how long inbetween usage it will work regardless of health level. when its used it starts a cooldown (set in config as seconds (DEFAULT TIME IS 20 (seconds))). This will also remove 1 from the blood sack ItemStack the Player is holding at the time of usage.
The permission for this is set to DEFAULT so admins dont have to give it out for players to use the blood sacks. FYI the node is pb.heal
Added: - Permission node: pb.toggle - To use /pb [player/passive/neutral/hostile] - Toggle Commands For Each Catagory Type. - Toggle Command For Player
Just sqaushing some bugs that were being thrown when the blood effect was being played, for some reason i coded it to check the entity was player.. i have removed this and behold.. no bugs