[Clientmod] Chatbell [chatbell]

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

[Clientmod] Chatbell [chatbell]

by DS-minetest » Thu Jun 08, 2017 18:59

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
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

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

Re: [Clientmod] Chatbell [chatbell]

by Fixer » Thu Jun 08, 2017 21:07

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: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Clientmod] Chatbell [chatbell]

by Nathan.S » Fri Jun 09, 2017 01:58

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: 114
Joined: Sat Feb 07, 2015 17:16
Location: France
GitHub: nerzhul
IRC: nrzkt
In-game: nrz
 

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Sat Jun 17, 2017 09:04

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
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

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

Re: [Clientmod] Chatbell [chatbell]

by Qbiq » Sun Jul 09, 2017 19:43

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: 214
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
IRC: TalkLounge
In-game: TalkLounge

Re: [Clientmod] Chatbell [chatbell]

by TalkLounge » Sun Jul 09, 2017 20:22

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 » Sun Jul 09, 2017 21:16

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: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Mon Jul 10, 2017 14:50

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).
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

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

Re: [Clientmod] Chatbell [chatbell]

by Qbiq » Tue Jul 11, 2017 21:59

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: 893
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
 

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

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Fri Aug 04, 2017 09:41

ManElevation wrote:I get an error O_o

The same as Qbiq?
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

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

Re: [Clientmod] Chatbell [chatbell]

by Xanthin » Fri Aug 04, 2017 20:25

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: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Fri Aug 04, 2017 20:27

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.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

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

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

Re: [Clientmod] Chatbell [chatbell]

by Stix » Fri Aug 04, 2017 22:54

this is great! now ill never miss a message again :D
Hey, what can i say? I'm the bad guy.
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

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

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Sat Aug 05, 2017 21:10

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

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Sun Aug 06, 2017 08:45

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.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

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

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Tue Aug 08, 2017 11:09

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: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Clientmod] Chatbell [chatbell]

by DS-minetest » Tue Aug 08, 2017 12:29

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?
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

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

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Tue Aug 08, 2017 17:00

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
Location: Germany
GitHub: Xanthin
IRC: Xanthin
In-game: Xanthin

Re: [Clientmod] Chatbell [chatbell]

by Xanthin » Tue Aug 08, 2017 19:31

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: 319
Joined: Fri Sep 22, 2017 06:46
Location: 127.0.0.1
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift

Re: [Clientmod] Chatbell [chatbell]

by ChimneySwift » Tue Oct 10, 2017 08:40

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: 893
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Clientmod] Chatbell [chatbell]

by ManElevation » Tue Oct 10, 2017 13:06

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
 

Next

Return to Client-side modding



Who is online

Users browsing this forum: No registered users and 0 guests