• Print

Author Topic: Is it possible to see when someone has been put in a group?  (Read 3898 times)

0 Members and 1 Guest are viewing this topic.

Offline nano120

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Is it possible to see when someone has been put in a group?
« on: April 04, 2016, 03:01:14 am »
Look at the title.

Thanks in advance!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Is it possible to see when someone has been put in a group?
« Reply #1 on: April 04, 2016, 04:45:45 am »
Yes. In general it is echoed to chat. Or are you a developer looking for a way to hook the change?
Experiencing God's grace one day at a time.

Offline nano120

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Is it possible to see when someone has been put in a group?
« Reply #2 on: April 04, 2016, 05:48:25 am »
Thats not what i mean. sorry, just realised that I wasnt thorough enough. I want to see a specific day and time someone went into a group.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Is it possible to see when someone has been put in a group?
« Reply #3 on: April 04, 2016, 06:47:54 am »
Thats not what i mean. sorry, just realised that I wasnt thorough enough. I want to see a specific day and time someone went into a group.
If your server runs Linux, you could try this:
Code: Bash
  1. grep "added <username> to group <group>" "<server directory>/garrysmod/data/ulx_logs/*.txt"
(assuming I remember the ULX file structure correctly).
Replace anything within <>s with what you're looking for. If it finds the string, it should print out the filename where it found it (which is a date).
« Last Edit: April 04, 2016, 06:51:11 am by Bytewave »
bw81@ulysses-forums ~ % whoami
Homepage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Is it possible to see when someone has been put in a group?
« Reply #4 on: April 04, 2016, 07:36:10 pm »
I want to see a specific day and time someone went into a group.
As Megiddo stated, logged to chat.
Unless you have logging disabled (which, is a bad idea), search \data\ulx\logs.
You'll need to find a good way to search though, like Bytewave suggests if you have linux with grep.
There are windows versions of grep available too.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

  • Print