KillDeathSound
KillDeathSound | v3.0.4
✔️ When the player is killed and dies, the sound will work ✔️
✔️ Can be set to work or not ✔️
✔️ added sound when hitting or archery hits the enemy ✔️
✔️ Can access to KillDeathSound ✔️
✔️ Generates blood particles when killed, killed, punched, and hit by archery ✔️
✔️ It is possible for all entities to bleed when punching, arching, killing, dying ✔️
✔️ Customizable Add Blood Particle to attacker ✔️
Update
Update State
Can be set to work or not ✔️
added sound when hitting or archery hits the enemy ✔️
Can access to KillDeathSound ✔️
Generates blood particles when killed, killed, punched, and hit by archery ✔️
It is possible for all entities to bleed when punching, arching, killing, dying ✔️
Customizable Add Blood Particle to attacker ✔️
add addBlood() and addBloodAt() for Developer ✔️
Update config version ✔️
Features
-
When the player is killed and dies, the sound will work
-
Generates blood particles when killed, killed, punched, and hit by archery
-
added sound when hitting or archery hits the enemy
Config
config.yml
██╗░░██╗██╗██╗░░░░░██╗░░░░░██████╗░███████╗░█████╗░████████╗██╗░░██╗░██████╗░█████╗░██╗░░░██╗███╗░░██╗██████╗░
██║░██╔╝██║██║░░░░░██║░░░░░██╔══██╗██╔════╝██╔══██╗╚══██╔══╝██║░░██║██╔════╝██╔══██╗██║░░░██║████╗░██║██╔══██╗
█████═╝░██║██║░░░░░██║░░░░░██║░░██║█████╗░░███████║░░░██║░░░███████║╚█████╗░██║░░██║██║░░░██║██╔██╗██║██║░░██║
██╔═██╗░██║██║░░░░░██║░░░░░██║░░██║██╔══╝░░██╔══██║░░░██║░░░██╔══██║░╚═══██╗██║░░██║██║░░░██║██║╚████║██║░░██║
██║░╚██╗██║███████╗███████╗██████╔╝███████╗██║░░██║░░░██║░░░██║░░██║██████╔╝╚█████╔╝╚██████╔╝██║░╚███║██████╔╝
╚═╝░░╚═╝╚═╝╚══════╝╚══════╝╚═════╝░╚══════╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░╚═╝╚═════╝░░╚════╝░░╚═════╝░╚═╝░░╚══╝╚═════╝░
You can see the list of sound effects at this link: "https://www.digminecraft.com/lists/sound_list_pe.php"
Don't Change It!
config-version: 3.0.4
Player Death
death: addsound: true blood: true blood-all-entity: true # Add Blood Particle to all entity hit, arching sound: # Sound name
- "random.explode" volume: 1 # Volume sounds pitch: 1 # Pitch sounds
Player Kills
kill: addsound: true blood: true blood-all-entity: true # Add Blood Particle to all entity hit, arching sound: # Sound name
- "random.levelup"
- "random.totem" volume: 1 # Volume sounds pitch: 1 # Pitch sounds particle: # Particle death
Player Hit & Archery
hit: addsound: true blood: true blood-all-entity: true # Add Blood Particle to all entity hit, arching blood-to-attacker: false # Add Blood Particle to attacker sound: # Sound name
- "random.orb" volume: 1 # Volume sounds pitch: 1 # Pitch sounds ...
For Developer
-
You can access to KillDeathSound by using KillDeathSound::getInstance()
-
Add sound usage:
event->getPlayer(); volume = 1; player, volume, $pitch);
- Add Blood Particle usage:
event->getPlayer()->getPosition(); KillDeathSound::getInstance()->addBlood($position);
// or
event->getPlayer()->getPosition()->getX(); event->getPlayer()->getPosition()->getY(); event->getPlayer()->getPosition()->getZ(); event->getPlayer()->getPosition()->getWorld(); KillDeathSound::getInstance()->addBloodAt(y, world);
Install
-
Step 1: Click the Direct Download button to download the plugin
-
Step 2: move the file KillDeathSound.phar into the file plugins
-
Step 3: Restart server for plugins to work