ULX

Author Topic: How to change the ULx MOTD?  (Read 38189 times)

0 Members and 1 Guest are viewing this topic.

Offline EliteOps12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Apache Gaming owner
    • Apache Gaming
How to change the ULx MOTD?
« on: December 21, 2011, 04:03:39 PM »
Ok, noobish question, and this may not be the right place, but how do you change the ULX MOTD, I am stuck with the default, and I couldn't find any tutorials on the web on how to do it.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: How to change the ULx MOTD?
« Reply #1 on: December 21, 2011, 05:35:16 PM »
Seing default CSS? Or default ULX motd?
Pretty sure you copy ulx_motd.txt from addons to gmod_root/ulx_motd.txt, then edit the HTML of that file.
However, its been a long time since Megiddo rewrote the motd code because various other mods kept overwriting the motd.txt, so, I might have it wrong.
You can also edit your /data/ulx/config.txt to include a URL if you want.
See this section of config.txt
Code: [Select]
ulx showMotd 1 ; Set to 0 to disable showing motd on connect. Shows the file the cvar motdfile says to. Set to a URL to show a URL.
motdfile ulx_motd.txt ; The motd to show
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline EliteOps12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Apache Gaming owner
    • Apache Gaming
Re: How to change the ULx MOTD?
« Reply #2 on: December 24, 2011, 06:05:20 AM »
Default MOTD, and is it different if I am using the ULx that is installed from my server provider?

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: How to change the ULx MOTD?
« Reply #3 on: December 25, 2011, 12:29:16 AM »
Default MOTD, and is it different if I am using the ULx that is installed from my server provider?

It depends, on what version of ULX your server provider is giving you.

I had the same problem, but I ignored it and after some time it just updated, so I assume it saves into a cache file.

I think the MOTD data saves into a cache file, and it is stored there and just reused. My best bet would be to rename the main MOTD file and use that.
I cry every time I see that I am not a respected member of this community.