MatterAMXX: Chat relay between many services [Includes API]
1 Attachment(s)
https://i.imgur.com/IDxyLUk.png
[ALL] MatterAMXX Author: Gabe Iggy Version: 1.5 Powered by Matterbridge, MatterAMXX is a plugin for AMXX that allows simple bridging between your game servers, Mattermost, IRC, XMPP, Gitter, Slack, Discord, Telegram, and more. https://i.imgur.com/rQdVuIx.png Description Using Matterbridge API, this plugin allows you to bridge your game server with a Matterbridge installation, relaying messages from/to a growing number of protocols. You can also bridge multiple servers together so the players can chat between each one. Protocols natively supported in Matterbridge
Tested Protocols
Dependencies This plugin requires the following to work: Supported Games This plugin is supposed to be mod agnostic. All official games should work out of the box
Kill feed feature will also work in mods where a proper hamdata.ini table is provided
Tested Games
Installation Instructions
Setting up MatterAMXX This quickstart guide assumes you already have a working Matterbridge installation. Open your matterbridge.toml file and add the following lines: Code:
[api.myserver] Find your gateway where you want to relay the messages. Quote:
Avatar Spoofing It's possible to set up avatars for each user on protocols that support it. Unfortunately, due to limitations of AMXX and the GRIP module, user info from the Steam API can't be retrieved because it gets truncated. However, you can host this simple PHP script to query for avatars to be used in this plugin, you just need a Steam API Key that you can obtain from the Steam Web API website.
Reveal script
This will also cache each avatar and they will be deleted after a while. Remember to create the /avatars folder! The script won't do it for you. API The API allows other plugins to use MatterAMXX features. Just include the matteramxx.inc file in your plugin and it should work immediately.
Reveal script
Remember that the plugin requires the latest version of MatterAMXX to be running in the server. Click here to check out the MatterAMXX subplugins. Click here to check out servers using this plugin. Console Variables
Change Log
Credits
|
Re: MatterAMXX
So basically, I can register the whatsapp with the server and when someone join or leave the server, a message is sent to the group or person on whatsapp?
|
Re: MatterAMXX
Quote:
|
Re: MatterAMXX
Based on feedback a new version was released:
It's now possible to set up avatars for each user on protocols that support it. Unfortunately, due to limitations of AMXX and the GRIP module, user info from the Steam API can't be retrieved because it gets truncated. However, you can host this simple PHP script to query for avatars to be used in this plugin, you just need a Steam API Key that you can obtain from the Steam Web API website. Visit https://pastebin.com/p9aBm1pS to get the script (Because CloudFlare is blocking the script from being posted here) This will also cache each avatar and they will be deleted after a while. Remember to create the /avatars folder! The script won't do it for you. |
Re: MatterAMXX
Impressive especially for GoldSrc. Formally API like this I thought could only be done via Source. Thanks Iggy!
|
Re: MatterAMXX
amazing, will try this in whatsapp soon, thanks
|
Re: MatterAMXX
Thanks for the kind comments.
I have the following on the roadmap:
|
Re: MatterAMXX
how can i set up to send notifications about bans on whatsapp, when someone is banned or unbanned?
is it possible? |
Re: MatterAMXX
Quote:
However, you would still need to edit your plugins to do that. |
Re: MatterAMXX
Looks like the plugin crashes on Ricochet due to it not having hamdata.ini entries, even if you disable the streaming of kill feed. (The plugin crashes upon detecting it has a Ham function, not when executing it)
Current roadmap:
|
Re: MatterAMXX
Hello, a new version was released
Minor revision to 1.2
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Hello, a new version was released
1.3
Current TO-DOs:
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Hello, a minor revision to 1.3 was released
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Hello, a minor revision to 1.3 was released
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Hello, a new version of the plugin was released.
|
Re: MatterAMXX: Chat relay between many services [Includes API]
2 Attachment(s)
[ALL] MatterAMXX Plugins
The MatterAMXX API allow plugin creators to capture and send messages via MatterAMXX, you can see the plugin in action in the following plugins! MatterAMXX Lag Checker https://i.imgur.com/GX0Kwdu.png This plugin will notify a configured user if the CPU/FPS increase/fall past/below a defined threshold. Triggered if someone says "lag" on the server. If the user says "lag" and the server is not lagging he will be notified along with the FPS and CPU values. Requirements:
Console Variables:
Changelog:
MatterAMXX RCON https://i.imgur.com/3jSroQD.png Control the server from anywhere. This plugin will allow you to control the server's console from any messaging protocol, with full console output. You can configure which users are allowed to send commands to the server console. Requirements:
Configuration: By default the plugin won't accept commands from any user, to do so you need to edit the matteramxx_rcon_accounts.ini file in your AMXX config folder. Code:
; Add all accounts to have access to Matteramxx RCON Console Variables:
Changelog:
Installation instructions
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Moving the conversation from another thread to help other people set up the plugin.
Quote:
For example: "http://(ipofyourserver):27010/" If you're hosting MatterBridge on the same machine as your gameservers you can use localhost ("http://localhost:27010/"). If not, you must use the external IP of the server that's hosting MatterBridge. Quote:
You can use any port providing is it not being used. For reference I will put my own configuration of one of my servers: matterbridge.toml PHP Code:
Code:
amx_matter_bridge_url "http://(redacted):4243" |
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
I set the token for both servers and gateway was set to cstrike. Maybe my bridge is the fault here, should it be an accessible link for the bridge or it's fine as long as it's accessing the bridge from the server? |
Re: MatterAMXX: Chat relay between many services [Includes API]
Can you connect to your bridges via a web browser?
If they're protected by a token you should get a "missing key in request header" message. |
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
I noticed your bridge is set to http://<IP excluding Port>/<Directory of MatterBridge>/, are you reffering to the cvar amx_matter_bridge_url? It must in be http://<IP including Port>. There's an example in the default value. Code:
Quote:
https://github.com/GabeIggy/OrpheuSi...es/tree/ReHLDS |
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
|
Re: MatterAMXX: Chat relay between many services [Includes API]
I can't get pass the matterbridge install. I am running debian linux and used snap to install matterbridge, but the instructions go cold after not sure what to do from there. Any idea where it installed as I can't issue the start up commands
Quote:
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
Easier way to do it is to download the binary file for your OS (assuming it's 64-bit Linux) Code:
wget https://github.com/42wim/matterbridge/releases/download/v1.18.0/matterbridge-1.18.0-linux-64bit Code:
chmod +x ./matterbridge-1.18.0-linux-64bit Code:
./matterbridge-1.18.0-linux-64bit |
Re: MatterAMXX: Chat relay between many services [Includes API]
Thanks.
I got my matterbridge install going. I can't get the module loaded on amxmodx 1.9. It's placed in the addons/amxmodx/modules folder but it wont auto load. I have also placed the word grip inside the modules.ini and rebooted the server it still won't load. Quote:
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Which version of gRIP are you using? For some reason, the repo owner marked a 0.0.0 "test" version as latest release, this doesn't work.
Last stable release is 0.1.5 which you can download here: https://github.com/In-line/grip/releases/tag/0.1.5-beta |
Re: MatterAMXX: Chat relay between many services [Includes API]
Was using "grip-0.0.0.0-test-i686-unknown-linux-gnu". It loads now with the newer version you linked.
I get the message below in my console. I have also pasted my matterbridge.toml config. The bot is connect to irc but it's not relaying chat. Is there something wrong in my config? PHP Code:
PHP Code:
Quote:
|
Re: MatterAMXX: Chat relay between many services [Includes API]
What's the value of your amx_matter_bridge_url cvar?
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
Matterbridge is also launched on port 1337. Is apache required for this to work? -update I also tried with port 27015 and cross referenced the config you posted here. No luck in getting it going. current cvar: "amx_matter_bridge_url" is "http://localhost:27015" |
Re: MatterAMXX: Chat relay between many services [Includes API]
Managed to replicate the error you have in my installation.
Code:
L 08/18/2020 - 00:53:31: [gRIP] Error: FFI Error: URI parsing error: http/api/messages Code:
amx_matter_bridge_url http://[your matterbridge ip]:[port] Code:
amx_matter_bridge_url "http://[your matterbridge ip]:[port]" |
Re: MatterAMXX: Chat relay between many services [Includes API]
Thanks got it going. After I added my discord settings to the config it started working.
|
Re: MatterAMXX: Chat relay between many services [Includes API]
New version released: 1.5
Main Changes
Special thanks Th3-822 MaNa |
Re: MatterAMXX: Chat relay between many services [Includes API]
Someone who can make a video tutorial, because I don't understand anything XD
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Very interesting sir. Great work
Glad to see the community still pushing forward |
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
Quote:
And another way to get the FPS https://forums.alliedmods.net/showpo...5&postcount=14 |
Re: MatterAMXX: Chat relay between many services [Includes API]
Any idea why i have this problem? i believe it caused by grip but how?
the crash
I tried to switch to a different grip module but the same issue happen. - 0.1.5-beta -- CRASH - myarena grip -- CRASH Oh btw i'm using debian based OS |
Re: MatterAMXX: Chat relay between many services [Includes API]
Remake /etc/resolv.conf. That is out of Amxx scope.
|
Re: MatterAMXX: Chat relay between many services [Includes API]
Quote:
Thank you whoever made it to support win32. |
Re: MatterAMXX: Chat relay between many services [Includes API]
You are welcome. Interesting timing of release. For those who do not prefer Windows and have exhausted all efforts.
1 line resolv.conf Code:
nameserver 8.8.8.8 |
All times are GMT -4. The time now is 06:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.