I am planning to write a system to sync join messages across server, i heard sockets lock up the thread, what technique, protocol would you reccoemnend me?
So what I want to do is this:
When a Player joins Server1, on Server2 and Server3 should be shown <player> joined Server1
When a Player joins Server2, on Server1 and Server3 should be shown <player> joined Server1
and so on
Or is there maybe already a mod for this?
good low level protocols for minetest
Re: good low level protocols for minetest
one idea:
watch ( with a script ) on all servers the debug.txt
if ther is a new line like "xxx joins server" send a string to all other servers
recive the string on all other servers with "external_cmd" mod > viewtopic.php?t=3924
watch ( with a script ) on all servers the debug.txt
if ther is a new line like "xxx joins server" send a string to all other servers
recive the string on all other servers with "external_cmd" mod > viewtopic.php?t=3924
My YouTube-Site with Minetest-LetsPlays and some of my Servers: Carpathian Ethereal Vanilla Creative MineClone2 --- Discord
Re: good low level protocols for minetest
Hm yes that would be possible, but I would just use the lua events.
Do you know any simmilar mods to external_cmd? It looks a little bit "hacky" for me
Do you know any simmilar mods to external_cmd? It looks a little bit "hacky" for me
-
- Member
- Posts: 4287
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Re: good low level protocols for minetest
Some servers manage to achieve that already by sharing one channel on an irc server. Messages ingame and on irc are forwarded.
A list of my mods can be found here.
Who is online
Users browsing this forum: No registered users and 9 guests