Using host.txt for a Server Banner

From CyberWurx Customer Wiki

Revision as of 14:49, 20 November 2009 by Cwadmin (Talk | contribs)
Jump to: navigation, search

Understanding host.txt

A host.txt file is implementation of a server banner that will show up next to the MOTD while joining games. It is usually best to use a 500x100 jpg file stretched out inside an html file.

Here is an example of a html file used for host.txt

<html> 
<head> 
<title>My Awesome Gameserver</title> 
</head> 
 
<body style="margin:0px;padding:1px;background:#000000;" scroll="no"> 
<img src="http://mywebsite.com/l4dbanner.jpg" style="width:100%;height:100%;" /> 
</body> 
</html>

That example can be uploaded to a publicly accessible website. Your host.txt file would point to this html file.

Example host.txt

http://mywebsite.com/l4d2banner.html
Personal tools