This will no longer work due to changes to the in-game Chromium web browser.
The back website for the In Game Audio sourcemod plugin. Allows a person to upload songs which can then be played back in game through the HTML5 MOTD browser.
- Ruby 2.0
- A Steam Web API Key
- postgresql
- A game server running Sourcemod and the sm-in-game-audio plugin.
- A Google Storage for Developers account. Get your credentials here
- FFMPEG with OGG Vorbis support.
- Make sure you have the requirements
- Add your steam API key to your system's environment:
STEAM_API_KEY=[your api key]
- Add your Google storage directory, access key id and secret access key to your system's environment:
GOOGLE_STORAGE_DIRECTORY=[your key] GOOGLE_STORAGE_ACCESS_KEY_ID=[your key] GOOGLE_STORAGE_SECRET_ACCESS_KEY=[your key]
- Add the steam ID 64 for the head admin in to your system's environment:
STEAM_HEAD_ADMIN_ID=[your steamid 64]
- Setup your database config in
config/database.yml
- Install bundler and all required gems:
gem install bundler && bundle
- Initialize your database with:
rake db:setup
- Start the webserver:
thin start
Go here to find a song you want to play.
Every song on that site can be played with the !p
chat command. Calling !p
by itself will play a random song to yourself. You can also call !p
with a category to play a random song in that category: !p r
will play a random song in the rock category. This works with subdirectories of a category as well. To play a specific song, give the category it is in followed by a forward slash '/' and then the name. For example to play "takefive" in the "j" category you would type !p j/takefive
into the in-game chat-box.