When the player is killed and dies, the sound will work

Overview

KillDeathSound | v1.0.0


✔️ When the player is killed and dies, the sound will work ✔️


Features

  • When the player is killed and dies, the sound will work

Config

---
# config.yml
# You can see the list of sound effects at this link: https://www.digminecraft.com/lists/sound_list_pe.php
# Player Death
death:
  sound: "random.explode" # Sound name
  volume: 1 # Volume sounds
  pitch: 1 # Pitch sounds

# Player Kills
kill:
  sound: "random.levelup" # Sound name
  volume: 1 # Volume sounds
  pitch: 1 # Pitch sounds
...

↓ 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
You might also like...
SpawnInLobby Pocketmine-MP plugin. With this plugin the player will always join the game at the default world spawn point

SpawnInLobby Pocketmine-MP plugin. With this plugin the player will always join the game at the default world spawn point

Recoded, added features, removed useless stuff, more efficent code, PER PLAYER TEXT
Recoded, added features, removed useless stuff, more efficent code, PER PLAYER TEXT

WFT - 1.2.0 (BETA) Hello, and welcome to WFT. NOW IN API 4.0 This is the official recode of my old plugin WFT, witch had some issues. Overall I was no

Laravel package allows you to generate a YouTube player from a video link.
Laravel package allows you to generate a YouTube player from a video link.

Youtube Frame Generator Laravel package allows you to generate an iframe tag with a video player depending on a youtube URL. 1 - Dependency The first

Oui player - Manage configurable media players in @Textpattern CMS

oui_player Introduction An extendable plugin to easily embed customized audio and video players. . This plugin does not use oembed, it builds iframe e

Musicoker is a music player made by Laravel & Reactjs
Musicoker is a music player made by Laravel & Reactjs

Musicoker | Music Player Music player created with Laravel 8 and React 17.0.2 ReactJs Laravel MySQL Used Packages: Sanctum Getid3 Bootstrap React Rout

A plugin to test Server-getPlayerExact() vs Mapusername, Player performance

PeformanceTests A plugin to test Server-getPlayerExact() vs Mapusername, Player performance Timings with Server-getPlayerExact() https://timings.p

This Plugin runs commands when a player does a certain emote
This Plugin runs commands when a player does a certain emote

The EmoteCommands Plugin This Plugin runs commands when a player does a certain emote You will need a pocketmine server of at least version 4.0.0 Usag

NoFly is a PocketMine-MP plugin that doesn't allow the player to fly

NoFly is a PocketMine-MP plugin that doesn't allow the player to fly

API plugin to open a dialog for choosing another player.

ChoosePlayer API plugin for choosing a player interactively. API Let player select another player This API method opens a dialog to let player $choose

Comments
  • Crash

    Crash

    :41:35 UTC 2022

    PocketMine-MP version: 4.3.2 [Protocol 503] Git commit: 755ca1af9b1b69226a6ed4597dc947aeec8088fe PHP version: 8.0.17 OS: Linux, linux

    THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: KillDeathSound

    Error: Call to a member function getPosition() on null File: plugins/KillDeathSound_dev-78.phar/src/NoobMCBG/KillDeathSound/KillDeathSound Line: 82 Type: Error Backtrace: #0 pmsrc/src/event/RegisteredListener(75): NoobMCBG\KillDeathSound\KillDeathSound->onDeath(object pocketmine\event\player\PlayerDeathEvent#275547) #1 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerDeathEvent#275547) #2 pmsrc/src/player/Player(2207): pocketmine\event\Event->call() #3 pmsrc/src/entity/Entity(553): pocketmine\player\Player->onDeath() #4 plugins/AntiCombatLog_v1.0.0.phar/src/Electro/AntiCombatLog/AntiCombatLog(83): pocketmine\entity\Entity->kill() #5 pmsrc/src/event/RegisteredListener(75): Electro\AntiCombatLog\AntiCombatLog->onQuit(object pocketmine\event\player\PlayerQuitEvent#179822) #6 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent#179822) #7 pmsrc/src/player/Player(2094): pocketmine\event\Event->call() #8 pmsrc/src/network/mcpe/NetworkSession(582): pocketmine\player\Player->onPostDisconnect(string[17] client disconnect, NULL ) #9 pmsrc/src/network/mcpe/NetworkSession(515): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe{closure}() #10 pmsrc/src/network/mcpe/NetworkSession(584): pocketmine\network\mcpe\NetworkSession->tryDisconnect(object Closure#360062, string[17] client disconnect) #11 pmsrc/src/network/mcpe/raklib/RakLibInterface(151): pocketmine\network\mcpe\NetworkSession->onClientDisconnect(string[17] client disconnect) #12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(75): pocketmine\network\mcpe\raklib\RakLibInterface->onClientDisconnect(integer 6, string[17] client disconnect) #13 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#94731) #14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib{closure}() #15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() #16 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652542895.8927) #17 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor() #18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/) #19 pmsrc/src/PocketMine(327): pocketmine\server() #20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

    Code: [73] $volume = $this->getConfig()->getAll()["kill"]["volume"]; [74] $pitch = $this->getConfig()->getAll()["kill"]["pitch"]; [75] foreach($this->getConfig()->getAll()["kill"]["sound"] as $soundName){ [76] $this->playSound($damager, $soundName, $volume, $pitch); [77] } [78] } [79] } [80] if($this->getConfig()->getAll()["kill"]["blood"] == true){ [81] if($this->getConfig()->getAll()["kill"]["blood-all-entity"] == true){ [82] $this->addBlood($damager->getPosition()); [83] }else{ [84] if($damager instanceof Player){ [85] $this->addBlood($damager->getPosition()); [86] } [87] } [88] } [89] } [90] } [91]
    [92] /**

    opened by xodamcm 1
  • Error.

    Error.

    THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: KillDeathSound

    Error: foreach() argument must be of type array|object, string given File: plugins/KillDeathSound_dev-67.phar/src/NoobMCBG/KillDeathSound/KillDeathSound Line: 99

    opened by Coot302 1
Releases(v3.0.2)
Owner
Noob MCBG
Hi, am NoobMCBG I work in PHP
Noob MCBG
A plugin that allows you to hear the sound "Welcome to the server!" when you join the server by NhanAZ for PocketMine-MP

General A plugin that allows you to hear the sound "Welcome to the server!" when you join the server by NhanAZ for PocketMine-MP Contacts You can cont

NhanAZ's PocketMine-MP Plugins 10 Sep 27, 2022
A PHP Library To Make Your Work Work Easier/Faster

This Is A Php Library To Make Your Work Easier/Faster,

functionality 2 Dec 30, 2022
This plugin gets player time while playing and leaderboard

TopNolep TopNolep is a plugin that retrieves the game time the player was on the server during, not only that, topnolep now provides a leaderboard tha

Edo 5 Oct 22, 2021
A PocketMine-MP plugin to regulate player hunger and prohibit eating certain foods easily

NoEats A PocketMine-MP plugin to regulate player hunger and prohibit eating certain foods easily. Features Managing hunger. Permission bypass. Support

null 2 Jan 16, 2022
Plugin that allows a player to morph into mobs

BurgerMorphs This plugin adds a Morphs system to PMMP. Players can morph into most mobs available in the game. Players can also morph into baby versio

null 5 Aug 28, 2022
This is a plugin for pocketmine-mp, when locking a player's items helps players not to lose items or throw things around causing server lag.

[] LockedItem| v1.0.0 Player's item lock Features Player's item lock Players aren't afraid of losing items For Devolopers You can access to LockedItem

JeroGamingYT 3 Jan 4, 2022
It's MX Player API gives All Content in JSON format

?? MXPlayer API ?? ?? MXPlayer API Can get Streaming URLs and Other Data in JSON Format From mxplayer.in links for Streaming ?? How to Use : ?? Method

Techie Sneh 8 Nov 30, 2021
A PocketMine-MP plugin to cancel the player's sprint

NoSprint A PocketMine-MP plugin to cancel the player's spint. Features Permissions bypass. Custom messages. Per world support. Lightweight and open so

null 3 May 17, 2022
Displaying damage when hitting a player

DamageIndicator Displaying damage when hitting a player Information Command: No Permission: Coming soon Settings: Settings in config.yml How to use ?

kostamax27 2 Oct 13, 2021
A Pocketmine-MP (PMMP) leaderboard plugin that shows player statistics on a website.

WebLeaderBoard A Pocketmine-MP (PMMP) leaderboard plugin that shows all sorts of statistics on a website. Setup Guide To start using the plugin, downl

ItsMax123 6 Apr 5, 2022