MultiPaper / MultiPaper

Multi-server, single-world papermc implementation
https://multipaper.io/
GNU General Public License v3.0
1.21k stars 92 forks source link

slist command don't not sync correctly #176

Closed akiicat closed 2 years ago

akiicat commented 2 years ago

How to reproduce?

  1. disable bungeecord and create three servers in order (e.g A -> B -> C)
  2. directly login to the server B without proxy
  3. enter slist command at server A

Problem: Server A cannot see the user in server B, but server C is able to see the user in server B

server version: 1.18.2-44 master version: 2.8.2-all

PureGero commented 2 years ago

Can you provide logs for servers A, B, and C?

akiicat commented 2 years ago
Server A Log

~/serverA$ java -Xmx1G -jar multipaper-1.18.2-44.jar -nogui --port 25564
Starting org.bukkit.craftbukkit.Main
System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.2+8-86) Host: Linux 5.13.0-41-generic (amd64)
Loading libraries, please wait...
[14:50:58 INFO]: [MultiPaperConnection] Connecting to localhost:35353...
[14:50:58 INFO]: [MultiPaperConnection] Connected to localhost/127.0.0.1:35353
[14:51:01 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[14:51:03 INFO]: Loaded 7 recipes
[14:51:04 INFO]: Starting minecraft server version 1.18.2
[14:51:04 INFO]: Loading properties
[14:51:04 INFO]: This server is running MultiPaper version MultiPaper-1.18.2-44 (MC: 1.18.2) (Implementing API version 1.18-R0.1-SNAPSHOT) (Git: c8eee24)
[14:51:04 INFO]: Server Ping Player Sample Count: 12
[14:51:04 INFO]: Using 4 threads for Netty based IO
[14:51:04 WARN]: [Airplane] To improve performance, timings have been disabled by default
[14:51:04 WARN]: [Airplane] You can still use timings by using /timings on, but they will not start on server startup unless you set timings.really-enabled to true in paper.yml
[14:51:04 WARN]: [Airplane] If you would like to disable this message, either set timings.really-enabled to true or timings.enabled to false.
[14:51:04 INFO]: Default game type: SURVIVAL
[14:51:04 INFO]: Generating keypair
[14:51:04 INFO]: Starting Minecraft server on 0.0.0.0:25564
[14:51:04 INFO]: Using epoll channel type
[14:51:04 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[14:51:04 INFO]: Paper: Using OpenSSL 1.1.x (Linux x86_64) cipher from Velocity.
[14:51:05 INFO]: Server permissions file permissions.yml is empty, ignoring it
[14:51:05 INFO]: Preparing level "world"
[14:51:12 INFO]: Running delayed init tasks
[14:51:12 INFO]: Done (8.415s)! For help, type "help"
[14:51:12 INFO]: Timings Reset
[14:51:14 INFO]: [MultiPaperConnection] Connecting to external server 127.0.0.1:25565...
[14:51:14 INFO]: [HelloPacket] Connected to external server server67713
[14:51:25 INFO]: [MultiPaperConnection] Connecting to external server 127.0.0.1:25566...
[14:51:25 INFO]: [HelloPacket] Connected to external server server67713
> slist
[14:51:46 INFO]: There are 0 out of 20 players online
[14:51:46 INFO]: [server67713] (0): 
> 

Server B Log

~/serverB$ java -Xmx1G -jar multipaper-1.18.2-44.jar -nogui --port 25565
Starting org.bukkit.craftbukkit.Main
System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.2+8-86) Host: Linux 5.13.0-41-generic (amd64)
Loading libraries, please wait...
[14:51:07 INFO]: [MultiPaperConnection] Connecting to localhost:35353...
[14:51:07 INFO]: [MultiPaperConnection] Connected to localhost/127.0.0.1:35353
[14:51:10 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'[14:51:12 INFO]: Loaded 7 recipes
[14:51:13 INFO]: Starting minecraft server version 1.18.2
[14:51:13 INFO]: Loading properties
[14:51:13 INFO]: This server is running MultiPaper version MultiPaper-1.18.2-44 (MC: 1.18.2) (Implementing API version 1.18-R0.1-SNAPSHOT) (Git: c8eee24)
[14:51:13 INFO]: Server Ping Player Sample Count: 12
[14:51:13 INFO]: Using 4 threads for Netty based IO
[14:51:13 WARN]: [Airplane] To improve performance, timings have been disabled by default
[14:51:13 WARN]: [Airplane] You can still use timings by using /timings on, but they will not start on server startup unless you set timings.really-enabled to true in paper.yml
[14:51:13 WARN]: [Airplane] If you would like to disable this message, either set timings.really-enabled to true or timings.enabled to false.
[14:51:14 INFO]: Default game type: SURVIVAL
[14:51:14 INFO]: Generating keypair
[14:51:14 INFO]: Starting Minecraft server on 0.0.0.0:25565
[14:51:14 INFO]: Using epoll channel type
[14:51:14 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[14:51:14 INFO]: Paper: Using OpenSSL 1.1.x (Linux x86_64) cipher from Velocity.
[14:51:14 INFO]: Server permissions file permissions.yml is empty, ignoring it
[14:51:14 INFO]: Preparing level "world"
[14:51:14 INFO]: [HelloPacket] Connected to external server server67713
[14:51:19 INFO]: Running delayed init tasks
[14:51:19 INFO]: Done (5.838s)! For help, type "help"
[14:51:19 INFO]: Timings Reset
[14:51:25 INFO]: [MultiPaperConnection] Connecting to external server 127.0.0.1:25566...
[14:51:25 INFO]: [HelloPacket] Connected to external server server67713
[14:51:36 INFO]: UUID of player akiicat is 20ae2ca2-ecbf-491d-9e4c-143f55e6c3f1
[14:51:37 INFO]: akiicat joined the game
[14:51:37 INFO]: akiicat[/192.168.0.193:41892] logged in with entity id 1 at ([world]54.5, 71.0, 112.5)
> slist
[14:51:51 INFO]: There are 1 out of 20 players online
[14:51:51 INFO]: [server67713] (1): akiicat
> 

Server C Log

~/serverC$ java -Xmx1G -jar multipaper-1.18.2-44.jar -nogui --port 25566
Starting org.bukkit.craftbukkit.Main
System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.2+8-86) Host: Linux 5.13.0-41-generic (amd64)
Loading libraries, please wait...
[14:51:18 INFO]: [MultiPaperConnection] Connecting to localhost:35353...
[14:51:18 INFO]: [MultiPaperConnection] Connected to localhost/127.0.0.1:35353
[14:51:21 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[14:51:23 INFO]: Loaded 7 recipes
[14:51:24 INFO]: Starting minecraft server version 1.18.2
[14:51:24 INFO]: Loading properties
[14:51:24 INFO]: This server is running MultiPaper version MultiPaper-1.18.2-44 (MC: 1.18.2) (Implementing API version 1.18-R0.1-SNAPSHOT) (Git: c8eee24)
[14:51:24 INFO]: Server Ping Player Sample Count: 12
[14:51:24 INFO]: Using 4 threads for Netty based IO
[14:51:24 WARN]: [Airplane] To improve performance, timings have been disabled by default
[14:51:24 WARN]: [Airplane] You can still use timings by using /timings on, but they will not start on server startup unless you set timings.really-enabled to true in paper.yml
[14:51:24 WARN]: [Airplane] If you would like to disable this message, either set timings.really-enabled to true or timings.enabled to false.
[14:51:24 INFO]: Default game type: SURVIVAL
[14:51:24 INFO]: Generating keypair
[14:51:25 INFO]: Starting Minecraft server on 0.0.0.0:25566
[14:51:25 INFO]: Using epoll channel type
[14:51:25 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[14:51:25 INFO]: Paper: Using OpenSSL 1.1.x (Linux x86_64) cipher from Velocity.
[14:51:25 INFO]: Server permissions file permissions.yml is empty, ignoring it
[14:51:25 INFO]: Preparing level "world"
[14:51:25 INFO]: [HelloPacket] Connected to external server server67713
[14:51:25 INFO]: [HelloPacket] Connected to external server server67713
[14:51:31 INFO]: Running delayed init tasks
[14:51:31 INFO]: Done (6.796s)! For help, type "help"
[14:51:31 INFO]: Timings Reset
[14:51:37 WARN]: [PlayerActionPacket] Tried to run an action on a non-existent player with uuid 20ae2ca2-ecbf-491d-9e4c-143f55e6c3f1
[14:51:37 INFO]: [PlayerCreatePacket] Adding player akiicat (20ae2ca2-ecbf-491d-9e4c-143f55e6c3f1)
> slist
[14:51:55 INFO]: There are 1 out of 20 players online
[14:51:55 INFO]: [server67713] (1): akiicat
> 

Master Log

~/master$ java -Xmx1G -jar MultiPaper-Master-2.8.2-all.jar 
[MultiPaperMaster] Listening on 0.0.0.0:35353
Connection from /127.0.0.1:34898 (server67713)
server67713 (127.0.0.1:25564) has started, broadcasting start to other servers...
Connection from /127.0.0.1:34900 (server67713)
server67713 (127.0.0.1:25565) has started, broadcasting start to other servers...
Connection from /127.0.0.1:34902 (server67713)
server67713 (127.0.0.1:25566) has started, broadcasting start to other servers...

PureGero commented 2 years ago

All your servers have the same name, server67713. They must have different names.

akiicat commented 2 years ago

It works. Thank you