[(Client)Mod] Server-, Client-Mod Communication [csm_com]

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

[(Client)Mod] Server-, Client-Mod Communication [csm_com]

by DS-minetest » Mon Jun 05, 2017 14:28

CSM Com

Adds communication between server- and client-mods.
Look into README.md for more information.

This mod can be used as mod and as clientmod.
The server and the client have to have it to make it work.

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: [(Client)Mod] Server-, Client-Mod Communication [csm_com

by Fixer » Mon Jun 05, 2017 15:54

Nice, I wonder when someone does ambience/weather CSM mod with this feature.
 

User avatar
lisacvuk
Member
 
Posts: 274
Joined: Sat Jul 19, 2014 11:52
Location: Serbia, Užice
GitHub: lisacvuk
IRC: lisac
In-game: lisacvuk

Re: [(Client)Mod] Server-, Client-Mod Communication [csm_com

by lisacvuk » Wed Jun 07, 2017 10:57

It's lisac, not lisa.
400 character limit? Am I writing a book?
Administrator on Craig's server. Minetest player.
"The enemy pales when they see the face of Dazzle!" ~ Dazzle obviously.
I live in Serbia.
Steam | OpenDOTA
My mods:
Tool ranks
I appreciate donations in TF2 items. :)
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad
 

User avatar
orwell
Member
 
Posts: 720
Joined: Wed Jun 24, 2015 18:45
Location: Raxacoricofallapatorius
In-game: orwell

Re: [(Client)Mod] Server-, Client-Mod Communication [csm_com

by orwell » Tue Jun 13, 2017 20:12

Nice!
But, mod devs, keep in mind that this is only a temporary solution. The engine will get csm messaging functions soon. (as well as an infrastructure to send scripts from the server)
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...
 

User avatar
texmex
Member
 
Posts: 1066
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

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

Re: [(Client)Mod] Server-, Client-Mod Communication [csm_com

by DS-minetest » Mon Jul 24, 2017 14:27

I've made a small update:
  • On servers that have csm_com, the players that don't have csm_com won't see the message anymore.
  • csm_com.register_on_receive(func[, prefix]) can now be used with an optional prefix to increase performance. It's recommended to use the modname (maybe also with a ..": ") as prefix. Note: You also have to add the prefix to the sent message.
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.
 


Return to Client-side modding



Who is online

Users browsing this forum: sofar and 0 guests