Zrips / CMI

117 stars 99 forks source link

Leave message display twice when got kicked #6598

Open ArtifactyNight opened 2 years ago

ArtifactyNight commented 2 years ago

Description of issue:

my server is bungeecord server. i'm installed CMIB in bungeecord too.

so when i kicked someone, it's will display message for twice.

image

Cmi Version (using/cmi version): 9.1.0.6

Server Type (Spigot/Paperspigot/etc): Purpur

Server Version (using /ver):

This server is running Purpur version git-Purpur-1524 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 383cb29 on HEAD)
You are 4 version(s) behind
Download the new version at: https://purpurmc.org/downloads
Previous version: git-Purpur-1523 (MC: 1.18.1)
ArtifactyNight commented 2 years ago

I think it's happen because CMIB

Zrips commented 2 years ago

What message is shown there exactly? As its only name of player which is hard to say from where it originates

ArtifactyNight commented 2 years ago

What message is shown there exactly? As its only name of player which is hard to say from where it originates

it's come from custom leave message in CMI so if i install CMIB in Bungeecord server

and i kicked someone it's will display leave message before and after i kick him

(i've tested with cmi kick command and vanilla kick command it's happen both)

Zrips commented 2 years ago

Och ok, got basic idea what going on here.

Zrips commented 2 years ago

Is player who gets kicked, gets sent to another server (hub) or gets complete kick?

ArtifactyNight commented 2 years ago

Is player who gets kicked, gets sent to another server (hub) or gets complete kick?

sorry for late response, player will redirect to hub when he got kicked i'm using RedirectPlus plugin to redirect player

ArtifactyNight commented 2 years ago

can you fix this please?

Zrips commented 2 years ago

This needs more investigation, could be due to extra messages we are printing out when player switches servers and not living one on bungeecord