Buildinggadgets: Paste is too large when copied from another world

Created on 24 Jan 2019  路  8Comments  路  Source: Direwolf20-MC/BuildingGadgets

On my creative world it allowed me to copy my house and paste it onto a template, paste it onto pastebin, etc. but when copying the raw data from the pastebin and pasting it on my survival world it tells me the paste is too large. I can copy & paste the house fine on my creative world and preview it in my template manager

oversight

Most helpful comment

That's a great idea...
It will be caught in the world save anyway, so the world save can also put it together once he get's all the packets

All 8 comments

Please include a link to the paste.

This can happen, as TemplateManagerCommands isn't checking for the templates size before copying it to the clipboard (noticed that yesterday evening).

This results in the json being copied into clipboard, but when trying to copy it back in (anywhere) it will tell one that the paste is too large

https://pastebin.com/wtVWh9pV
enigmatica 2 normal pack, if that matters

When looking at it in Pastebin: It definitly seems too large with 228.40KB. The Maximum that can be handeled due to packet limits is 31KB (in Theory Short.Max_Value would be doable, but the current limit is a little bit smaller)and I don't think that you can get below that limit via compressing these 228KB

I mean logically we don't 'have' to send it all through in on packet. We can pretty simply separate it up into max-size parts and send it through with a part & total parts data to allow us to have basically unlimited sizes

That's a great idea...
It will be caught in the world save anyway, so the world save can also put it together once he get's all the packets

@majorTuvok I was toying with this when making it (splitting packets). Player was giving me ideas on how if you want them. I鈥檓 all for it if you can :)

Fixed in v2.6.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

P3rf3ctXZer0 picture P3rf3ctXZer0  路  5Comments

Nerdpie picture Nerdpie  路  3Comments

MichaelHillcox picture MichaelHillcox  路  4Comments

WenXin20 picture WenXin20  路  4Comments

douyabian picture douyabian  路  6Comments