Architectury API (UNUSED)

Architectury API (UNUSED)

9M Downloads

Plugin message channel name maybe too long for a spigot server.

qyl27 opened this issue ยท 0 comments

commented

I am working with a hybird server software named MohistMC/Banner.
I found a mod BetterFurnacesReforged have a 22-char-long modid betterfurnacesreforged and its channel name is betterfurnaces_network, also 22 chars.

In architectury api, there is a uuid append after the channel name. it may exceed the limit of spigot (64 chars).
When a client mod with longer than 31-char channel name wants to communite with a pure-spigot server, it also will cause player cannot join server.

This issue related with NetworkChannel.java#L60-L61.

Althrough paper have a system property to change it, but is there any better implementation?