ULX

Author Topic: Quick question reguarding ULX MOTD  (Read 1805 times)

0 Members and 1 Guest are viewing this topic.

Offline Samg381

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
  • Owner- Samg381's Sandbox
    • Samg381's Sandbox Server
Quick question reguarding ULX MOTD
« on: February 22, 2014, 01:31:55 PM »
Hello,
I recently installed another MOTD on my server.
How do I disable the "MOTD has been disabled on this server" whenever somebody types !motd?
All I need is the path to the LUA file that has that message, and I can take if from there.

Thanks in advance.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick question reguarding ULX MOTD
« Reply #1 on: February 22, 2014, 04:12:57 PM »
There's a long discussion in another post as to the best way to disable ULX motd.
Remove the file addons/ulx/lua/modules/cl/motdmenu.lua and make sure your gmod/data/ulx/config.txt doesn't have motdfile set to a ulx motd.
No editing is ever recommended for ULX files, as those two steps should properly allow any other motd system to work.
But, to answer your question, the file is lua/ulx/modules/sh/menus.lua - BUT, again, the motd function in that file checks for existence of the motdmenu.lua file, AND for a boolean variable set within the motdmenu.lua file.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Quick question reguarding ULX MOTD
« Reply #2 on: February 22, 2014, 07:28:44 PM »
We've never had anyone make this particular request before. Why do you want to remove that message?
Experiencing God's grace one day at a time.

Offline Samg381

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
  • Owner- Samg381's Sandbox
    • Samg381's Sandbox Server
Re: Quick question reguarding ULX MOTD
« Reply #3 on: February 23, 2014, 10:34:00 AM »
I just want to remove it because I'm using a MOTD addon that I recently installed.
Don't get me wrong, I love ULX MOTD for it's ease of use and simplicity but I like the new one for it's tabs.