destruc7i0n / shulker

A Discord to Vanilla Minecraft Chat Gateway
ISC License
135 stars 47 forks source link

Chat -> Discord is not working. Everything else works as expected. #86

Closed sounddrill31 closed 1 year ago

sounddrill31 commented 1 year ago

\ is user added tag for information withdrawn.

[opc@minecraft-oracle shulker]$ ~/./shulkerstart.sh

> shulker@3.2.0 start
> node build/index.js

[INFO] Using configuration file: ./config.json
[INFO] Using Discord WebHooks to send messages
[INFO] Using configuration for local log file at "/home/opc/logs/latest.log"
[INFO] Using channel #minecraft-bridge-common (id: <censored>) in the server "The Server Bay"
[DEBUG] Received [10:48:23] [Server thread/INFO]: sounddrill[<censored>] logged in with entity id 186 at (101.91014877343235, 78.0, -80.17251820063099)
[DEBUG] Received [10:48:23] [Server thread/INFO]: sounddrill joined the game
[DEBUG] A player's connection status changed
[DEBUG] Ignoring webhook from self
[DEBUG] Received [10:48:29] [Server thread/INFO]: [Not Secure] <sounddrill> hello
[DEBUG] Received [10:49:39] [Server thread/INFO]: sounddrill hit the ground too hard
[DEBUG] A player died. Matched on "hit the ground"
[DEBUG] Ignoring webhook from self
[DEBUG] Received [10:49:44] [Server thread/INFO]: [sounddrill: Teleported sounddrill to 115.500000, 71.500000, -76.500000]
[DEBUG] Received [10:50:08] [Server thread/INFO]: sounddrill lost connection: Disconnected
[DEBUG] Received [10:50:08] [Server thread/INFO]: sounddrill left the game
[DEBUG] A player's connection status changed
[DEBUG] Ignoring webhook from self

image

There should be a "hello" from

[DEBUG] Received [10:48:29] [Server thread/INFO]: [Not Secure] hello

(the "hello" is a message sent in minecraft chat. Discord->chat(ie other direction) is working as expected)

sounddrill31 commented 1 year ago

Fix from discord server: Update REGEX_SERVER_PREFIX in config.json to "\[Server thread/INFO\]: \[Not Secure\]"

Solved!