Chat Bell - ring a bell on name's quote in chat

bousket
New member
 
Posts: 8
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Chat Bell - ring a bell on name's quote in chat

by bousket » Wed Feb 08, 2017 07:47

Hi all !
Tired of missing messages in chat ? Here is

Chat Bell
=========

Chat Bell is a tiny mod ringing a bell on player's name quote in chat.
The functionality can be enabled/disabled by /chatbell command.
Players preferences are saved on disk in <world>/chatbell by default

Mod dependencies: none

This mod should be replaced later by a client-side version.

Code: https://github.com/bousket/chatbell
Mod Zip: https://github.com/bousket/chatbell/archive/master.zip
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: Chat Bell - ring a bell on name's quote in chat

by DS-minetest » Wed Feb 08, 2017 13:10

Nice!
I always wanted such a mod in Minetest.
I can't wait for client side scripting to be implemented, that will be great, I hope! (#5088)
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
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: Chat Bell - ring a bell on name's quote in chat

by ExeterDad » Wed Feb 08, 2017 14:11

Nice! I've been planning on adding a feature like this to our "chat2" mod. Now I don't have to :P
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: Chat Bell - ring a bell on name's quote in chat

by DS-minetest » Wed Feb 08, 2017 15:53

Ehm, I what license does the sound have? I only found the code license.
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.
 

bousket
New member
 
Posts: 8
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Re: Chat Bell - ring a bell on name's quote in chat

by bousket » Wed Feb 08, 2017 18:53

True, I forgot it. It's added in the readme now.

It's under Creative Commons Attribtution licence:
https://notificationsounds.com/notifica ... /coins-497
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: Chat Bell - ring a bell on name's quote in chat

by DS-minetest » Thu Feb 09, 2017 12:04

Btw if you don't add the sound to the mod, each player could have his or her own bell sound.
http://wiki.minetest.net/Sound_Packs
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.
 

bousket
New member
 
Posts: 8
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Re: Chat Bell - ring a bell on name's quote in chat

by bousket » Thu Feb 09, 2017 16:10

I m new to minetest and I am not sure to understand how sounds packs work.
If there is no sound file on the server, how the users know they can get chatbell working by putting some .ogg in their shared folder ?

I'd like to know more because it sounds better for the users. Then, you can chose your own or let it blank and chatbell is disabled. No need for the command and settings parts anymore, which makes it a 10 lines of code mod :D

For now, the sound is easily configurable (server side) in init.lua.
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: Chat Bell - ring a bell on name's quote in chat

by DS-minetest » Thu Feb 09, 2017 18:01

As much as I know, if there's no file with the right name found in the sounds folder in the mod folder then the file from the sounds folder in the minetest folder with the right name is taken.
=> You can delete the sounds folder in the mod folder (and the option commands) but play a sound like "chatbell_bell.ogg" or something like that, the players who don't have a sound with this name in the sounds folder don't hear it. (Perhaps you should add a setting command to change the gain.)
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.
 

bousket
New member
 
Posts: 8
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Re: Chat Bell - ring a bell on name's quote in chat

by bousket » Thu Feb 09, 2017 18:24

I agree on that part. But how a user connecting to a server using chatbell will know there's a missing sound and he can benefit this functionality ?
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: Chat Bell - ring a bell on name's quote in chat

by DS-minetest » Thu Feb 09, 2017 19:20

Um, the server can inform them.
Having that sound in the sounds folder makes no problem, everyone who wants to and sees this mod topic should add it. You should put here some information about it if you do it.
In future I will ask the admins of servers to install this mod to have the feature.
Edit: You should rename the sounds to something like "chatbell_coin", there could be other mods that want to use the same file name.
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.
 

bousket
New member
 
Posts: 8
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Re: Chat Bell - ring a bell on name's quote in chat

by bousket » Thu Feb 09, 2017 20:37

readme.txt updated with Sound Packs possibility.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 17 guests

cron