[CSM] Colored names in chat [colored_names]

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

[CSM] Colored names in chat [colored_names]

by Krock » Post

Colored Names

This post is more or less a converted copy of the README.md file.

Description
Image
This client mod colorizes the nicknames in-game, so communicating gets easier, even when many people are chatting with each other. On some servers with special chatting mods it may not detect the messages correctly or conflict with their formatting.

Installation
0. Close all Minetest processes
1. Join the Minetest directory which contains the directories mods, games, ...
2. (Create and) open the directory clientmods in this location
3. git clone https://github.com/SmallJoker/colored_names.git
5. (Create and) open the file mods.conf in clientmods
6. Add or update the line load_mod_colored_names = true
8. Start Minetest

Tested on: 0.4.17-dev (Dec 2017), 0.5.0-dev (fresh baked)
License: MIT
Links: GitHub Source (.git), Nasty *.zip
Last edited by Krock on Fri Apr 13, 2018 16:04, edited 1 time in total.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
rubenwardy
Moderator
Posts: 6281
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: [CSM] Colored names in chat [colored_names]

by rubenwardy » Post

Nice!

This really should be an engine feature though

Enrikoo
Member
Posts: 452
Joined: Thu Nov 16, 2017 18:18
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
Location: Germany
Contact:

Re: [CSM] Colored names in chat [colored_names]

by Enrikoo » Post

Krock: If I get damage I get some errors with the client. Could you find the bug?

If you find it then fix it please.

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

Re: [CSM] Colored names in chat [colored_names]

by Krock » Post

Enrikoo wrote:If I get damage I get some errors with the client.
If you see errors: they're either logged in your debug.txt file or at least in the terminal/console window when you start Minetest from there. As I cannot reproduce this error, please provide that information so I know where I can begin to search for a solution.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Enrikoo
Member
Posts: 452
Joined: Thu Nov 16, 2017 18:18
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
Location: Germany
Contact:

Re: [CSM] Colored names in chat [colored_names]

by Enrikoo » Post

I got this error

Code: Select all

2018-05-03 18:31:51: ERROR[Main]: ModError: Runtime error from mod '' in callback on_damage_taken(): ....17-3d0617c-win64\bin\..\builtin\client\chatcommands.lua:64: attempt to concatenate local 'param' (a nil value)
2018-05-03 18:31:51: ERROR[Main]: Siehe debug.txt für Details.

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

Re: [CSM] Colored names in chat [colored_names]

by Krock » Post

@Enrikoo: That bug is outside of this mods scope. Neither there's a "on_damage_taken" callback registered nor a call for "minetest.run_server_chatcommand". Search for the occurrence of "register_on_damage_taken" in your clientmods directory to find the bad mod which you should either update, disable or fix manually.
If this doesn't help, close all instances of Minetest and disable all client mods but colored_names. If you still get an error message, update or reinstall Minetest and check again. If the probelm persists, then post the error message here.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Enrikoo
Member
Posts: 452
Joined: Thu Nov 16, 2017 18:18
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
Location: Germany
Contact:

Re: [CSM] Colored names in chat [colored_names]

by Enrikoo » Post

Krock wrote:@Enrikoo: That bug is outside of this mods scope. Neither there's a "on_damage_taken" callback registered nor a call for "minetest.run_server_chatcommand". Search for the occurrence of "register_on_damage_taken" in your clientmods directory to find the bad mod which you should either update, disable or fix manually.
If this doesn't help, close all instances of Minetest and disable all client mods but colored_names. If you still get an error message, update or reinstall Minetest and check again. If the probelm persists, then post the error message here.
Ok I disabled all my csms and just have coloured_names enabled. With that I don't get errors. There's a csm issue.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests