GithubHelp home page GithubHelp logo

ahmedhozny / eventsounds Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 314 KB

A Pocketmine-MP plugin that plays a sound when an event is called.

Home Page: https://poggit.pmmp.io/p/EventSounds

License: GNU Lesser General Public License v3.0

PHP 100.00%

eventsounds's Introduction

EventSounds

Description

A Pocketmine-MP plugin which plays a sound when calling an event.

Configuration

A configuration file (config.yml) and a helpful file with the available ids (Until now) will be created automatically when your server enables the plugin. Default settings will be used unless you change them in config.yml

configVersion: 2 Don't make any changes here

Sounds IDs can be found in soundsIDs.txt. or here

For more information about sounds and events, see the wiki

TODO

  • Add more sounds
  • Start working on external sounds and music

Contribution:

Feel free to contribute if you have ideas or found an issue. Links:

Licensing information

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

eventsounds's People

Contributors

ahmedhozny avatar poggit-bot avatar donquih0te avatar

Stargazers

olbld avatar  avatar Orest avatar KHAV avatar  avatar

Watchers

 avatar YUNK avatar  avatar  avatar  avatar

Forkers

blackwebpes

eventsounds's Issues

Add bow hit sound and kill sound

A bow hit event would be cool, not when you are hit with a bow, but when you get a hit on someone else. A kill event would also be nice so if its say a 2v1 you would know if you got the kill or not according to sound.

ERROR -Altay 3.0.6

CRITICAL > 이벤트 'pocketmine\event\player\PlayerJoinEvent'을(를) 'EventSounds v0.4.2'에 전달할 수 없습니다: killer549\eventsounds\EventListener에서의 Call to undefined method pocketmine\Player::batchDataPacket()
16:42:19 CRITICAL > Error: "Call to undefined method pocketmine\Player::batchDataPacket()" (EXCEPTION) in "EventSounds-master/src/killer549/eventsounds/SoundPlayer" at line 51
16:42:19 DEBUG > _0 EventSounds-master/src/killer549/eventsounds/EventSounds(92): killer549\eventsounds\SoundPlayer->__construct(killer549\eventsounds\EventSounds object, integer 1022, integer 3, pocketmine\Player object)
16:42:19 DEBUG > _1 EventSounds-master/src/killer549/eventsounds/EventListener(45): killer549\eventsounds\EventSounds->Manager(pocketmine\Player object, string PlayerJoinEvent)
16:42:19 DEBUG > _2 src/pocketmine/plugin/MethodEventExecutor(38): killer549\eventsounds\EventListener->onJoin(pocketmine\event\player\PlayerJoinEvent object)
16:42:19 DEBUG > _3 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(killer549\eventsounds\EventListener object, pocketmine\event\player\PlayerJoinEvent object)
16:42:19 DEBUG > _4 src/pocketmine/plugin/PluginManager(753): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerJoinEvent object)
16:42:19 DEBUG > _5 src/pocketmine/Player(1068): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerJoinEvent object)
16:42:19 DEBUG > _6 src/pocketmine/Player(1016): pocketmine\Player->doFirstSpawn()
16:42:19 DEBUG > _7 src/pocketmine/level/Level(2550): pocketmine\Player->sendChunk(integer -5, integer 3, pocketmine\network\mcpe\protocol\BatchPacket object)
16:42:19 DEBUG > _8 src/pocketmine/level/Level(2596): pocketmine\level\Level->sendChunkFromCache(integer -5, integer 3)
16:42:19 DEBUG > _9 src/pocketmine/network/mcpe/ChunkRequestTask(90): pocketmine\level\Level->chunkRequestCallback(integer -5, integer 3, pocketmine\network\mcpe\protocol\BatchPacket object)
16:42:19 DEBUG > _10 src/pocketmine/scheduler/AsyncPool(298): pocketmine\network\mcpe\ChunkRequestTask->onCompletion(pocketmine\Server object)
16:42:19 DEBUG > _11 src/pocketmine/Server(2562): pocketmine\scheduler\AsyncPool->collectTasks()
16:42:19 DEBUG > _12 src/pocketmine/Server(2320): pocketmine\Server->tick()
16:42:19 DEBUG > _13 src/pocketmine/Server(2233): pocketmine\Server->tickProcessor()
16:42:19 DEBUG > _14 src/pocketmine/Server(1794): pocketmine\Server->start()
16:42:19 DEBUG > _15 src/pocketmine/PocketMine(241): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\ghkst\Desktop\Altay-master, string C:\Users\ghkst\Desktop\Altay-master\plugins)
16:42:19 DEBUG > _16 C:/Users/ghkst/Desktop/Altay-master/Altay.phar(1): require_once(string phar://C:/Users/ghkst/Desktop/Altay-master/Altay.phar/src/pocketmine/PocketMine.php)

Request

Add Audio From PC support for anything

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.