#Client kicked for large payload (32767 bytes)

1 messages · Page 1 of 1 (latest)

keen ore
#

When trying to modify a large amount of blocks I get kicked out of the server.

Mod: Axiom v3.0.0
Plugin: AxiomPaper-1.5.12

#

I had a look at server code and I've noticed it's a hard-coded byte value.

drowsy sphinx
#

are you using bungeecord?

#

yeah set it too 31000

keen ore
#

I assume there is no workaround, except modifying the server itself?

keen ore
inland perch
#

Are you using any proxy

drowsy sphinx
#

didnt know craftbukket is even supported

inland perch
#

Paper is built on top of craftbukkit

keen ore
inland perch
#

Anyways, Axiom bypasses that limit as long as another plugin/proxy isn't getting in the way of it

keen ore
#

I suppose I'll just add a config option for max serverbound payload packet byte size.

inland perch
#

What are you doing exactly?

#

Are you using tools in the editor?

keen ore
#

In this case I'm using autoshade

inland perch
#

Well, again, the Axiom paper plugin shouldn't be going down that code path

#

Although I did change how it works a bit in 1.5.12

#

I guess testing if it kicks you in 1.5.11 would be useful

keen ore
#

Well, we do use ViaVersion, perhaps it does the "routing"

inland perch
#

Yes, if ViaVersion is active it'll affect packets

inland perch
#

It is probably via that's kicking you

#

Which is unfortunate I guess, because I thought it wouldn't be

#

Anyways, the other solution would be tweating the max-buffer-size or whatever it's called in the axiom paper plugin's config to 31000

#

So it's under the limit

#

That'll impact the performance of the server a bit since it needs to send a lot more packets & isn't as compressable, but that is an option

keen ore
#

is it this one?

inland perch
#

Yeah

#

31000, not 0x31000

keen ore
#

yeah I'm aware it's a 16bit number (1048576) lol

#

thanks

winged zodiac
#

Hi! I'm having the same issue pasting large block display commands in a paper server, I've set the limit to 31000 but still getting kicked out 😦

round flint
#

Create your own ticket don't use other people's thaks