Coder Social home page Coder Social logo

inxomnyaa / pocketradio Goto Github PK

View Code? Open in Web Editor NEW
38.0 4.0 9.0 69 KB

A lightweight .NBS song player for PocketMine Servers

Home Page: https://poggit.pmmp.io/ci/inxomnyaa/PocketRadio/~

License: GNU General Public License v3.0

PHP 100.00%
nbs noteblockstudio pocketmine radio songs nbs-songs pmmp-plugin pmmp noteblock hacktoberfest

pocketradio's Introduction

PocketRadio

A lightweight .NBS song player for PocketMine Servers

Prerequisites

When downloaded from poggit, none.

When manually installing from source, you must install the virions

Setup

  • Add the plugin to the plugins folder
  • Put your .nbs files into the generated "songs" folder and restart the server
  • The songs will automatically start to play when a player joins the server

Commands

Use /radio to open the radio interface

Use /radio next to skip the current song (global)

Use /radio volume to change your volume (per player)

Use /radio pause to pause or unpause playback (global)

Use /radio select to play a specific song (global)

Planned changes

  • Change the radio interface to allow searching ✔, skipping ✔, looping songs or playlists
  • Add looping ✔, toggle shuffle mode ✔, playlists ✔, per-user songs
  • World settings (plobably done via external plugin)

API

https://github.com/inxomnyaa/PocketRadio/wiki

Where do i get .nbs files?

You can find a collection of .nbs songs here: https://forums.pmmp.io/threads/200-nbs-songs.294/

Issues

Make sure to check a few things before creating an issue

  • Your installation of PocketMine (pmmp) works properly, and is an official version. No support on custom builds or forks.
  • You have the latest version of PocketRadio. Issues based on outdated releases will be closed as invalid
  • You run a release version from poggit or the releases tab. Self-compiled versions are not supported.

pocketradio's People

Contributors

brokiem avatar deathcamel57 avatar inxomnyaa avatar jaylac2000 avatar poggit-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pocketradio's Issues

incompatible network protocol

while trying to load the plugin with pmmp it camw with the error Could not load plugin 'PocketRadio': Incompatible network protocol version (plugin requires one of: 388) how do i fix this

Error

2021-08-22 [06:43:07] [Server thread/CRITICAL]: Could not execute asynchronous task class@anonymous�phar:///home/container/plugins/PocketRadio.phar/src/xenialdan/PocketRadio/Loader.php:46$f9: Task crashed

NBS Libary

Where can I get the NBS library?

[12:07:03] [Asynchronous Worker #0 thread/CRITICAL]: Error: "Class "xenialdan\libnbs\NBSFile" not found" (EXCEPTION) in "plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader" at line 66
[12:07:04] [Asynchronous Worker #0 thread/CRITICAL]: #0 pmsrc/src/pocketmine/scheduler/AsyncTask(85): pocketmine\scheduler\AsyncTask@anonymous/root/tst/plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader.php:46$3c9->onRun()
[12:07:04] [Asynchronous Worker #0 thread/CRITICAL]: #1 (): pocketmine\scheduler\AsyncTask->run()
[12:07:04] [Server thread/CRITICAL]: Could not execute asynchronous task AsyncTask@anonymous/root/tst/plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader.php:46$3c9: Task crashed

ERROR ON PLAYER JOIN

2019-06-02 [15:56:14] [Server thread/CRITICAL]: ErrorException: "Object of class xenialdan\PocketRadio\libs\xenialdan\libnbs\Layer could not be converted to int" (EXCEPTION) in "plugins/PocketRadio_v3.0.1.phar/src/xenialdan/PocketRadio/Loader" at line 205
2019-06-02 [15:56:14] [Server thread/DEBUG]: #0 plugins/PocketRadio_v3.0.1.phar/src/xenialdan/PocketRadio/Loader(205): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Object of class xenialdan\PocketRadio\libs\xenialdan\libnbs\Layer could not be converted to int, string phar:///home/leo/skyblock/plugins/PocketRadio_v3.0.1.phar/src/xenialdan/PocketRadio/Loader.php, integer 205, array Array())
2019-06-02 [15:56:14] [Server thread/DEBUG]: #1 src/pocketmine/scheduler/TaskHandler(159): class@anonymous
2019-06-02 [15:56:14] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 832)
2019-06-02 [15:56:14] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 832)
2019-06-02 [15:56:14] [Server thread/DEBUG]: #4 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 832)
2019-06-02 [15:56:14] [Server thread/DEBUG]: #5 src/pocketmine/Server(2334): pocketmine\Server->tick()
2019-06-02 [15:56:14] [Server thread/DEBUG]: #6 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
2019-06-02 [15:56:14] [Server thread/DEBUG]: #7 src/pocketmine/Server(1774): pocketmine\Server->start()
2019-06-02 [15:56:14] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/leo/skyblock/, string /home/leo/skyblock/plugins/)
2019-06-02 [15:56:14] [Server thread/DEBUG]: #9 (1): require(string phar:///home/leo/skyblock/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Is there any bugs still being corrected?

Error: "Class "xenialdan\libnbs\NBSFile" not found" (EXCEPTION) in "/root/DN/plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader" at line 66
--- Stack trace ---
#0 pmsrc/src/scheduler/AsyncTask(90): pocketmine\scheduler\AsyncTask@anonymous/root/DN/plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader.php:46$938->onRun()
#1 (): pocketmine\scheduler\AsyncTask->run()

Plugin wont work!!!

If i send /radio i get an error massege in the consol

[16:58:30] [Server thread/ERROR]: [[PocketRadio]] Class 'xenialdan\customui\windows\SimpleForm' not found

[16:58:30] [Server thread/ERROR]: [[PocketRadio]] 47

Error on player join

Server thread/CRITICAL ErrorException: "unpack(): Type I: not enough input, need 4, have 0" (EXCEPTION) in "plugins/PocketRadio.phar/src/xenialdan/PocketRadio/libs/xenialdan/libnbs/NBSFile" at line 186

By the way, I used the .nbs file generated by myself

Volume fix

$volume = (($layer->getVolume() * Loader:getVolume($onlinePlayer)) / 10000);

Object of class xenialdan\PocketRadio\libs\xenialdan\libnbs\Layer could not be converted to int

[18:32:41] [Server thread/DEBUG]: #0 plugins/PocketRadio_dev-7.phar/src/xenialdan/PocketRadio/Loader(205): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Object of class xenialdan\PocketRadio\libs\xenialdan\libnbs\Layer could not be converted to int, string phar:///root/pmmp/plugins/PocketRadio_dev-7.phar/src/xenialdan/PocketRadio/Loader.php, integer 205, array Array())
[18:32:41] [Server thread/DEBUG]: #1 src/pocketmine/scheduler/TaskHandler(159): class@anonymousphar:///root/pmmp/plugins/PocketRadio_dev-7.phar/src/xenialdan/PocketRadio/Loader.php0x7f7693907e23->onRun(integer 577)
[18:32:41] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 577)
[18:32:41] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 577)
[18:32:41] [Server thread/DEBUG]: #4 src/pocketmine/Server(2549): pocketmine\plugin\PluginManager->tickSchedulers(integer 577)
[18:32:41] [Server thread/DEBUG]: #5 src/pocketmine/Server(2325): pocketmine\Server->tick()
[18:32:41] [Server thread/DEBUG]: #6 src/pocketmine/Server(2186): pocketmine\Server->tickProcessor()
[18:32:41] [Server thread/DEBUG]: #7 src/pocketmine/Server(1765): pocketmine\Server->start()
[18:32:41] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(250): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /root/pmmp/, string /root/pmmp/plugins/)
[18:32:41] [Server thread/DEBUG]: #9 (1): require(string phar:///root/pmmp/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Feature: Per world song

Dear,

Could it be possible to have per world song ?

Thanks for your works, and your time.

Network protocol problem

Hello 👋 i have a problem with the plugin

2021-11-30 [08:52:56] [Server thread/ERROR]: Could not load plugin 'PocketRadio': Incompatible network protocol version (plugin requires one of: 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422)

Errors

Without a song:

[19:55:03] [Server thread/ERROR]: [Radio] Class 'xenialdan\customui\windows\SimpleForm' not found

[19:55:03] [Server thread/ERROR]: [Radio] 45

With a song

[19:55:03] [Server thread/ERROR]: [Radio] Class 'xenialdan\customui\windows\SimpleForm' not found

[19:55:03] [Server thread/ERROR]: [Radio] 45

[19:53:52] [Server thread/CRITICAL]: Could not execute asynchronous task class@anonymous/home/minecraft/plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader.php0x7f1c9d2e0b9c: Task crashed

[19:53:52] [Asynchronous Worker #0 thread/CRITICAL]: Error: "Class 'xenialdan\libnbs\NBSFile' not found" (EXCEPTION) in "plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader" at line 66

[19:53:52] [Asynchronous Worker #0 thread/DEBUG]: #0 src/pocketmine/scheduler/AsyncTask(82): class@anonymous/home/minecraft/plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader.php0x7f1c9d2e0b9c->onRun()

[19:53:52] [Asynchronous Worker #0 thread/DEBUG]: #1 (): pocketmine\scheduler\AsyncTask->run()

help me please

hello, i've tried to use your plugin but i've the error you told in your issue.

I don't know how to fix it because i've forms api.

Class ds/map not found

It was error on libnbs\NBSFile.php on line 70
PocketMine API: 3.25.4
Operating System: Pterodactyl (Linux)
I don't know how i could fix the code/update code?

bug

TypeError: "CortexPE\Commando\BaseSubCommand::__construct(): Argument #1 ($name) must be of type string, xenialdan\PocketRadio\Loader given, called in C:\Users\LENOVO\Desktop\test\plugins\PocketRadio-master\src\xenialdan\PocketRadio\commands\RadioCommand.php on line 18" (EXCEPTION) in "C:/Users/LENOVO/Desktop/test/virions/Commando_dev-4.phar/src/CortexPE/Commando/BaseSubCommand" at line 60
--- Stack trace ---
#0 plugins/PocketRadio-master/src/xenialdan/PocketRadio/commands/RadioCommand(18): CortexPE\Commando\BaseSubCommand->__construct(object xenialdan\PocketRadio\Loader#46087, string[6] volume)
#1 C:/Users/LENOVO/Desktop/test/virions/Commando_dev-4.phar/src/CortexPE/Commando/BaseCommand(89): xenialdan\PocketRadio\commands\RadioCommand->prepare()
#2 plugins/PocketRadio-master/src/xenialdan/PocketRadio/Loader(48): CortexPE\Commando\BaseCommand->__construct(object xenialdan\PocketRadio\Loader#46087, string[5] radio)
#3 pmsrc/src/plugin/PluginBase(119): xenialdan\PocketRadio\Loader->onEnable()
#4 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#5 pmsrc/src/Server(1446): pocketmine\plugin\PluginManager->enablePlugin(object xenialdan\PocketRadio\Loader#46087)
#6 pmsrc/src/Server(1074): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#45915)
#7 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#4, object pocketmine\utils\MainLogger#6, string[29] C:\Users\LENOVO\Desktop\test, string[37] C:\Users\LENOVO\Desktop\test\plugins)

Cache songs

You can store all played/skipped songs, if the song stops the stored songs will cleared.
Better ideas are welcome!

crash

[16:37:27] [Server thread/INFO]: BeanGTA[/192.168.1.43:51150] logged in with entity id 6 at (hub, -533.5859, 149, 899.9653)
[16:37:30] [Server thread/CRITICAL]: Error: "Undefined class constant 'pocketmine\nbt\NBT::LITTLE_ENDIAN'" (EXCEPTION) in "plugins/PocketRadio_dev-4.phar/src/xenialdan/PocketRadio/Loader" at line 118
[16:37:30] [Server thread/DEBUG]: #0 plugins/PocketRadio_dev-4.phar/src/xenialdan/PocketRadio/EventListener(23): xenialdan\PocketRadio\Loader->startTask()
[16:37:30] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): xenialdan\PocketRadio\EventListener->onJoin(pocketmine\event\player\PlayerJoinEvent object)
[16:37:30] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(xenialdan\PocketRadio\EventListener object, pocketmine\event\player\PlayerJoinEvent object)
[16:37:30] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerJoinEvent object)
[16:37:30] [Server thread/DEBUG]: #4 src/pocketmine/Player(1074): pocketmine\event\Event->call()
[16:37:30] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(296): pocketmine\Player->doFirstSpawn()
[16:37:30] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket object)
[16:37:30] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[16:37:30] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(119): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket object)
[16:37:30] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[16:37:30] [Server thread/DEBUG]: #10 src/pocketmine/Player(3097): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[16:37:30] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(170): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[16:37:30] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.1.43 51150, raklib\protocol\EncapsulatedPacket object, integer 0)
[16:37:30] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(110): raklib\server\ServerHandler->handlePacket()
[16:37:30] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(100): pocketmine\network\mcpe\RakLibInterface->process()
[16:37:30] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[16:37:30] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[16:37:30] [Server thread/DEBUG]: #17 src/pocketmine/Server(2349): pocketmine\snooze\SleeperHandler->sleepUntil(double 1548779850.7948)
[16:37:30] [Server thread/DEBUG]: #18 src/pocketmine/Server(2209): pocketmine\Server->tickProcessor()
[16:37:30] [Server thread/DEBUG]: #19 src/pocketmine/Server(1785): pocketmine\Server->start()
[16:37:30] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/beanvietnam/server/, string /home/beanvietnam/server/plugins/)
[16:37:30] [Server thread/DEBUG]: #21 (1): require(string phar:///home/beanvietnam/server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[16:37:30] [Server thread/INFO]: BeanGTA rời trò chơi
[16:37:30] [Server thread/INFO]: BeanGTA[/192.168.1.43:51150] logged out due to Internal server error
[16:37:30] [RakLibServer thread/NOTICE]: Blocked 192.168.1.43 for 5 seconds
stop

please help me

[15:04:44] [Server thread/DEBUG]: #0 plugins/PocketRadio-master/src/xenialdan/PocketRadio/EventListener(23): xenialdan\PocketRadio\Loader->startTask()
[15:04:44] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): xenialdan\PocketRadio\EventListener->onJoin(pocketmine\event\player\PlayerJoinEvent object)
[15:04:44] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(xenialdan\PocketRadio\EventListener object, pocketmine\event\player\PlayerJoinEvent object)
[15:04:44] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerJoinEvent object)
[15:04:44] [Server thread/DEBUG]: #4 src/pocketmine/Player(1074): pocketmine\event\Event->call()
[15:04:44] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(296): pocketmine\Player->doFirstSpawn()
[15:04:44] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket object)
[15:04:44] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[15:04:44] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(119): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket object)
[15:04:44] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[15:04:44] [Server thread/DEBUG]: #10 src/pocketmine/Player(3097): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[15:04:44] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(170): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[15:04:44] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 86.227.202.29 51420, raklib\protocol\EncapsulatedPacket object, integer 0)
[15:04:44] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(110): raklib\server\ServerHandler->handlePacket()
[15:04:44] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(100): pocketmine\network\mcpe\RakLibInterface->process()
[15:04:44] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[15:04:44] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[15:04:44] [Server thread/DEBUG]: #17 src/pocketmine/Server(2347): pocketmine\snooze\SleeperHandler->sleepUntil(double 1548860684.592)
[15:04:44] [Server thread/DEBUG]: #18 src/pocketmine/Server(2207): pocketmine\Server->tickProcessor()
[15:04:44] [Server thread/DEBUG]: #19 src/pocketmine/Server(1783): pocketmine\Server->start()
[15:04:44] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/leo/deuxieme serv/, string /home/leo/deuxieme serv/plugins/)
[15:04:44] [Server thread/DEBUG]: #21 (1): require(string phar:///home/leo/deuxieme serv/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[15:04:44] [Server thread/INFO]: LeooBdt[/86.227.202.29:51420] logged out due to Internal server error

HOW TO REPRODUCE : join the server

Class 'xenialdan\customui\windows\SimpleForm' not found

Please How to Fix That
2019-12-26 [02:48:20] [Server thread/ERROR]: [Radio] Class 'xenialdan\customui\windows\SimpleForm' not found
2019-12-26 [02:48:20] [Server thread/ERROR]: [Radio] 49

I Just Download PocketRadio, CustomUI, and LibNBS
but still didnt work
Please help me

Per player listen music option

I would like that there was the option for each player to listen to the music or not because in some devices causes lag.

Still incompatible protocol

When using the latest release (which was Dev 14) it says
[09:56:37] [Server thread/ERROR]: Could not load plugin 'PocketRadio': Incompatible network protocol version (plugin requires one of: 388, 389) upon trying to load the plugin.

Using Dev 15, it says
[09:56:37] [Server thread/ERROR]: Could not load plugin 'PocketRadio': Incompatible network protocol version (plugin requires one of: 388, 389, 390) upon trying to load it.

Perhaps in plugin.yml it needs to be [388, 389, 390] with spaces rather than [388,389]?

Please Fix!

[14:56:27] [Server thread/CRITICAL]: Error: "Undefined property: pocketmine\network\mcpe\protocol\LevelSoundEventPacket::$pitch" (EXCEPTION) in "src/pocketmine/network/mcpe/protocol/DataPacket" at line 164

[14:56:27] [Server thread/DEBUG]: #0 plugins/PocketRadio_dev-6.phar/src/xenialdan/PocketRadio/Loader(230): pocketmine\network\mcpe\protocol\DataPacket->__set(string pitch, integer 3)

[14:56:27] [Server thread/DEBUG]: #1 src/pocketmine/scheduler/TaskHandler(159): class@anonymousphar:///home/minecraft/plugins/PocketRadio_dev-6.phar/src/xenialdan/PocketRadio/Loader.php0x7f0e233ea302->onRun(integer 708)

[14:56:27] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 708)

[14:56:27] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 708)

[14:56:27] [Server thread/DEBUG]: #4 src/pocketmine/Server(2591): pocketmine\plugin\PluginManager->tickSchedulers(integer 708)

[14:56:27] [Server thread/DEBUG]: #5 src/pocketmine/Server(2346): pocketmine\Server->tick()

[14:56:27] [Server thread/DEBUG]: #6 src/pocketmine/Server(2209): pocketmine\Server->tickProcessor()

[14:56:27] [Server thread/DEBUG]: #7 src/pocketmine/Server(1785): pocketmine\Server->start()

[14:56:27] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/minecraft/, string /home/minecraft/plugins/)

[14:56:27] [Server thread/DEBUG]: #9 (1): require(string phar:///home/minecraft/pocketmine.phar/src/pocketmine/PocketMine.php)

[14:56:27] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump

[14:56:27] [Server thread/EMERGENCY]: Please upload the "/home/minecraft/crashdumps/Wed_Jan_30-14.56.27-CET_2019.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.

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.