Author Topic: ULX Motd on dedicated server not showing up  (Read 12393 times)

0 Members and 1 Guest are viewing this topic.

Offline TheSenDest

  • Newbie
  • *
  • Posts: 24
  • Karma: -1
ULX Motd on dedicated server not showing up
« on: February 14, 2016, 01:46:24 PM »
Before I start, I know people have made threads about this and I have read them and am still quite confused as to what happened and what is now happening.

About 4 days ago my server would have the MOTD show up when players joined and I was pretty happy about that since I had issues with it before not doing that. Then, I changed the auto-restart times on my server and the MOTD has yet to show up when players join.

I have the following set:

Code: [Select]
garrysmod/garrysmod/motd.txt
Config settings: (server.cfg)
Code: [Select]
"ulx_showmotd" "1"
"motdfile" "motd.txt"

Also, in the XGUI menu, the "Show MOTD when players join" is ticked. And yet, the MOTD still fails to show up when players join.


Again, I am really sorry for starting another thread but I am pretty lost on how to fix this. Thank you in advance.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Motd on dedicated server not showing up
« Reply #1 on: February 14, 2016, 03:29:11 PM »
When you make a new post in this forum section, it fills a preformatted template for you to fill out.
You didn't fill that template out, so we have no idea what version you are using.

Does the MOTD menu in xgui say the file name is motd.txt?
ULX has several motd modes, 0 = none, 1 = use the ulx_motdfile cvar (NOT motdfile as you state in your server.cfg, but ulx_motdfile) , 2 = (OUR DEFAULT) use motdfile generator, 3= use URL.
Make sure you have the correct mode too.
« Last Edit: February 14, 2016, 03:31:11 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline TheSenDest

  • Newbie
  • *
  • Posts: 24
  • Karma: -1
Re: ULX Motd on dedicated server not showing up
« Reply #2 on: February 15, 2016, 11:53:17 AM »
I am using the Workshop version. I apologize for that.

I also didn't know there were different "modes" for the motd. I was never informed of that nor did it state anywhere that was even a thing.

So if I wanted to use "ulx_motdfile" I would do:

Code: [Select]
ulx_showmotd 2
Is that right?
« Last Edit: February 15, 2016, 11:55:55 AM by TheSenDest »

Offline TheSenDest

  • Newbie
  • *
  • Posts: 24
  • Karma: -1
Re: ULX Motd on dedicated server not showing up
« Reply #3 on: February 15, 2016, 02:49:55 PM »
Hello?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX Motd on dedicated server not showing up
« Reply #4 on: February 15, 2016, 04:38:04 PM »
ulx showMotd needs to be set to 1 to use a local MOTD. You can also edit this from XGUI.
Experiencing God's grace one day at a time.

Offline TheSenDest

  • Newbie
  • *
  • Posts: 24
  • Karma: -1
Re: ULX Motd on dedicated server not showing up
« Reply #5 on: February 15, 2016, 05:36:15 PM »
I have this set in my server.cfg...:

Code: [Select]
"motdfile" "ulx_motdfile"
"sv_alltalk" "2"

...and it still didn't show up when I joined. In fact, I changed around the formatting of the MOTD before restarting my server and it didn't even show the new changes.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX Motd on dedicated server not showing up
« Reply #6 on: February 15, 2016, 06:00:44 PM »
ulx showMotd needs to be set to 1. ulx motdfile needs to be set to the name of your MOTD file (you haven't set it to anything).
Experiencing God's grace one day at a time.

Offline TheSenDest

  • Newbie
  • *
  • Posts: 24
  • Karma: -1
Re: ULX Motd on dedicated server not showing up
« Reply #7 on: February 15, 2016, 06:01:36 PM »
How have I not set it to anything? It says right there, "motdfile" "ulx_motd.txt"

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX Motd on dedicated server not showing up
« Reply #8 on: February 15, 2016, 06:19:20 PM »
Sorry, due to line wrapping on my phone I did not see it correctly. The command is "ulx motdfile" and you need to include the extension of the chosen file.
Experiencing God's grace one day at a time.

Offline TheSenDest

  • Newbie
  • *
  • Posts: 24
  • Karma: -1
Re: ULX Motd on dedicated server not showing up
« Reply #9 on: February 15, 2016, 06:23:57 PM »
That's fine, I was just confused.

Okay, so what I have now in my 'server.cfg' is this:

"ulx_showmotd"   "1"
"ulx motdfile"      "ulx_motdfile.txt"

Is this correct?/

Offline TheSenDest

  • Newbie
  • *
  • Posts: 24
  • Karma: -1
Re: ULX Motd on dedicated server not showing up
« Reply #10 on: February 15, 2016, 08:12:23 PM »
Okay so I did what you said and put "ulx motdfile" and now the server says the MOTD file doesn't exist.

Can I please talk to someone that can explain this fully and not in segments please? I am getting really frusterated with constantly having to reboot my server and still not getting a resolution.

I am using Workshop ULX and ULib.

Currently, I have:
Code: [Select]
"ulx_showmotd" "1"
"ulx motdfile" "ulx_motdfile.txt"

...inside my 'server.cfg'.

My MOTD does not show up when I spawn in, and now, after what the most recent poster told me to put, when I use !motd the server tells me the files doesn't exist. I am literally lost now.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
ULX Motd on dedicated server not showing up
« Reply #11 on: February 16, 2016, 04:14:39 AM »
...does the file exist? You need to create the file you gave (ulx_motdfile.txt) at the server's garrysmod root. It should be standard HTML with whatever content you want. You do not need to restart your server, a change map should be fine.

We try to make the messages shown in ULX as explanatory as possible. Is there anything we can do to improve the clarity?
Experiencing God's grace one day at a time.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX Motd on dedicated server not showing up
« Reply #12 on: February 16, 2016, 07:39:25 AM »
Additionally, you can set these settings in XGUI in the Settings tab -> Server tab -> MOTD Settings. Everything is configurable there, and there's even a 'preview MOTD' button to show you what your players will see. I don't think there's any need to restart the server each time.

Edit:
Also, in the XGUI menu, the "Show MOTD when players join" is ticked. And yet, the MOTD still fails to show up when players join.

I should note we've just updated the workshop version with our latest changes, and the whole MOTD editor has been revamped.
« Last Edit: February 16, 2016, 07:41:08 AM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline TheSenDest

  • Newbie
  • *
  • Posts: 24
  • Karma: -1
Re: ULX Motd on dedicated server not showing up
« Reply #13 on: February 16, 2016, 02:00:02 PM »
Okay, I am not subscribed to ULX nor ULib on Workshop so I did not see the new revamp area for the MOTD. For that I apologize for my ignorance.

I fixed all the filenames and everything so now when I use '!motd' the MOTD does show up. However, it still does not show up when players join. Inside my 'server.cfg' I have "ulx_showmotd" "1" and it does nothing. Is there something else I need to setup?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX Motd on dedicated server not showing up
« Reply #14 on: February 16, 2016, 02:10:40 PM »
Possibly another addon is overriding our hook? Try temporarily disabling all other addons except ULX/ULib. Sorry you are having so much trouble with this.
Experiencing God's grace one day at a time.