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

0 Members and 2 Guests are viewing this topic.

Offline EliteOps12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Apache Gaming owner
    • View Profile
    • 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: 6030
  • Karma: 224
  • Project Specialist
    • View Profile
    • 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
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it - David Pogue

Offline EliteOps12

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Apache Gaming owner
    • View Profile
    • 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

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 25
    • View Profile
    • Twisted.Cat
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.