Giter Site home page Giter Site logo

[Support] 1/2 servers set up in multi server mode fails to send messages to discord and both fail to send messages to each other about discord-mc-chat HOT 20 CLOSED

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024
[Support] 1/2 servers set up in multi server mode fails to send messages to discord and both fail to send messages to each other

from discord-mc-chat.

Comments (20)

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024 1

Ok, I will do that, I have been a bit busy lately.

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024 1

not feeling that good, just a bump so you know I haven't forgotten about this.

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024 1

Temporarily closing because I'm not going to get to this for a while, likely for a few months.

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

Log?

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024

server-b.log
server-a.log
These are some of the latest logs from each server, would you like me to try anything and upload the log then?

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

Thanks. Please designate one of your servers as the main server for MCDC Multi-Server, let's say, Server A. Update the multiServer.host setting of both Servers A and B to the internal IP address of Server A, such as 192.168.xxx.xxx. Remember to start / reload Server A first.

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024

I will do that, however server b is temporarily down, but it should be back up in a few days. After setting server a to no multi server mode it still doesn't work. Will this resolve itself upon server b's host being set to server a's ip address? I there something special about setting the server's address to it self rather than localhost? Server B is the one that gets messed with so it would be rebooted a lot and I would prefer server A not needing frequent reboots. On a different question could i set the host to a public ip as long as 5000 is forwarded?

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

On a different question could i set the host to a public ip as long as 5000 is forwarded?

I think yes. You should also be able to customize the port when using a public IP.

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

After setting server a to no multi server mode it still doesn't work. Will this resolve itself upon server b's host being set to server a's ip address?

You mean "Server A/SMP Normal Chat -> Discord Doesn't work"?

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024

Yes, even when server B is down.

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

Could you send me your zipped mods folder for me to test?

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024

Not right now, however I can send you these mods used on both servers. https://github.com/Silverdev2482/Survival-mods I use nix-minecraft so it should be a perfect copy of a commit in the mod folder, and I believe it is the latest commit on both. Would you like the config directory later too?

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

Hmmm I'm not certain which mod modifies the in-game chat functionality in your server.

Server A: Please first try setting useWebhook to false and then running /mcdc reload to check if the "Server A/SMP Normal Chat -> Discord Doesn't work" issue is related to Discord Webhook. This will help determine if the issue lies with the webhook configuration.

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024

Ok, I will do that when I get home in a few hours. I don't think the basic firewall on the server could be causing any problems, but it is not out of the question.

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

Take your time! I am going to sleep and will reply later.

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024

That appears to make it work. Here is the config directory, please note it is zstd, github just won't allow the file extension.
config.tar.zst

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

The config works well even after turning on useWebhook. Could you send your mods folder's archive of JARs? Thanks

from discord-mc-chat.

Silverdev2482 avatar Silverdev2482 commented on August 17, 2024

Where should I send the compressed archive? It is 76MB so too large to upload on github. Could you simply use packwiz to install my modpack? Also I probably should change my token, as I forgot to censor it.

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

You may send it via email. The address is specified in my profile. I have tried, packwiz is too complex for me to use as I am not familiar with modpack management software to import the exported modpack. Thanks for understanding.

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on August 17, 2024

The provided mods and configs still work well even after turning on useWebhook. It must be a problem with your own Discord side.

  1. Open the manage page of Minecraft chat channel
    image
  2. Check if webhook is successfully created by the bot (turn on useWebhook)
    image
  3. No matter yes or no, delete the webhook
  4. Redo everything in the "Setup Discord Bot" step at Docs#Setup-Discord-Bot
  5. Start SMP to test if "Server A/SMP Normal Chat" using webhook works
    image

from discord-mc-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.