[Clientmod] Chatbell [chatbell]

User avatar
DS-minetest
Member
Posts: 1137
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

[Clientmod] Chatbell [chatbell]

by DS-minetest » Post

Chatbell

You hear a bell if your name is written in chat.
Use chatbell command to turn off/on and block players.
Read README.md!

License: CC0

Download
Github
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

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

Re: [Clientmod] Chatbell [chatbell]

by Fixer » Post

Very useful. But where is chatbell_bell.ogg?
Last edited by Fixer on Fri Jun 09, 2017 13:46, edited 1 time in total.

User avatar
Nathan.S
Member
Posts: 1009
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Clientmod] Chatbell [chatbell]

by Nathan.S » Post

Oh, I like that a idea. It's very easy to miss a mention in chat.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

nrz
Developer
Posts: 131
Joined: Sat Feb 07, 2015 17:16
GitHub: nerzhul
IRC: nrzkt
In-game: nrz
Location: France
Contact:

Re: [Clientmod] Chatbell [chatbell]

by nrz » Post

nice job :)

User avatar
DS-minetest
Member
Posts: 1137
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Post

Fixerol wrote:Very useful. But where is chatbell_bell.ogg?
Add it to your soundpack. For example one of these: https://github.com/bousket/chatbell/tree/master/sounds
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

Qbiq
Member
Posts: 31
Joined: Sun Jul 09, 2017 17:37
In-game: Qbiq

Re: [Clientmod] Chatbell [chatbell]

by Qbiq » Post

Hi. I apologize if I am posting this in the wrong area. I'm new here. I'm having issues getting this to work. I have tried several CSM at once and received a slew of errors therefor I am only running chatbell and csm_com. I opted to use the chatbell_i-demand-attention.ogg sound, which may be found here, which I placed in /usr/share/minetest/sounds. I've provided as much information as possible below. Any help will be much appreciated.

Below is the error I receive:
Image

I am running Linux Mint 18.1 with Minetest 0.4.16. I am using a global install instead of a R.I.P. (Run In Place).

My directory tree is as follows:
+ Spoiler

/home/[username]/.minetest/clientmods/mods.conf
+ Spoiler

/home/[username]/.minetest/minetest.conf
+ Spoiler

/home/[username]/.minetest/debug.txt
+ Spoiler
Last edited by Qbiq on Sun Jul 09, 2017 21:02, edited 1 time in total.

User avatar
TalkLounge
Member
Posts: 312
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Clientmod] Chatbell [chatbell]

by TalkLounge » Post

Hi,
you must change the: "minetest.register_on_receiving_chat_message(function(message))"
into: "minetest.register_on_receiving_chat_messages(function(message))"

There is missing an "s" at message. :)
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

Qbiq
Member
Posts: 31
Joined: Sun Jul 09, 2017 17:37
In-game: Qbiq

Re: [Clientmod] Chatbell [chatbell]

by Qbiq » Post

TalkLounge wrote: (Snip)
Thank you so much!!! In case anyone else stumbles across this, the string needs to be changed in both csm_com (init.lua line 27) and chatbell (init.lua line 44).

User avatar
DS-minetest
Member
Posts: 1137
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Post

Actually the function has no s in the newest minetest dev version.

Ps.: It's nice to see someone who seems to have no other problems (eg. with soundpacks).
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

Qbiq
Member
Posts: 31
Joined: Sun Jul 09, 2017 17:37
In-game: Qbiq

Re: [Clientmod] Chatbell [chatbell]

by Qbiq » Post

DS-minetest wrote:Actually the function has no s in the newest minetest dev version.

Ps.: It's nice to see someone who seems to have no other problems (eg. with soundpacks).
Thanks for the info. I'm assuming MT dev. ver. is 0.4.16.1 (I think that's what I seen in a screenshot somewhere). Being as I'm not a dev. and don't feel like dealing with issues I will stick with 0.4.16 for now. Actually, I don't get any sound. [EDIT] BTW, I did change the file name to chatbell_bell.ogg (I checked the code). It does change my text to green which is very nice though.

I appreciate your work, and I'm in no way complaining.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Post

I get an error O_o
My Public Mods! Discord: Rottweiler Games#3368

User avatar
TalkLounge
Member
Posts: 312
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Clientmod] Chatbell [chatbell]

by TalkLounge » Post

What for an error?
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
DS-minetest
Member
Posts: 1137
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Post

ManElevation wrote:I get an error O_o
The same as Qbiq?
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

Xanthin
Member
Posts: 126
Joined: Fri Mar 07, 2014 14:05
GitHub: Xanthin
IRC: Xanthin
In-game: Xanthin
Location: Germany

Re: [Clientmod] Chatbell [chatbell]

by Xanthin » Post

Could the mod be extended with features like:
  • ring the bell when you get a PM via /msg,
  • enter some other player names to be noticed when they join/leave?

User avatar
DS-minetest
Member
Posts: 1137
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Post

Xanthin wrote:Could the mod be extended with features like:
  • ring the bell when you get a PM via /msg,
  • enter some other player names to be noticed when they join/leave?
Sure.
I've added it to my todo list.
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

Xanthin
Member
Posts: 126
Joined: Fri Mar 07, 2014 14:05
GitHub: Xanthin
IRC: Xanthin
In-game: Xanthin
Location: Germany

Re: [Clientmod] Chatbell [chatbell]

by Xanthin » Post

Great! Thank you in advance.

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Clientmod] Chatbell [chatbell]

by Stix » Post

this is great! now ill never miss a message again :D
Hey, what can i say? I'm the bad guy.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Post

wont work, and i need it :(
My Public Mods! Discord: Rottweiler Games#3368

User avatar
DS-minetest
Member
Posts: 1137
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Post

ManElevation wrote:wont work, and i need it :(
Try installing this mod: https://github.com/DS-Minetest/s_compatibility
And add "s_compatibility?" into a new line to the depends.txt of csm_com.
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Post

DS-minetest wrote:
ManElevation wrote:wont work, and i need it :(
Try installing this mod: https://github.com/DS-Minetest/s_compatibility
And add "s_compatibility?" into a new line to the depends.txt of csm_com.
um.. not its loads, but dosent make the bellsound
My Public Mods! Discord: Rottweiler Games#3368

User avatar
DS-minetest
Member
Posts: 1137
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Post

ManElevation wrote:
DS-minetest wrote:
ManElevation wrote:wont work, and i need it :(
Try installing this mod: https://github.com/DS-Minetest/s_compatibility
And add "s_compatibility?" into a new line to the depends.txt of csm_com.
um.. not its loads, but dosent make the bellsound
Did you do what the README.md tells you?
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Post

i got the `chatbell_bell.ogg` but weres do i put it? weres the sound pack?
My Public Mods! Discord: Rottweiler Games#3368

Xanthin
Member
Posts: 126
Joined: Fri Mar 07, 2014 14:05
GitHub: Xanthin
IRC: Xanthin
In-game: Xanthin
Location: Germany

Re: [Clientmod] Chatbell [chatbell]

by Xanthin » Post

ManElevation wrote:i got the `chatbell_bell.ogg` but weres do i put it? weres the sound pack?
I created a "sounds" folder under minetest (minetest/sounds) and put the soundfile in it.
http://wiki.minetest.net/Sound_Packs

User avatar
ChimneySwift
Member
Posts: 320
Joined: Fri Sep 22, 2017 06:46
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift
Location: 127.0.0.1

Re: [Clientmod] Chatbell [chatbell]

by ChimneySwift » Post

Would it be possible to add a feature where additional names/nicknames could be added? The server I frequent already has a similar mod installed however occasionally I miss messages when they are sent with nicknames instead of my actual user.

For example the might type "CS" or "Chimney" instead, and I would still like to receive the chat bells for these messages.
A spoon is basically a tiny bowl with a stick on it

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Post

ChimneySwift wrote:Would it be possible to add a feature where additional names/nicknames could be added? The server I frequent already has a similar mod installed however occasionally I miss messages when they are sent with nicknames instead of my actual user.

For example the might type "CS" or "Chimney" instead, and I would still like to receive the chat bells for these messages.
good idea! people call me "Man" in game so i dont get the chatbell sound :I
My Public Mods! Discord: Rottweiler Games#3368

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest