Bookmark and Share Server Administration

Jump to: navigation, search

Because we gather player stats from matches, we have to make a distinction between Authorized servers and Unauthorized servers.

Authorized servers are those run by Smashball Labs. Unauthorized servers are those run by third parties.

The major difference is that Unauth'd servers do not report match stats.

You can edit certain files in the server directory to configure it to run with custom teams, though. Look in this folder:

/Smashball/scripts/teams

And you will see some files. home.txt and away.txt both contain information describing the default home and away teams. For example:

TeamData
{
	"name"	"Red Rockets"
	"tag"	"REDR"
	"home"	"Galactic"

	"text_color"	"255 0 0 255"
	"fg_color"	"0 0 0 255"
	"bg_color"	"255 255 0 255"

	"url"		"http://isl-test.smashball.tv/images/teams/icons/1/medium_redrocket.jpg"
}

On an Authorized game server, this information is all overridden with information from our league servers. On an Unauthorized server, this is what is used.

If you want to set up your Unauth'd server to use your own team's logo, here's a hacky way to do it:

  1. Go to your team's page on the web site. e.g. http://www.smashball.tv/teams/11
  2. Right click on your logo and get the URL to the image. It should look something like: https://s3.amazonaws.com/smashball_team/icons/11/medium_Gmod_GS_spray1.jpg
  3. Put that in the home.txt or away.txt files.

You'll have to manually edit your colors to match your team's colors. We will try to make this process less painful in the future.

From Guide