Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Serravir on September 17, 2014, 10:28:51 AM

Title: Echo messages file?
Post by: Serravir 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.
Title: Re: Echo messages file?
Post by: Avoid 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
Title: Re: Echo messages file?
Post by: Serravir 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.