Resource icon

Experimental MusicController 1.0

Compatible API Versions
1.0.9
Sourcecode
https://github.com/ProgStudy/MusicController
Contributors
[email protected]
NOTE: sorry for my english :с

This plugin allows you to control sounds in players

Permissions:
music.command.play:
default: op
music.command.stop:
default: op

Commands:
/music-start <song> <player>
- starts the sound, if the additional argument <player> is specified, then the sound will be launched only for a specific player.
/music-stop <song> <player> - stops the sound, if the optional argument <player> is specified, the sound will be stopped only for a specific player.

Other information:
- it is possible to control sounds using the API, for example, to cause all players to sound
examples start sound API:

MusicControllerApi.play('random.hurt'); // send start sound all players

MusicControllerApi.play(player, 'random.explode'); // send start sound only player

MusicControllerApi.stop('random.hurt'); // send stop sound all players

MusicControllerApi.stop(player, 'random.explode'); // send stop sound only player


- at the moment the sound can be started and stopped, there is no pause of sound yet
- you can play sounds or music from the resource pack downloaded by the player (.mcpack) from the server, for example take my resource pack with music, it will be in the root of the project (github), this resource pack is called EpicMusic.mcpack

music tracks in the resource pack EpicMusic.mcpack:

- song.login
- song.waitgame
- song.alpha1
- song.alpha2
- song.alpha3
- song.alpha4
- song.alpha5


example command the start music - /music-start song.login

this server-side resourcepack (EpicMusic.mcpack) must be put in the resource_packs directory.


----------------------------------------------------------------------------------------------------------------

for the future I’ll add the ability to listen to the entire created album from sounds :)

I tried to describe everything clearly, if there are errors or questions, write!
Thanks с:


Contacts me: https://vk.com/the_andrew_present | [email protected] | https://github.com/ProgStudy/MusicController
Author
BimoPower
Downloads
1,269
Views
3,065
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from BimoPower

Latest reviews

Excellent plugin. My server is Spotify now! hahaha :)
Hmm.. interesting idea! :3
Top