AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Jukebox v1.1 (https://forums.alliedmods.net/showthread.php?t=268097)

wicked95 08-04-2015 18:53

Jukebox v1.1
 
3 Attachment(s)
Description: With this plugin you can play songs throu a motd window. Plugin reads an .ini file for the songs. The songs in the menu can be aranged by genre. There's a hud time for the song playing + timeline. You can put an amount of songs in a queue and let them be played one by one while playing. Players have a hud customisation menu. They can move the hud up/down/left/right/center it or just hide the hud. There's an option in the menu where players can request songs to be added in the server. An admin with the required flag can view and delete the requeest file from the game console.

Important!
Other plugins may interfear with this one. If you use another plugin that uses motd please include the attached include file to the plugin and in the code after showing the motd to a player insert stop_song(player id) so that the plugin can stop the hud time counting. If u don't the song will be stopped but the hud timer will go on.

Commands:
/jukebox | /music | /mp3 - opens the main menu
/play - plays the song
/stop - stops the song
/next - plays the next song in the queue
/showsong - show the song you're currently listening to the other players in the server
/replay - turns on/off repeat current song option

Admin Commands:
amx_requests - prints the requested songs from other players in the console
amx_del_requests - deletes the requests file

Screenshots: http://imgur.com/a/Q7QCp

ChangeLog:
  • v1.1 Added Option to add/edit/remove songs from the main menu in game.(menu item only shows to players with the defined flag)
  • v1.0 Plugin Release

Requirements:
Steam

Files:
configs/jukebox_songs.ini
plugins/jukebox.amxx
scripting/jukebox.sma
scripting/include/jukebox_bywicked.inc

Shiina.Mashiro 08-05-2015 06:45

Re: Jukebox [Online Mp3 stream]
 
Well done!
Worked like a charm.

A little suggestion: You can add a small feature like addsong command
Code:

amx_addsong <songname> <url>

tousif 08-06-2015 04:38

Re: Jukebox [Online Mp3 stream]
 
Nice work :)

wicked95 08-06-2015 09:00

Re: Jukebox [Online Mp3 stream]
 
Quote:

Originally Posted by Shiina.Mashiro (Post 2328884)
Well done!
Worked like a charm.

A little suggestion: You can add a small feature like addsong command
Code:

amx_addsong <songname> <url>

I'll try something else cuz i don't think in console is best decition.
And thanks for the replies :fox:

Edit: I made a menu with that option in the new update :d Hope u like it.

BigDaddyJP 01-22-2016 00:50

Re: Jukebox v1.1
 
*.sma won't compile and "Get Plugin link" gives errors:

jukebox.sma(1187) : error 001: expected token: ";", but found ":"
jukebox.sma(1187) : error 029: invalid expression, assumed zero

I've searched every kind of in-game music player I could find. Help me, Obi-Wan... you're my only hope! :)

tousif 01-22-2016 01:43

Re: Jukebox v1.1
 
1 Attachment(s)
he missed a semicolon at that line. take this one :p

CrAzY MaN 06-02-2017 05:07

Re: Jukebox v1.1
 
Its amazing...
I am using this plugin for 6 months on my server..

It will be soooo good if it directly plays from youtube.

Electric Boy 06-02-2017 20:59

Re: Jukebox v1.1
 
More another shit thats isnt working

Airkish 06-03-2017 03:08

Re: Jukebox v1.1
 
Everything works but there's no sound. Not only me but for all players.
Any help?

CrAzY MaN 06-03-2017 03:46

Re: Jukebox v1.1
 
Its working fine for me :)
I think on NON STEAM SERVER, STEAMERS won't run this -_-


All times are GMT -4. The time now is 02:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.