ULX

Author Topic: make ulx console logs visible to other groups  (Read 3392 times)

0 Members and 2 Guests are viewing this topic.

Offline wanksta11

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
make ulx console logs visible to other groups
« on: August 10, 2012, 10:28:25 AM »
Only superadmins can see who spawned what and who killed who in console, is there a way I can add a group, "mod" in my case to make it visible for them too? I tried my messing with log.lua but I can't find a way.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: make ulx console logs visible to other groups
« Reply #1 on: August 11, 2012, 02:39:13 PM »
Only superadmins can see who spawned what and who killed who in console
Gmod and ULX have an "admin" group, below superadmin.
Most folks should be part of that group except for you as a superadmin.
If you want a custom group, believe you'd need to give them "ulx logspawnsecho" access.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline wanksta11

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: make ulx console logs visible to other groups
« Reply #2 on: August 12, 2012, 09:48:58 PM »
I've added
      "ulx logecho"
      "ulx logechocolorconsole"
      "ulx logechocolordefault"
      "ulx logechocoloreveryone"
      "ulx logechocolormisc"
      "ulx logechocolorplayer"
      "ulx logechocolorplayerasgroup"
      "ulx logechocolors"
      "ulx logechocolorself"
      "ulx logevents"
      "ulx logfile"
      "ulx logjoinleaveecho"
      "ulx logspawns"
      "ulx logspawnsecho"
to my mod group but they still can't see who killed who in console

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: make ulx console logs visible to other groups
« Reply #3 on: August 13, 2012, 08:44:58 PM »
Uh, ok. Can you as superadmin? Can they see spawns now?
It's been so long, I forget if we have killing logged through ULX.
"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: make ulx console logs visible to other groups
« Reply #4 on: August 14, 2012, 06:28:47 PM »
ULX isn't showing player deaths to any users at all, it's only logging it to a file. You could change the ulx.logString's to ulx.logServAct and ulx.logUserAct's though. You'd want hide_echo set to true to echo to those with access to "ulx hiddenecho" only.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: make ulx console logs visible to other groups
« Reply #5 on: August 14, 2012, 09:32:02 PM »
ULX isn't showing player deaths to any users at all,
Ah, I questioned if thats what was it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline wanksta11

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: make ulx console logs visible to other groups
« Reply #6 on: August 19, 2012, 10:39:27 AM »
I have no idea how to do that. Yes superadmins see the who killed who with what but only them.