-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] MCDC Multi-Server Help #112
Comments
I'm sorry but I can't find an answer to my questions.
But it does not work, no message from one server appears on the other. |
Have you created two Discord bots? One each, so the bot token of two config are different. Like this: SMP {
"generic": {
"botToken": "tokenA",
"webhookUrl": "sameLink",
"channelId": "sameChannel"
},
"multiServer": {
"enable": true,
"host": "127.0.0.1",
"port": 5000,
"name": "SMP",
"botIds": [
"tokenA",
"tokenB"
]
} CMP {
"generic": {
"botToken": "tokenB",
"webhookUrl": "sameLink",
"channelId": "sameChannel"
},
"multiServer": {
"enable": true,
"host": "127.0.0.1",
"port": 5000,
"name": "CMP",
"botIds": [
"tokenA",
"tokenB"
]
} Try this setup and start one of them 10 seconds before another. If still have problem send both server logs. |
Hi , we tried what you said and everything is working except one thing : So we have a CMP server and a SMP server. But when i'm on the CMP server , i can't see in game the message that someone wrote in the SMP server and vise versa from SMP to CMP. Do you know what's the problem ? Here's the log : [13:58:08] [main/INFO]: ----------------------------------------- Ty in advance |
This works because the two Discord bots do their own job well.
Which means the servers did not connect to each other. Full log of both servers? |
Here's the full log of CMP : https://gist.github.com/OrionFE/5acce3fcf60411295f769880e7c9624c |
Confirm? Are the servers accessing the same 127.0.0.1? From your logs it seems that both servers created its own MCDC server on unoccupied ports 5000. |
In the config both are one 127.0.0.1 : But in velocity toml , both server are on 172.18.0.1 : survival = "172.18.0.1:25565" |
172.18.0.1 is private IP address. Try set both MCDC config to 172.18.0.1 then? |
When you put the 172.18.0.1 , we are getting kicked when we type something and there are error in the console : [17:07:07] [main/INFO]: MCDiscordChat (MCDC) 2.1.2 |
??? Not sure how Velocity and Pterodactyl works. Try set host to localhost? And randomly change the port? (Keep both the same) Just tested my SMP and CMP on a Windows machine, 127.0.0.1:5000 works perfectly, if still not working then I have no idea. |
Hello, I'm on the config with OrionFE
|
Are u two for the same server? |
From this log the another client is still not connected to this server, the client in this log is from the server itself. What happens if you reload one server and 10 seconds after reload another server? The exception is normal.
|
You may try this simplest SMP and CMP setup, simply modify ONLY the |
Checks
Description
Hello, What is the procedure to link 2 servers together with MCDC. Thanks in advance
The text was updated successfully, but these errors were encountered: