ULX

Poll

No, I want to change the color and so that instead of the admin name the moderator writes

-
0 (0%)
-
0 (0%)

Total Members Voted: 0

Author Topic: Text question  (Read 2758 times)

0 Members and 1 Guest are viewing this topic.

Offline Soda

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Text question
« 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


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Text question
« Reply #1 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.
Experiencing God's grace one day at a time.

Offline Soda

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Text question
« Reply #2 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

Offline Timmy

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • Code monkey
Re: Text question
« Reply #3 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...



Advanced customizations would require changes to lua/ulx/modules/sh/util.lua
« Last Edit: January 25, 2020, 09:22:25 AM by Timmy »

Offline Timmy

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • Code monkey
Re: Text question
« Reply #4 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"



I don't understand "so that instead of the admin name the moderator writes". Can you rephrase or explain?

Offline FritzJent

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Text question
« Reply #5 on: February 18, 2020, 03:29:15 AM »
How many different colored user groups can you create like this?