[Clientmod] Chatbell [chatbell]

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
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 Desour » 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
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
Fixer
Member
Posts: 904
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: 1147
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
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
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 Desour » 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
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

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
-client
-clientmods
--chatbell
--csm_com
-games
-- Removed all games, placed in a temp folder elsewhere.
-mods
--Lot of mods, irrelevant as they don't affect CSM or public servers.
-textures
-worlds
-bower_cfg.bowerrrc
-mintest.conf

/home/[username]/.minetest/clientmods/mods.conf
Spoiler
load_mod_csm_com = true
load_mod_chatbell = true
load_mod_preview = true [this one was added after I ran Minetest. It was "false" by default, so I tried it as true and false.]

/home/[username]/.minetest/minetest.conf
Spoiler
creative_mode = false
fast_move = true
fixed_map_seed =
free_move = true
mainmenu_last_selected_world = 15
maintab_LAST = local
menu_last_game = minetest
mg_name = v7
name = Qbiq
noclip = true
selected_world_path = /home/aj/.minetest/worlds/MTP --- Test 2
server_dedicated = false
world_config_selected_mod = 342
anisotropic_filter = true
bilinear_filter = false
connected_glass = false
enable_bumpmapping = true
enable_damage = true
enable_node_highlighting = true
enable_parallax_occlusion = true
enable_waving_leaves = false
enable_waving_plants = false
enable_waving_water = false
fsaa = 0
gui_scaling = 1.02
leaves_style = simple
mip_map = true
trilinear_filter = false
server_announce = false
port = 30000
generate_normalmaps = true
opaque_water = false
mainmenu_last_selected_TP = 1
texture_path =
world_config_hide_gamemods = false
world_config_hide_modpackcontents = false
cinematic = false
minimap_shape_round = false
viewing_range_nodes_min = 235
enable_3d_clouds = true
enable_shaders = false
address = minetestservers.ddns.net
remote_port = 48254
screenH = 936
screenW = 1278
viewing_range = 140
sound_volume = 0.35
wieldview_node_tiles = false
wieldview_update_time = 2
main_menu_technical_settings = false
active_block_range = 1
3d_armor_update_time = 1
time_speed = 0
enable_client_modding = true
aux1_descends = false
doubletap_jump = false
enable_particles = true
keymap_backward = KEY_KEY_S
keymap_chat = KEY_KEY_T
keymap_cinematic =
keymap_cmd = /
keymap_cmd_local = KEY_PERIOD
keymap_console = KEY_F10
keymap_decrease_volume =
keymap_drop = KEY_TAB
keymap_fastmove = KEY_KEY_J
keymap_forward = KEY_KEY_W
keymap_freemove = KEY_KEY_K
keymap_hotbar_next = KEY_KEY_N
keymap_hotbar_previous = KEY_KEY_B
keymap_increase_volume =
keymap_inventory = KEY_KEY_I
keymap_jump = KEY_SPACE
keymap_left = KEY_KEY_A
keymap_mute = KEY_KEY_M
keymap_noclip = KEY_KEY_H
keymap_print_debug_stacks = KEY_KEY_P
keymap_rangeselect = KEY_KEY_R
keymap_right = KEY_KEY_D
keymap_sneak = KEY_LSHIFT
keymap_special1 = KEY_KEY_E
keymap_zoom = KEY_KEY_Z
smooth_lighting = true
enable_server = false

/home/[username]/.minetest/debug.txt
Spoiler
-------------
Separator
-------------

2017-07-09 14:16:48: WARNING[Main]: BanManager: creating /home/username/.minetest/worlds/CSM/ipban.txt
2017-07-09 14:16:48: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2017-07-09 14:16:48: WARNING[Main]: /!\ You are using old player file backend. This backend is deprecated and will be removed in next release /!\
2017-07-09 14:16:48: WARNING[Main]: Switching to SQLite3 or PostgreSQL is advised, please read http://wiki.minetest.net/Database_backends.
2017-07-09 14:16:48: ACTION[Main]: .__ __ __
2017-07-09 14:16:48: ACTION[Main]: _____ |__| ____ _____/ |_ ____ _______/ |_
2017-07-09 14:16:48: ACTION[Main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
2017-07-09 14:16:48: ACTION[Main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
2017-07-09 14:16:48: ACTION[Main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
2017-07-09 14:16:48: ACTION[Main]: \/ \/ \/ \/ \/
2017-07-09 14:16:48: ACTION[Main]: World at [/home/username/.minetest/worlds/CSM]
2017-07-09 14:16:48: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:57920.
2017-07-09 14:16:48: ERROR[Main]: ModError: Failed to load and run script from /home/username/.minetest/clientmods/csm_com/init.lua:
2017-07-09 14:16:48: ERROR[Main]: /home/username/.minetest/clientmods/csm_com/init.lua:27: attempt to call field 'register_on_receiving_chat_message' (a nil value)
2017-07-09 14:16:48: ERROR[Main]: Check debug.txt for details.
Last edited by Qbiq on Sun Jul 09, 2017 21:02, edited 1 time in total.

User avatar
TalkLounge
Member
Posts: 324
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
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
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 Desour » 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).
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

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: 324
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
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
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 Desour » Post

ManElevation wrote:I get an error O_o
The same as Qbiq?
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

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
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
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 Desour » 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.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

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
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
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 Desour » 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.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

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
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
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 Desour » 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?
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

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 2 guests