[Mod] Enhanced Chat [chat3]

User avatar
octacian
Member
 
Posts: 593
Joined: Mon Dec 21, 2015 22:18
Location: BC, Canada
GitHub: octacian
IRC: octacian
In-game: octacian

[Mod] Enhanced Chat [chat3]

by octacian » Tue Apr 04, 2017 03:25

Enhanced Chat [chat3]

Image

License: MIT (see LICENSE)
GitHub: https://github.com/octacian/chat3
Download: https://github.com/octacian/chat3/archive/master.zip

Notice: The client experience with chat3 can be improved by using Minetest 0.4.16 on the server. In order to use chat3 at its full potential, you need a version of Minetest that includes this commit (May 6th, 2017).

Yes, chat3 seems a whole lot like a spinoff of chat2, however, it (mostly) isn't. It actually isn't that much unlike chat3, except for one thing: rather than cluttering the screen with a second chat window, chat3 just uses the default Minetest chat. Then it's entirely up to the player to configure the chat placement, size, and anything else on their client.

Messages are highlighted in a light blue to players who are within 12 blocks of the sender (configurable with chat3.near, if set to 0 positional highlighting is ignored). Messages in which the receiving player's name is mentioned are highlighted in a light green, as are PMs. Messages in which the first character is a ! are highlighted in red to all players (also known as a shout). Important messages (mentions or shouts) also cause a bell to be played to players if chat3.bell is true and the player hasn't disabled the chatbell using the /chatbell command. Everything mentioned here can also be configured, and is documented below in the Configuration section.

If the server is using Minetest 0.4.16, which has the ability to properly retrieve the protocol version of the client without requiring a debug build, chat3 will automatically adjust its message handling to work with older clients as well. This means that clients before 0.4.16 will not see chat duplication on their side, and colour codes will not be sent to clients that do not support them.

Configuration

All of the features provided by chat3 can be configured directly from the advanced settings menu in the chat3 subsection of the top-level Mods section. You can also configure chat3 directly from minetest.conf with the settings listed below.

  • chat3.near - float - 12 - Near highlight range
  • chat3.bell - bool - true - Enable chatbell
  • chat3.shout - bool - true - Allow shout messages
  • chat3.shout_prefix - string - ! - Shout prefix

The chatbell can also be enabled or disabled using the /chatbell command per-player. Please view the README for more nicely formatted configuration information.

Media License

Brandon75689 - https://opengameart.org/content/point-bell (CC-BY-SA 3.0)
  • chat3_bell.ogg

chat3 is a rolling release, meaning that there are no version numbers.
Last edited by octacian on Thu Jun 29, 2017 03:58, edited 1 time in total.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [Mod] Enhanced Chat [chat3]

by ExeterDad » Tue Apr 04, 2017 15:56

Does the chat deal with older (up to release) clients and dev clients chat prediction? Users may not see their chat or see in double depending on what client they are using.
But I really like where this is going :)
 

User avatar
octacian
Member
 
Posts: 593
Joined: Mon Dec 21, 2015 22:18
Location: BC, Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Enhanced Chat [chat3]

by octacian » Tue Apr 04, 2017 16:52

ExeterDad wrote:Does the chat deal with older (up to release) clients and dev clients chat prediction? Users may not see their chat or see in double depending on what client they are using.
But I really like where this is going :)


Well, the mod was written on v0.4.15-dev, so there would be duplication on older clients. I should be able to make use of minetest.get_player_information to get the client version and prevent duplication if the player is using an older client.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
 

User avatar
Fixer
Member
 
Posts: 866
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer
 

User avatar
octacian
Member
 
Posts: 593
Joined: Mon Dec 21, 2015 22:18
Location: BC, Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Enhanced Chat [chat3]

by octacian » Thu Apr 06, 2017 20:48

Fixerol wrote:No CSM required? Nice mod!


Thanks!

After all, CSM isn't the solution to everything....

Though I am planning on implementing this using CSM very soon for those who would like to use it on servers which do not have chat3 installed. Before I do that though, I need to do some other stuff and review the CSM API. Plus, it is better at this point to simply use the server-side mod for now as the CSM API will change.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
 

User avatar
octacian
Member
 
Posts: 593
Joined: Mon Dec 21, 2015 22:18
Location: BC, Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Enhanced Chat [chat3]

by octacian » Thu Jun 29, 2017 04:00

Update:
  • chat3 is now even more configurable
  • configuration can be modified from the advanced settings tab
  • a chatbell has been added
  • if the server is running a relatively recent version of Minetest, client protocol versions will be automatically checked so as to prevent unsupported features from being used on older clients (e.g. prevent chat coloring for clients that don't support it, and prevent chat duplication on clients with chat prediction)

Please see the original post for more information.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
 

User avatar
Wuzzy
Member
 
Posts: 3241
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Enhanced Chat [chat3]

by Wuzzy » Sun Jul 02, 2017 20:49

Applause!
My creations. I gladly take any bitcoins you have lying around: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

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

amadin
Member
 
Posts: 544
Joined: Tue Jun 16, 2015 16:23

Re: [Mod] Enhanced Chat [chat3]

by amadin » Sun Jul 09, 2017 13:41

I wait this mod a long time.
Last edited by amadin on Sun Sep 03, 2017 19:10, edited 1 time in total.
 

User avatar
Lone_Wolf
Member
 
Posts: 1979
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf
 

User avatar
Wuzzy
Member
 
Posts: 3241
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Enhanced Chat [chat3]

by Wuzzy » Sun Jul 16, 2017 14:11

Are sounds enabled by default? If yes, I do not recommend to use this on servers, it can get annoying quickly.
My creations. I gladly take any bitcoins you have lying around: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
octacian
Member
 
Posts: 593
Joined: Mon Dec 21, 2015 22:18
Location: BC, Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Enhanced Chat [chat3]

by octacian » Sun Jul 16, 2017 14:46

Wuzzy wrote:Are sounds enabled by default? If yes, I do not recommend to use this on servers, it can get annoying quickly.


Yes, the chatbell is enabled by default, however, it only plays when you get a PM or are mentioned in a message (i.e. when a message is highlighted in green). This can easily be disabled either for the entire server or per-player. Do you think I should have it disabled by default?
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
 

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

amadin
Member
 
Posts: 544
Joined: Tue Jun 16, 2015 16:23
 

User avatar
Lone_Wolf
Member
 
Posts: 1979
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Mon Jul 17, 2017 18:01

+ Some nice people answered for me
 

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

Re: [Mod] Enhanced Chat [chat3]

by azekill_DIABLO » Tue Jul 18, 2017 09:37

Lone_Wolf wrote:
+ Some nice people answered for me

no!

also: what abot working URLs inchat?
 

User avatar
octacian
Member
 
Posts: 593
Joined: Mon Dec 21, 2015 22:18
Location: BC, Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Enhanced Chat [chat3]

by octacian » Tue Jul 18, 2017 13:38

URLs are unrelated to this mod and should be implemented in the engine.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
 

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

User avatar
Lone_Wolf
Member
 
Posts: 1979
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Tue Jul 18, 2017 14:35

azekill_DIABLO wrote:yeah, i was not sure. it's an interesting feature then, i'm going to ask

Ask for something that allows ppl to copy txt from the console (F10) please!
 

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

User avatar
Lone_Wolf
Member
 
Posts: 1979
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Tue Jul 18, 2017 17:09

azekill_DIABLO wrote:why not ask yourself :D ?

EDIT:: oh then if you want. :3

Save space lol.
If you made this into a CSM I will like/love you forever octacian. I already do though but you know what I mean xD
 

User avatar
octacian
Member
 
Posts: 593
Joined: Mon Dec 21, 2015 22:18
Location: BC, Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Enhanced Chat [chat3]

by octacian » Tue Jul 18, 2017 22:37

Lone_Wolf wrote:If you made this into a CSM I will like you forever octacian. I already do though but you know what I mean xD


Let me state this first: That was weird :P :rofl: jk, no rly

There's already this, but I suppose it's not really all that useful. When I get some time, I'll see what I can do, although I'm not too worried about CSM ATM considering how unstable it is.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
 

User avatar
Lone_Wolf
Member
 
Posts: 1979
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Tue Jul 18, 2017 22:41

octacian wrote:
Lone_Wolf wrote:If you made this into a CSM I will like you forever octacian. I already do though but you know what I mean xD


Let me state this first: That was weird :P :rofl: jk, no rly

There's already this, but I suppose it's not really all that useful. When I get some time, I'll see what I can do, although I'm not too worried about CSM ATM considering how unstable it is.

I'm weird 8)
My speakers are terrible so I just turned them off lol
Unstable?
 

User avatar
octacian
Member
 
Posts: 593
Joined: Mon Dec 21, 2015 22:18
Location: BC, Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Enhanced Chat [chat3]

by octacian » Wed Jul 19, 2017 04:39

Lone_Wolf wrote:Unstable?


CSM is still in development, features are added, removed, changed, and renamed without notice. The very presence of CSM in 0.4.16 should have IMO caused it to be considered an even more "alpha" release than ever. In other words, CSMs are very prone to breakage due to changes.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
 

User avatar
Lone_Wolf
Member
 
Posts: 1979
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Wed Jul 19, 2017 06:13

octacian wrote:
Lone_Wolf wrote:Unstable?


CSM is still in development, features are added, removed, changed, and renamed without notice. The very presence of CSM in 0.4.16 should have IMO caused it to be considered an even more "alpha" release than ever. In other words, CSMs are very prone to breakage due to changes.

Oh ok. Ya don't need to do a CSM if you don't feel like it then xD
 

Next

Return to WIP Mods



Who is online

Users browsing this forum: Pyrollo and 2 guests