Will Scarlet Jun 27, 2014 @ 1:22pm
Small Motd.txt Question
Hello everyone, I was making an motd for my server and it was going great until I added a few CSS styles then all of a sudden the motd was no longer working. I was wondering if anyone here with more knowledge of motd's abilities could let me know what I have used that motd does not support. Thank you in advanced to whomever can help me.

<html> <head> <style> html { margin: 0; padding: 0; background: url("http://taintedgamers.com/images/styles/socialize/style/pageBG.gif") fixed; } body { background: url("http://taintedgamers.com/images/styles/socialize/style/pagePattern.jpg") no-repeat top fixed; height: 100%; } a { color: #54C5FF; font-family: Arial; font-size: 20px; text-decoration: none; } a:hover { color: #3B8AB2; font-family: Arial; font-size: 20px; text-decoration: none; margin: 1px 0px 0px 1px; } div.navbar { text-align: center; background-image: url('http://taintedgamers.com/cstrike/motd/NavBar.png'); background-position: center; background-repeat: no-repeat; height: 110px; width: 662px; margin-top: -20px; position: relative; } div.logo { padding: 50px 40px 40px 40px; margin-bottom: 5px; width: 538px; } div.table { background-color: rgba(121, 121, 121, .3); width: 598px; margin-top: -45px; border: black solid 1px; } </style> </head> <body> <center> <div class="logo"> <img src="http://taintedgamers.com/cstrike/motd/logo.png" alt="Logo"> </div> <div class="navbar"> <table style="text-align: center;padding-top: 25px;margin-left: 23px;"> <tr> <td width="150px"><a href="http://taintedgamers.com/cstrike/motd/Forums.html">FORUMS</a></td> <td width="150px"><a href="http://taintedgamers.com/cstrike/motd/Servers.html">SERVERS</a></td> <td width="150px"><a href="http://taintedgamers.com/cstrike/motd/Rules.html">RULES</a></td> <td width="150px"><a href="http://taintedgamers.com/cstrike/motd/Apply.html">APPLY</a></td> </tr> </table> </div> <div class="table"> <table width="580px" style="text-align: left;padding: 20px 0px 10px 0px;"> <tr> <td>1. Do not ward bombsites or hostage areas, this provide you with a cheap advantage and we do not see it as fair game.<br /><br /></td> </tr> <tr> <td>2. We do not like players over-using maxed races. If an admin asks you to change race and gives you a valid reason you must listen to him.(Ex; "We have many low level players right now and you have a very unfair advantage over them with that race, could you please change?")<br /><br /></td> </tr> <tr> <td>3. If a class is not working correctly please do not play it and report it, whether it's a disadvantage or advantage for you playing that race if it's broken it can prove to be fatal for the server. Abusing a broken race will result in disciplinary actions.</td> </tr> </table> </div> </body> </html>
< >
Showing 1-4 of 4 comments
Knappy Jun 27, 2014 @ 1:35pm 
What game are you hosting?

The motd.txt is usually a link to an html page (in L4D2 anyway) hosted on a web host. For example see My Motd Webpage[]

In my motd.txt:

See this and check out the MOTD section.
Last edited by Knappy; Jun 27, 2014 @ 1:39pm
Sparkie951 Jul 16, 2014 @ 9:54am 
Note the file extention (.TXT)... This is not designed for HTML or other web programing...

In my MOTD file is as follows:
Welcome to Savannah Group Coop Checkpoint Server Players: 8 | Bots: 20 | Bot Difficulty: <Easy> Team Voice-Text Chat: <On> ------------------------------------------------ Vote Kicking not allowed when Admin logged in. primary admin: sparkie951 secondary admins: flynrph, Vlad The Impalerl

Knappy, Great idea of a link to a webpage... I have 1 extra line available, and I think that I am going to add a webpage to it to give more information about my server for News, Abouts, Etc...
Knappy Jul 16, 2014 @ 11:44am 
Originally posted by sparkie951:
Knappy, Great idea of a link to a webpage... I have 1 extra line available, and I think that I am going to add a webpage to it to give more information about my server for News, Abouts, Etc...

Well in order for the players to use a url in the motd.txt it would need to be a hyperlink (since one can not copy and paste text from the in-game MOTD, thus just paste your motd.html url in the mod.txt:
Last edited by Knappy; Jul 16, 2014 @ 11:45am
Will Scarlet Jul 16, 2014 @ 1:15pm 
Sorry forgot I made this, I figured it out and just used iframes thank you all for the responses though. The only problem with this however is scrolling is very slow, but I can manage with that for now.
New Code:
<html> <head> <style> body { margin: 0; } iframe { border: 0; overflow-y: scroll; } </style> </head> <body> <center> <iframe width="100%" height="100%" src="http://taintedgamers.com/cstrike/motd/Rules.html"></iframe> </center> </body> </html>
Last edited by Will Scarlet; Jul 16, 2014 @ 1:16pm
< >
Showing 1-4 of 4 comments
Per page: 15 30 50

Date Posted: Jun 27, 2014 @ 1:22pm
Posts: 4