ULX

Author Topic: Removing "You belong to *insert user group here*" message  (Read 2009 times)

0 Members and 1 Guest are viewing this topic.

Max

  • Guest
Removing "You belong to *insert user group here*" message
« on: February 27, 2008, 03:46:26 PM »
Is there anyway you can remove this from appearing on your server when players join?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Removing "You belong to *insert user group here*" message
« Reply #1 on: February 27, 2008, 05:32:18 PM »
Is there anyway you can remove this from appearing on your server when players join?

This is a Gmod engine message and not a ULX/ULib one.
There is a work around though. Make sure any groups/users in your gmod/settings/users.txt are registered in ULib instead.
Once you've used ulx adduser for all the people in your gmod/settings/users.txt, remove them from that file.

This could cause problems for scripts that don't use IsAdmin, IsSuperadmin or IsUserGroup though and read from the gmod users.txt file directly.

Why would you want it removed though?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming