Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Soda on January 24, 2020, 04:38:09 AM

Title: Text question
Post by: Soda on January 24, 2020, 04:38:09 AM

Hi, I installed ULX on my server. I want to change the text that is written after a ban or kick, etc. Where to change it?
Like this- https://sun6-19.userapi.com/EcTImBRdUmMK_Xh7I3adJDe_ua8H6X31gwm1Dw/0uwqlG-1AAk.jpg

Title: Re: Text question
Post by: Megiddo on January 24, 2020, 02:22:02 PM
You'd have to modify the source file to change that message. Just search the code for "has kicked" and it'll take you right to it.
Title: Re: Text question
Post by: Soda on January 25, 2020, 07:58:35 AM
I don’t know, I searched all the source files and didn’t find it. Can’t you tell me the approximate path or name of the source file
Title: Re: Text question
Post by: Timmy on January 25, 2020, 09:17:00 AM
The image is a little blurry. Are you asking how to change the orange text?

The orange text is the kick/ban reason.

In chat:
!kick Bot01 Kick reason here...
!ban Bot01 1h Ban reason here...

(https://timmy.github.io/images/kick-reason.png)

Advanced customizations would require changes to lua/ulx/modules/sh/util.lua
Title: Re: Text question
Post by: Timmy on January 26, 2020, 12:46:02 PM
OP has added a poll/reply:
Quote
No, I want to change the color and so that instead of the admin name the moderator writes

You can change the colors in the ULX menu: Open ULX menu (XGUI) > Click "Settings" tab > Click "Server" tab > Click "ULX Command/Event Echoes"

(https://timmy.github.io/images/xgui-command-event-echoes.png)

I don't understand "so that instead of the admin name the moderator writes". Can you rephrase or explain?
Title: Re: Text question
Post by: FritzJent on February 18, 2020, 03:29:15 AM
How many different colored user groups can you create like this?