How to disable chat background and bar?

So i was able to hide background from chat, but cant figure out how to disable this chat bar.
Also is there anyway to hide “normal” chat messages? so players could only use /ooc and /tweet?

1 Like

You’re going to have to edit the default chat resource, which is not recommended. But if you really, really want to change the chat resource you should do the following:

In index.css change this (line 79):

  background-color: rgba(44, 62, 80, 1.0);

to this:

  background-color: rgba(44, 62, 80, 0.0);

You could cancel all chat message events unless the message was sent using /ooc or /tweet.

2 Likes

how did you get the big box removed?

cfx-server-data-master\resources[system]\chat\html

index.css

I believe it is this line that you want to remove:

background-color: rgba(52, 73, 94, 0.7);

EDIT: or you don’t actually have to remove it, you can just make it transparent, like Vespura did. Like this:

background-color: rgba(52, 73, 94, 0.0);

1 Like

Got it! thanks :slight_smile:

Hi, can you tell me how to remove that bar please?

You go into the index.css under textarea you find background-color you set (44, 62, 80, 1.0) to (44, 62, 80, 0.0) and restart your server

1 Like

How you disabled background from chat?

1 Like

hello, you go to the chat / html / config.default folder and change line 17 to the color you want

1 Like

how you hide the background;