Bidirectional bridge between in-game chat and a Matrix server. (Matrix is an open standard for federated, secure, modern instant messaging)
Demo server: Juneland Survival (survival.juneland.fr:30000) | Matrix chatroom
Tested on Minetest 5.3.0, 5.4.0. (a proxy is needed for 5.3.0, see details in readme)
Requires secure.http_mods
Mod dependencies: none
Code: GNU AGPLv3
Download: Git repository | Latest: ZIP, TAR.GZ
Authors: tuxmain, scuti (donate libre currency Ğ1)
[Mod] matrix_bridge
-
- New member
- Posts: 9
- Joined: Wed Dec 30, 2020 10:51
- GitHub: ZettaScript
- In-game: tuxmain
- Location: France
- Contact:
Re: [Mod] matrix_bridge
Hi!
i wanted to try this mod, but on player joining the server crash. The server is running on 5.5
i wanted to try this mod, but on player joining the server crash. The server is running on 5.5
2022-02-19 13:23:05: WARNING[Server]: Undeclared global variable "req" accessed at ...e/zgh/.minetest/mods/minetest-matrix_bridge/init.lua:144
2022-02-19 13:23:05: ACTION[Main]: Server: Shutting down
2022-02-19 13:23:05: ACTION[Main]: matrix_bridge - signing out.
2022-02-19 13:23:06: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'matrix_bridge' in callback on_joinplayer(): /usr/local/share/minetest/builtin/game/misc.lua:255: bad argument #1 to 'fetch_async' (table expected, got nil)
2022-02-19 13:23:06: ERROR[Main]: stack traceback:
2022-02-19 13:23:06: ERROR[Main]: [C]: in function 'fetch_async'
2022-02-19 13:23:06: ERROR[Main]: /usr/local/share/minetest/builtin/game/misc.lua:255: in function 'fetch'
2022-02-19 13:23:06: ERROR[Main]: ...e/zgh/.minetest/mods/minetest-matrix_bridge/init.lua:144: in function 'send'
2022-02-19 13:23:06: ERROR[Main]: ...e/zgh/.minetest/mods/minetest-matrix_bridge/init.lua:237: in function 'func'
2022-02-19 13:23:06: ERROR[Main]: .../share/minetest/builtin/profiler/instrumentation.lua:107: in function '?'
2022-02-19 13:23:06: ERROR[Main]: /usr/local/share/minetest/builtin/game/register.lua:425: in function </usr/local/share/minetest/builtin/game/register.lua:409>
-
- New member
- Posts: 9
- Joined: Wed Dec 30, 2020 10:51
- GitHub: ZettaScript
- In-game: tuxmain
- Location: France
- Contact:
Re: [Mod] matrix_bridge
Oops, I fixed that on my server but forgot to push it to the repo. This is done now.
Thank you!
Thank you!
Re: [Mod] matrix_bridge
Each time a message is send the log show this:
And sometimes it spam the message every second until i reset the server.
Code: Select all
2022-03-30 21:56:16: ERROR[CurlFetch]: HTTPFetch for https://matrix.example.com/_matrix/client/r0/sync?since=s526432_5125561_62707_565845_49753_104_14240_551018_1&timeout=60000 returned response code 400
Re: [Mod] matrix_bridge
The git hosting site seems down, gives me an error 502
Play on Linuxworks server. We have got lots of trains.
My mods (Industrial Livestock Farming, Farebox and Faregate, Moving Walkways, Atm)
My mods (Industrial Livestock Farming, Farebox and Faregate, Moving Walkways, Atm)
-
- New member
- Posts: 9
- Joined: Wed Dec 30, 2020 10:51
- GitHub: ZettaScript
- In-game: tuxmain
- Location: France
- Contact:
Re: [Mod] matrix_bridge
What Matrix server are you using (software+version)? What Minetest server version?ost wrote: ↑Thu Mar 31, 2022 19:24Each time a message is send the log show this:And sometimes it spam the message every second until i reset the server.Code: Select all
2022-03-30 21:56:16: ERROR[CurlFetch]: HTTPFetch for https://matrix.example.com/_matrix/client/r0/sync?since=s526432_5125561_62707_565845_49753_104_14240_551018_1&timeout=60000 returned response code 400
The only server I tested it with is conduit (conduit.rs). Maybe Synapse behaves slightly differently.
Re: [Mod] matrix_bridge
I was using Synapse, but not sure what version (a friend is hosting it) and the Minetest server is 5.5
we finally moved to yl_matterbridge and is working fine, but your mod is easier to deploy
Who is online
Users browsing this forum: No registered users and 34 guests