Raised This Month: $12 Target: $400
 3% 

Music Player - Advanced [ No Server Music Files To Download ]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
Baws
Veteran Member
Join Date: Oct 2012
Old 02-19-2014 , 23:34   Music Player - Advanced [ No Server Music Files To Download ]
Reply With Quote #1

Music Player - Advanced v3.0



-Description-

In this plugin, you can listen to music while you are in-game instead of going to Youtube or any other music websites and lagging all day in the server. Plus, in this plugin there's no need to make the players download any file. It's the most powerful music player ever made. There's no limit of how many songs you add to the file. If you like this plugin make sure to rate it

-Commands-

Code:
Players:
/musichelp - Opens a motd to show all the commands available. [ If ADMIN_CFG, it shows the amx_addsong command ]
/music - Opens the list of the settings and you can play a song from there.
/search song/name - Searches for a specific song instead of scrolling for hours in the menu.
/replay - Replays the last played song.
/copy - Copies the last song played by the last player.
/stop - Stops the music.

Admins: (CFG)
amx_addsong "Song name" "Url/Link" | Attention: Put them with quotes. 
E.g: amx_addsong "Billy Ocean - Suddenly" "http://www.youtube.com/watch?v=6H0iYsHlanw"

Admins: (Cvar)
sv_connectmessage 1 - Default is 1 [ 1 = on 0 = off ]
sv_showcommands 0 - Default is 0 [ 1 = Shows the commands in chat 0 = Don't show the commands in chat ]
-Installation-

Put the .amxx in cstrike/addons/amxmodx/plugins
-Then in cstrike/addons/amxmodx/configs/plugins.ini
You will type( Anywhere under 3rd party plugins ):
PHP Code:
AdvancedMusicPlayer.amxx 
Then put the songlist.txt files in cstrike/addons/amxmodx/configs.

After you put the songlist.txt files, make sure that you added the AdvMusicPlayer.html file
in same directory as the songlist.txt file.

Lang File: AdvMusicPlayer.txt you need to put it in cstrike/addons/amxmodx/data/lang

-Notes-

What do you need to know is how to add songs to the plugin or the server. Well it's simple. You can add any song links you like. Some websites don't accept or don't let it play, it's their domains privacy. I recommend you to use Youtube. It's the most popular music website of all time and it's really a good website.
The format is: "Song Name" "Song URL/Link"
For example: "Eminem - Mockingbird" "http://www.youtube.com/watch?v=S9bCLPwzSC0"

You add that line in the songlist.ini file under the lines. It's 1 song each line.

This is a Music Player which when you want to play some music, it will only be played for the person not the whole server.
Note that you don't need to reload the file anymore to add the song or restart the server or the map. Once you have done
amx_addsong "song" "url/link" the song will automatically be added to the file and to the server.

The multilingual file ' AdvMusicPlayer.txt ' will be uploaded separately as i will update it more often as the people who will help
me translate more and more.

Important 1: If your MOTD is all white or there's nothing at all when you want to play the music well you can fix it by following these steps.

Step 1: Open your cs folder (Steamapps/common/Half-Life)
Step 2: You create a new folder named "cstrike_addon"
Step 3: Close your cs folder and open your Counter-Strike and you're done!

Important 2: If in the center of your MOTD you got 'Missing Plug-in' well you need to follow these steps.

Step 1: Go to the Adobe Flash Player site (http://www.adobe.com/nl/products/flashplayer/)
Step 2: Click the download link: 'download flash player'
Step 3: Choose Other operating system or browser?
Step 4: Select your operating system.
Step 5: Then version: flash player 10.1 - other browsers and download it.
Step 6: Install flash player than reboot your pc.
Step 7: Have fun listening to music in-game!

JW Player: If you want to host the player yourself, download the player in the attachments.
However this plugin work just fine without you hosting the player.


-Credits-

Feel free to translate in this thread: Translation Request
Languages already added: [en], [de], [ro], [bg], [sr], [sv] more to come...?


-ChangeLog-

Plugin ChangeLog:
Code:
v1.0:
* Released.
v1.1:
* Fixed some spacing.
v1.2:
* Fixed a variable.
v1.3:
* Added amx_addsong.
* Fixed some spacing.
v1.4:
* Re-written all the plugin to make it nice.
* Removed ColorChat Stock.
* Included colorchat.
v1.5:
* Re-written the plugin.
* Made all the changes required.
* Used Arrays.
* Added Multilingual.
* Removed amx_reloadfile.
* Removed all the 'b'.
* Added a connect message.
* Added client_print_color instead of ColorChat.
v1.6:
* Fixed the song limit.
* Fixed some spacing as well.
v1.7:
* Fixed amx_addsong lines.
v1.8:
* Added NOT_FOUND in lang file.
v1.9:
* Added a CVAR to show the commands in chat or not.
v2.0:
* Added /musichelp command.
v2.1:
* Made the player MOTD more sexy.
v2.2:
* Added volume controller.
* Added repeat the song option.
* Added save the settings option.
* Added another menu for the new stuff.
* Made all the MOTDs more sexy.
* Made player MOTD have the same seconds, no bugs.
* Fixed some spacing as well.
v2.3:
* Changed Settings Menu Cases.
v2.4:
* Made ML system 100%.
* Updated the html file.
v2.5:
* Added Stop Song in the menu.
* Added menu returns in case 1 and 2.
v2.6:
* Edited the lang file.
* Added a client print if there's no song to copy.
* Added a client print where it says you copied the song when you use the /copy command.
v2.7:
* Added Bulgarian.
* Fixed some spacing.
v2.8:
* Checked AMXX_VERSION_NUM for client_print_color.
* Changed the handlers; item.
v2.9:
* Removed unused stuff.
v3.0:
* Fixed the choosing song.

-Thank you, Baws.
Attached Files
File Type: txt AdvMusicPlayer.txt (12.9 KB, 2222 views)
File Type: sma Get Plugin or Get Source (AdvancedMusicPlayer.sma - 3685 views - 29.5 KB)
File Type: zip AdvancedMusicPlayer.zip (13.1 KB, 2525 views)
File Type: zip JW Player.zip (110.8 KB, 1977 views)
__________________
Like my clean plugins and work?

Last edited by Baws; 07-11-2014 at 21:48.
Baws is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:48.


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