[mod][20MM] Coloured chat for players [1.0][chat_c]

Post Reply
wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

[mod][20MM] Coloured chat for players [1.0][chat_c]

by wilkgr76 » Post

What is it?

chat_c is a small mod allowing players to colour their chat message by prefixing their message with a code.

What is it useful for?

If a moderator or admin needs to make their message stand out, colour is the way to go. Besides, colours also often have a meaning - common examples are that red is wrong or constitutes a warning, and that green is right

How do I use it?

Once the mod is installed, simply grant yourself the chat_c priv. You will need to prefix your message with a code and a space, like so:

Code: Select all

b Thank you wilkgr & shivajiva
which will result in this:

<you> Thank you wilkgr & shivajiva

How do I install it?

Fair point. Download it from Github and extract it. Remove the "-master" part from the folder name

Are there any dependencies?

Having default* is probably a plus.

What is it licensed under?

It is licensed under the AGPLv3, meaning that if you modify it to use on your server, you must release the source code.

Are there any other contributors?

Yes. This mod was made with the help of shivajiva. Also thanks to taikedz

What is a list of all the colour codes?

The full list is here: List

What is it's current version?

Version 1.0

Where do I download it?

https://github.com/wilkgr76/chat_c


*FYI: default is bundled with minetest.
N/A

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by azekill_DIABLO » Post

super! but if i start a message by "a" like in "a pig is in my house" it world be colored, no? i vote for a little tag addition something like ~a~ or <a>
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by Krock » Post

I'd rather prefer commands instead of prefixes, such as /green /yellow and the text behind it.
FYI: You can also create these messages manually by copy&paste the ESC ASCII character into the chat, in the following format: [ESC](c@#FF0000) Hello world message
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by wilkgr76 » Post

Krock wrote:I'd rather prefer commands instead of prefixes, such as /green /yellow and the text behind it.
FYI: You can also create these messages manually by copy&paste the ESC ASCII character into the chat, in the following format: [ESC](c@#FF0000) Hello world message
That was what I had originally done (see the 'legacy code' commit on Github) before I was persuaded to do it otherwise - this approach is more mobile friendly.
azekill_DIABLO wrote:super! but if i start a message by "a" like in "a pig is in my house" it world be colored, no? i vote for a little tag addition something like ~a~ or <a>
I honestly couldn't think of a a reason why you would have 't' as a free-standing letter, but, as with commands, if you add a space in front of it, the mod won't pick it up. Or you could, you know, just not give the chat_c priv to normal players. Many moderators use two separate accounts.
N/A

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by azekill_DIABLO » Post

ok then, t hanks
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

angelo1123_
Member
Posts: 547
Joined: Sun Jan 15, 2017 22:22
IRC: angelo1123_
In-game: angelo1123_
Location: cork city,IRELAND
Contact:

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by angelo1123_ » Post

wilkgr76 wrote:

What is it?

chat_c is a small mod allowing players to colour their chat message by prefixing their message with a code.

What is it useful for?

If a moderator or admin needs to make their message stand out, colour is the way to go. Besides, colours also often have a meaning - common examples are that red is wrong or constitutes a warning, and that green is right

How do I use it?

Once the mod is installed, simply grant yourself the chat_c priv. You will need to prefix your message with a code and a space, like so:

Code: Select all

b Thank you wilkgr & shivajiva
which will result in this:

<you> Thank you wilkgr & shivajiva

How do I install it?

Fair point. Download it from Github and extract it. Remove the "-master" part from the folder name

Are there any dependencies?

Having default* is probably a plus.

What is it licensed under?

It is licensed under the AGPLv3, meaning that if you modify it to use on your server, you must release the source code.

Are there any other contributors?

Yes. This mod was made with the help of shivajiva. Also thanks to taikedz

What is a list of all the colour codes?

The full list is here: List

What is it's current version?

Version 1.0

Where do I download it?

https://github.com/wilkgr76/chat_c


*FYI: default is bundled with minetest.
I don't get it how do I use it
Mhk (mmm-kay) means okay.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by azekill_DIABLO » Post

you write a message

Code: Select all

potatoes are yellow
and you add a special character at the start of the message

Code: Select all

g potatoes are yellow
from github page: the codes!

Code: Select all

    b (blue)
    lb (lightblue)
    g (green)
    lg (lightgreen)
    r (red)
    p (pink)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

angelo1123_
Member
Posts: 547
Joined: Sun Jan 15, 2017 22:22
IRC: angelo1123_
In-game: angelo1123_
Location: cork city,IRELAND
Contact:

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by angelo1123_ » Post

I'll try this thanks
Mhk (mmm-kay) means okay.

angelo1123_
Member
Posts: 547
Joined: Sun Jan 15, 2017 22:22
IRC: angelo1123_
In-game: angelo1123_
Location: cork city,IRELAND
Contact:

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by angelo1123_ » Post

I tried it on my single player and I got a code thingy but on servers it don't work
Mhk (mmm-kay) means okay.

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by Andrey01 » Post

I think if developers added it on default it would be just nice.

angelo1123_
Member
Posts: 547
Joined: Sun Jan 15, 2017 22:22
IRC: angelo1123_
In-game: angelo1123_
Location: cork city,IRELAND
Contact:

Re: [mod][20MM] Coloured chat for players [1.0][chat_c]

by angelo1123_ » Post

Yeah it would
Mhk (mmm-kay) means okay.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests