Author Topic: Echo messages file?  (Read 1398 times)

0 Members and 1 Guest are viewing this topic.

Offline Serravir

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Gamer and coder.
    • Serravir's Shed
Echo messages file?
« on: September 17, 2014, 10:28:51 AM »
Heya everybody,

As I have to configure a sandbox server before the next week-end, I was wondering if I could change the echo messages (such as "You kicked <player> (reason)" or "You banned <player>" etc).
Mostly because I want a very customized server.

Believe me, I searched a lot for the file containing the echo messages but never found what I was looking for. I even searched on ULX forums.

Thanks to anybody who can help me. c:


With all my greetings,

Serravir.

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: Echo messages file?
« Reply #1 on: September 17, 2014, 11:32:42 AM »
Hello there,
that is actually very simple, navigate to the file containing your command(s) you want to change, for ban/kick use:
"addons/ulx/lua/ulx/modules/sh/util.lua"

All you have to do is to change the log message, e.g.:
Code: [Select]
ulx.fancyLogAdmin( calling_ply, "#A kicked #T", target_ply )
Cheers,
Avoid

Offline Serravir

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Gamer and coder.
    • Serravir's Shed
Re: Echo messages file?
« Reply #2 on: September 17, 2014, 09:16:59 PM »
Heya back,

Well, I have to thank you, I exactly found what I was looking for. You deserve a compliment. c:


With all my greetings,

Serravir.