[Mod] Enhanced Chat [chat3]

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

[Mod] Enhanced Chat [chat3]

by octacian » Post

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)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

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

Re: [Mod] Enhanced Chat [chat3]

by ExeterDad » Post

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: 597
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian
Location: Canada

Re: [Mod] Enhanced Chat [chat3]

by octacian » Post

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)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

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

Re: [Mod] Enhanced Chat [chat3]

by Fixer » Post

No CSM required? Nice mod!

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

Re: [Mod] Enhanced Chat [chat3]

by octacian » Post

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)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

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

Re: [Mod] Enhanced Chat [chat3]

by octacian » Post

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)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

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

Re: [Mod] Enhanced Chat [chat3]

by Wuzzy » Post

Applause!

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] Enhanced Chat [chat3]

by azekill_DIABLO » Post

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

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

Re: [Mod] Enhanced Chat [chat3]

by amadin » Post

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: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Post

idk why but I didn't say: Great Work!
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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

Re: [Mod] Enhanced Chat [chat3]

by Wuzzy » Post

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

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

Re: [Mod] Enhanced Chat [chat3]

by octacian » Post

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)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

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] Enhanced Chat [chat3]

by azekill_DIABLO » Post

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

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

Re: [Mod] Enhanced Chat [chat3]

by amadin » Post

no!

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Post

Spoiler
azekill_DIABLO wrote:no!
amadin wrote:no!
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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] Enhanced Chat [chat3]

by azekill_DIABLO » Post

Lone_Wolf wrote:
Spoiler
azekill_DIABLO wrote:no!
amadin wrote:no!
no!

also: what abot working URLs inchat?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: [Mod] Enhanced Chat [chat3]

by octacian » Post

URLs are unrelated to this mod and should be implemented in the engine.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

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] Enhanced Chat [chat3]

by azekill_DIABLO » Post

yeah, i was not sure. it's an interesting feature then, i'm going to ask
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Post

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!
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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] Enhanced Chat [chat3]

by azekill_DIABLO » Post

why not ask yourself :D ?

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

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Post

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
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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

Re: [Mod] Enhanced Chat [chat3]

by octacian » Post

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)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Post

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?
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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

Re: [Mod] Enhanced Chat [chat3]

by octacian » Post

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)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Enhanced Chat [chat3]

by Lone_Wolf » Post

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
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests