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

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

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

by wilkgr76 » Wed Mar 01, 2017 06:40

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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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 do not care.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

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

by azekill_DIABLO » Thu Mar 02, 2017 18:22

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>
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

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

by Krock » Thu Mar 02, 2017 18:35

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
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

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

by wilkgr76 » Fri Mar 03, 2017 00:41

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.
I do not care.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

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

by azekill_DIABLO » Fri Mar 03, 2017 19:42

ok then, t hanks
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 54 guests

cron