[ANY] SourceMod DJ (SMDJ)
[ANY] SourceMod DJ Plugin v2.6.1 - Web Interface v2.3.0 Description: Allows users to type !music, !dj, or !jukebox to choose a song from a list of predefined songs in a regular panel menu. When a choice is made, the song's page from the web interface will be loaded in the MOTD browser, without the MOTD window being displayed. Includes a web interface to listen to songs, or a listing of songs available on the Web. The web interface takes no time to set up, and has support for four themes (default, TF2, Counter-Strike, and black) out of the box. Requires MySQL, and uses two tables. Does NOT require the game server to be able to access the database. The web interface is themable! If you know what you're doing, you can create a .css file for a theme, and if it's good enough, I'll include it in the actual release! Important! In order to hear the music in-game, users must have Adobe Flash Player for Other Browsers installed. Updating: When updating SMDJ, you need to update both the Web Interface and the plugin itself, if there is a newer version available for each. Otherwise, only update the component that is out-of-date. To update the plugin, simply drop smdj.smx into your plugins folder. Some updates might add new convars, and if this happens, back up the plugin.smdj.cfg file and delete it, so a new one can be generated. When updating the Web Interface, backup your config.php file, then upload all of the files and folders in the zip to the web server, overwriting all files. Then edit the new config.php and add back in your settings. Commands: sm_music - (!music in chat) pulls up the menu. Can be followed with a song title to directly play a song, case-insensitive (e.g. !music like a boss) sm_dj - (!dj in chat) same as above sm_jukebox - (!jukebox in chat) same as above sm_musicinfo - (!musicinfo in chat) pulls up the MOTD window where you can view the title, pause, adjust volume, etc. sm_randomsong - (!randomsong in chat) plays a random song sm_songlist - (!songlist in chat) sm_musicoff - (!musicoff in chat) turns the music off sm_musichelp - (!musichelp in chat) displays help on installing Adobe Flash Player sm_reloadsongs - reload the song list (by default requires ADMFLAG_RCON) Cvars: smdj_version - plugin version smdj_advert - (default 1) sets whether a user's music choice will be broadcast to the server in chat smdj_join_advert - (default 1) sets whether the user will be informed of the SMDJ commands upon connecting smdj_url - the URL of your SMDJ web installation (i.e. "http://www.thehoodedalliance.com/smdj") smdj_url_port - if your web installation is on a port other than 80, set it here smdj_auth_token - prevents leechers. Get this from the admin panel of your web installation smdj_help_advert - (default 1) sets whether a user is notified to type !musichelp if they can't hear the music smdj_repeat_default - (default 1) sets the state of the repeat feature for new clients smdj_shuffle_default - (default 0) sets the state of the shuffle feature for new clients smdj_volume_default - (default 100) sets the default volume for new clients (10 - 200) smdj_debug - (default 0) toggles debugging Plugin creates and loads /cfg/sourcemod/plugin.smdj.cfg Overrides: SMDJPlayToOthers (default: ADMFLAG_SLAY) controls which admins can play music to others Installation:
Requirements: Requires the Socket extension. Developers: This plugin provides a forward for when users start to listen to music. See the include file for documentation. Demo: You can see a functioning demo of the TF2 theme here: http://www.thehoodedalliance.com/smdj/ Credits: Thanks to:
Planned:
Changelog:
This plugin does not automatically update due to issues that could arise with the plugin being updated but not the web interface. This plugin uses Colors, which is required if you want to compile locally. Download Plugin (smdj.smx) View Source (smdj.sp) Download Include File (smdj.inc) Download Web Interface . |
Re: [ANY] SourceMod DJ (SMDJ)
You could try to do a version script for the site so in the administrator panel, it says update now and it downloads and installs your update. :3
Also, Great Idea, only problem is this. http://forums.alliedmods.net/showthread.php?p=945519 |
Re: [ANY] SourceMod DJ (SMDJ)
Quote:
|
Re: [ANY] SourceMod DJ (SMDJ)
The web interface worked for me last time I used it. Sure, it does have 1 small error with a link but that's easily fixable but other than that, it worked entirely.
|
Re: [ANY] SourceMod DJ (SMDJ)
I didn't like jukebox, half the time when i wanted to delete a song it wouldn't delete. So i had to do it manually and that was a pain since it moved and renamed the original file to somewhere else which involved me downloading and listening each song over and over again.. Ill definitely be giving this one a try.
|
Re: [ANY] SourceMod DJ (SMDJ)
WebServer works fine. But server is crashig on plugin load. All the database info is correct.
Code:
L 11/21/2011 - 09:08:06: [SM] Native "SetFailState" reported: SourceMod DJ couldn't connect to the database: [2003]: Can't connect to MySQL server on 'immersion-networks.com' (10060) |
Re: [ANY] SourceMod DJ (SMDJ)
Quote:
Can I see your databases.cfg entry? Don't forget to remove your password. |
Re: [ANY] SourceMod DJ (SMDJ)
Quote:
|
Re: [ANY] SourceMod DJ (SMDJ)
Is remote MySQL allowed on your webserver?
|
Re: [ANY] SourceMod DJ (SMDJ)
Yes. we also use sourcebans & hlstats
edit: we just tried it on a different webserver and getting same error. |
All times are GMT -4. The time now is 04:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.