krypticbit / blockysurvival

[OUTDATED; use https://github.com/BlockySurvival/issue-tracker] Mods for Minetest server Blocky Survival
Other
4 stars 3 forks source link

Add Matrix Chat Support #10

Closed Nic-Wow1 closed 5 years ago

Nic-Wow1 commented 6 years ago

Feature: Add Matrix as a chatting option alongside currently supported Discord and IRC.

How: Utilizing the Matrix Bridges

Discord Bridge: https://t2bot.io/discord/

IRC Bridge: https://matrix.org/docs/projects/as/irc-bridge.html

Matrix Communities for Multiple Channels: https://medium.com/@RiotChat/communities-aka-groups-are-here-announcing-riot-web-0-13-riot-ios-0-6-and-riot-android-0-7-4-933cb193a28e

luk3yx commented 6 years ago

Hello,

Last time I tried running Matrix, I couldn't get the main server running, let alone a bridge. It was probably a ufw rule blocking it, I'll have to remember to check next time.

Why should someone invest time in a Matrix server when there is already a viable and open alternative?

Also, there doesn't need to be a Discord/Matrix bridge, it can use the existing IRC/Discord one.

Thanks,

luk3yx

Nic-Wow1 commented 6 years ago

Why should someone invest time in a Matrix server when there is already a viable and open alternative?

@luk3yx IRC is text only. So, now emojis or chat. If time is what you need help with, I can help you set it up. It is very easy to use.

Discord doesn't have this issue but is proprietary.

Also, there doesn't need to be a Discord/Matrix bridge, it can use the existing IRC/Discord one.

The reason that you may want the Discord/Matrix bridge is for voice chat support. Personally, I have only used it with chat but i have heard of other servers using this feature.

If this isn't an issue for you then, the IRC/Matrix bridge is probably better.

Another benefit is user base. HexChat is fairly old fashioned in my opinion.

luk3yx commented 6 years ago

If this isn't an issue for you then, the IRC/Matrix bridges is probably better.

The IRC/Matrix bridge will definitely be better, it's better not to link two open-source protocols via a proprietary one.

If time is what you need help with, I can help you set it up. It is very easy to use.

I'll ask if I encounter any problems while installing Matrix.

Can matrix-appservice-irc be configured to use an IRC server linking protocol? That would be more efficient that routing all requests to 127.0.0.1.

luk3yx commented 6 years ago

@Nic-Wow1 I get the following error when trying to run Matrix:

twisted - 131 - ERROR - - sqlite3.OperationalError: table event_reports already exists

It is supposedly caused by Python having an outdated sqlite, but I can't find where to upgrade it.

Another benefit is user base. HexChat is fairly old fashioned in my opinion.

I use WeeChat, it's lightweight and supports Matrix through a script.

Nic-Wow1 commented 6 years ago

I use WeeChat, it's lightweight and supports Matrix through a script.

@luk3yx Are you using this script: https://matrix.org/docs/projects/client/weechat.html

If so, I recommend making an issue request and see they can help you better. I use RIOT.

It is supposedly caused by Python having an outdated sqlite, but I can't find where to upgrade it.

What version do you have?

luk3yx commented 6 years ago

It's what version Python has that's the problem. That issue is with installing Synapse (the Matrix homeserver), not with WeeChat.

krypticbit commented 6 years ago

Email spam alert

krypticbit commented 6 years ago

That's fine; I just unsubscribed to make it stop

Nic-Wow1 commented 6 years ago

@luk3yx I still need what OS you are using and what Python version.

For Arch it uses Python 2.7.

It may be better if you create an issue request for it: https://github.com/matrix-org/synapse/issues

luk3yx commented 6 years ago

@luk3yx I still need what OS you are using and what Python version.

Ubuntu Server 18.04 LTS, Python 2.7.15rc1 (Matrix really should use Python3).

Nic-Wow1 commented 6 years ago

@luk3yx Please consider making an issue request for this: https://github.com/matrix-org/synapse/issues

It will help other that may also have this issue.

Nic-Wow1 commented 5 years ago

@luk3yx Probably the easiest way to set this up anyway would be probably be through the RIOT client. If you are open to installing something besides Weechat.

RIOT Bridge Info/Tutorial: https://about.riot.im/apps-bots-and-bridges/ Install RIOT: https://riot.im/desktop.html

luk3yx commented 5 years ago

@Nic-Wow1 I need to set up the Matrix/IRC bridge, and I'd rather do it on the same server as IRC for latency.

I can use Matrix, however I can't set up a homeserver, and I don't think I can make a relay to xeroxIRC (preferred, as the Discord relay is also there) easily.

Nic-Wow1 commented 5 years ago

@luk3yx Hmmmm, I would advise you to try joining the chat for IRC bridges via the web client? They have lots of people there that may be able to better help you. I have only used the RIOT client.

Chat URL: https://matrix.to/#/!SudviOJlimDvrGdFCY:matrix.org

luk3yx commented 5 years ago

@Nic-Wow1 I am not interested in using Matrix myself, I just wanted to try running a xeroxIRC bridge.

Because the Freenode bridge exists, I'll close this, if you want a xeroxIRC or more direct bridge, re-open it.