FeuSalamander / Vmessage

the repository of my Velocity Plugin "Vmessage"
https://forums.papermc.io/threads/v-message-simple-global-chatting-w-luckperms-support.527/
18 stars 3 forks source link

[BUG] When a player disconnects due to poor network conditions, the leave message is not displayed. #14

Closed XXY233 closed 10 months ago

XXY233 commented 1 year ago
[22:50:43 ERROR]: [server connection] vigilante -> survive: exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@5fc94c88
io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer
FeuSalamander commented 1 year ago

Is there any errors on the backend server ?

XXY233 commented 1 year ago
[22:50:23] [Server thread/WARN]: vigilante was kicked due to keepalive timeout!
[22:50:23] [Server thread/INFO]: vigilante lost connection: Timed out
[22:50:23] [Server thread/INFO]: [voicechat] Disconnecting client vigilante
[22:50:43] [Craft Scheduler Thread - 4936 - GrimAC/INFO]: [GrimAC] Disconnecting vigilante for TranslatableComponentImpl{key="disconnect.timeout", args=[], fallback=null, style=StyleImpl{obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, color=null, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[]}
XXY233 commented 1 year ago

I also found that if the player is kicked, the leave message is not displayed:

[21:10:36 INFO]: [connected player] Paofu_Tin (/106.58.162.168:8398): kicked from server survive: qwq
[21:10:36 INFO]: [server connection] Paofu_Tin -> survive has disconnected
[21:10:36 INFO]: [connected player] Paofu_Tin (/106.58.162.168:8398) has disconnected: You have been kicked out of survive:qwq
[21:10:39 INFO] [fastlogin]: Incoming login request for Paofu_Tin from /106.58.162.168:9123
[21:10:39 INFO] [fastlogin]: Handling player Paofu_Tin
[21:10:39 INFO] [fastlogin]: Requesting premium login for registered player: Paofu_Tin
[21:10:40 INFO]: [connected player] Paofu_Tin (/106.58.162.168:9123) has connected
[21:10:40 INFO]: [server connection] Paofu_Tin -> survive has connected
[21:10:40 INFO]: Paofu_Tin joined the game
[21:10:42 INFO]: [connected player] Paofu_Tin (/106.58.162.168:9123): kicked from server survive: kick test
[21:10:42 INFO]: [server connection] Paofu_Tin -> survive has disconnected
[21:10:42 INFO]: [connected player] Paofu_Tin (/106.58.162.168:9123) has disconnected: You have been kicked out of survive: kick test