maruohon / litematica

A modern client-side schematic mod for Minecraft
GNU Lesser General Public License v3.0
728 stars 218 forks source link

Paste in Place issue in Server Creative world #578

Closed blacksheep-77 closed 1 year ago

blacksheep-77 commented 2 years ago

Have a SMP server and a Creative Server on Bloom.host

Copied a portion of the SMP using litematica. Attempted to "paste in place" in the Creative world. Keep getting errors that crash the world. Tried same schematic in Solo Creative world with exact same mod list and mc version and it will paste in place.

Also tested in another server I belong too in their creative server, also same MC version and mod list. Same errors. Leads me to believe that it is a client side issue with servers. Not smart enough to know where to look to fix though.

See image below for a screen capture of the errors im seeing right after paste command and right before the crash.

2022-09-06_16 43 49

kosma commented 2 years ago

Please post client & server logs - at least crash-report, also possibly latest.log if it doesn't contain anything sensitive.

blacksheep-77 commented 2 years ago
Screen Shot 2022-09-06 at 4 59 52 PM

checked the server log and this image shows that at each attempt to paste the schematic, I'm getting kicked for spamming?

blacksheep-77 commented 2 years ago

Log with personal info hashed out.

[16:40:16] [main/INFO]: Loading Minecraft 1.19.2 with Fabric Loader 0.14.9 [16:40:16] [main/INFO]: Loading 70 mods:

blacksheep-77 commented 2 years ago

Previous post is log from local MC folder.

This log is from Bloom.host.

[04:01:02] [main/INFO]: Loading Minecraft 1.19.2 with Fabric Loader 0.14.9 [04:01:02] [main/WARN]: Warnings were found!

blacksheep-77 commented 2 years ago

"Possibly due to my server settings I have to change the pastecommandlimit to 5 or I get kicked for sending too many packets so it's a slower process but it works."

Saw this on another thread...can't find "pastecommandlimit" under Generic though.

maruohon commented 2 years ago

Those configs were renamed since they aren't only for the Paste mode, but also for Fill, Replace and Delete modes that use commands. It's now called commandLimitPerTick and the interval is commandTaskInterval.

In your first message you say crash the world. What exactly do you mean by that in this case? Does the server crash too? Or do you just get kicked from the server for command spamming? Or do you both get kicked and then immediately the client crashes after dropping from the server?

The next mod version should have a fix for the case where you get kicked from the server while pasting, which could then crash your client when the paste task is stopped but you are not in a world anymore. But for the issue of getting kicked for command spamming, you mostly would have to play with some server setting, if there are any settings for that. (I think Paper has some, but not sure if there are any in vanilla/Fabric, usually they just allow more than 5 per tick, more in the range of 16-32 per tick. Not sure why that varies so much, unless some mod adds that limit.)

blacksheep-77 commented 2 years ago

Just by way of follow up.

Found out that the kick for spamming was happening because I hadn't added myself as an "operator" in the Bloom.host panel. The game saw me as a regular player that didn't have permission to "spam". After adding myself as an "op" the spam kicking ceased.

So ultimately this had nothing to do with Litematica.

blacksheep-77 commented 2 years ago

Matti,

Thanks for the detailed explanation. I came to the same conclusion about the new commands. Tried playing with the amounts but didn’t get very far in the testing.

Server does not crash, just the world and it looks to me like it is command spamming which kicks me out. The kick just sends me back to the MC start screen where I can just launch the world again.

I saw a few posts about a mod that turns off anti-spamming controls in vanilla/fabric mc. Haven’t looked into it yet. Next step is to work on the command adjustments and if that doesn’t get me a good result, I will start removing mods until I find the one that is causing the issue.

Glad to hear about the updates…that might help resolve as well.