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

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

[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:
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: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
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>
 

User avatar
Krock
Developer
 
Posts: 4141
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
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
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

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

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.
N/A
 

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

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

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

by angelo1123_ » Sun Jun 11, 2017 22:41

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: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

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

by azekill_DIABLO » Mon Jun 12, 2017 11:35

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)
 

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

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

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

by angelo1123_ » Mon Jun 12, 2017 12:22

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: 2169
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

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

by Andrey01 » Tue Jun 13, 2017 14:12

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

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


Return to WIP Mods



Who is online

Users browsing this forum: Gibeinumo and 5 guests