[NMRiH] CrossChat v1.0.2
Cross-server chat for SourceMod servers, relayed by a lightweight PHP endpoint. Players talk across servers with /crosschat <message>; normal chat is never touched.
New in v1.0.2
- Added: custom chat trigger word via
sm_crosschat_cmd(defaultcc, so/cc <message>and!cc <message>work out of the box). UTF-8 words such as Chinese or Japanese are supported (/跨服你好fires directly, no space needed); set0to disable./crosschatalways works. - Fixed:
/crosschatand!crosschattyped in chat now fall back to the plugin's own say-command handler when the SourceMod chat trigger core is bypassed by other chat plugins, instead of leaking into normal chat. - Fixed: fatal translation parse errors ("Line contained too many invalid tokens") shipped in the v1.0.1 archive; usage replies now show the actually configured trigger.
Requirements
- SourceMod 1.12
- REST in Pawn extension: https://github.com/ErikMinekus/sm-ripext/releases
- Web relay (deploy separately): https://github.com/Baimiao2534/nmrih-crosschat-webrelay
Install
Extract the archive into nmrih/addons/sourcemod/, install the REST in Pawn extension, deploy the web relay, then set sm_crosschat_url and sm_crosschat_token. Every server needs a unique sm_crosschat_serverid (or -crosschat_sid). Existing config files are migrated automatically on load.