ULX

Author Topic: A list of admins/superadmins?  (Read 1832 times)

0 Members and 1 Guest are viewing this topic.

Offline ace27

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
A list of admins/superadmins?
« on: February 20, 2010, 05:42:11 AM »
Well, I never meant to, but I've ended up not being able to keep track of the numerous admins on my server, is there anyway to view a full list in the ulx or ulib files?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: A list of admins/superadmins?
« Reply #1 on: February 20, 2010, 09:11:07 AM »
You can manually view normal Gmod (ULib imports it) gmod/settings/users.txt, and ULib created gmod/data/ULib/users.txt
You may also use from server console "ulx debuginfo" which will dump a file into gmod/data/ulx that has both files shown plus all the addons you use and other information.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline ace27

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: A list of admins/superadmins?
« Reply #2 on: February 20, 2010, 10:22:51 AM »
Thank you, can admins be added/removed from this list (the users.txt one)?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: A list of admins/superadmins?
« Reply #3 on: February 20, 2010, 11:31:30 AM »
The ULib one?
Sure, as long as you know how to keep the syntax grouping.
Basically, both svn and release use the same table format
Code: [Select]
"1admin name(steamid if svn)"
{
"blah1"
}
"2admin name(steamid if svn)"
{
"blah2"
}
"3admin name(steamid if svn)"
{
"blah3"
}

You'd need to get rid of "name/steamid" and the full bracket tree { } until the next name/steamid.
"2admin name(steamid if svn)"
{
"blah2"
}

I recommend backing up before editing. Easy to erase a wrong character and break it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming