Iris icon indicating copy to clipboard operation
Iris copied to clipboard

Support for World Edit (.schem) files for Structures

Open chrismwiggs opened this issue 4 years ago • 10 comments

Is your feature request related to a problem? Please describe. While the built-in Iris features for creating structures are good, as a server admin with builder used to world edit, it would be nice to be able to drop in a World Edit Schematic file and have Iris accept it/automatically port it over.

Describe the solution you'd like Schematic files are nice because they're part of many people's existing workflow but they're also easy to edit and revise as part of this workflow.

Describe alternatives you've considered I've used other plugins, like CustomStructures to simplify the custom structure process; we had a lot of structures built already and I was able to just drop these .schem files into a folder, add some basic spawn criteria, and was done. Making changes was as easy as replacing the .schem file, which was nice + felt very natural for my usual admin workflow.

Additional context This is very much a nice-to-have, but I think would help in lowering the barrier to more customization!

chrismwiggs avatar Feb 27 '21 20:02 chrismwiggs

Currently, the best way you can accomplish transferring your WorldEdit schematics is pasting them then transferring them to become Iris structures. I can agree with your idea to make things easier to transfer, but I don't agree with having the ability to drag and drop worldedit schematics and have them automatically converted to Iris. That could be complicated to accomplish, I'm not sure though as I don't dev for Iris :P. My approach to this would be adding a command to transfer worldedit schematics to iris. So, say something along the lines of "/ir std transfer (list of options, currently worldedit) (scheme name)" and it would automatically convert it. I think this would be the best way, and it's still somewhat automatic and easier than pasting and then remaking it. Let me know what you think of this alternative.

AZFire1 avatar Feb 27 '21 21:02 AZFire1

I asked for this feature request :D

svdgoor avatar Feb 27 '21 21:02 svdgoor

I think a command to convert would be nice (Imagining if you had like 50+ schematics, pasting and remaking would be tedious). I still think it would be nice to be natively supported like CustomStructures does just because it feels like magic--if that makes sense. As a user I don't need to think about it; I can edit the files, replace them, delete them, no problem and it just worked.

I know maybe not realistic though, but still just a thought I had setting up my first serious Iris world and trying to think of things that would have been cool!

chrismwiggs avatar Feb 27 '21 21:02 chrismwiggs

Does the converter work? moving them into that convert folder in iris then using /iris convert? It works for EWG Object files, i think i added support for world edit but im not sure how well it works.

cyberpwnn avatar May 09 '21 16:05 cyberpwnn

Convert was removed, @cyberpwnn could this be reintroduced?

svdgoor avatar Jul 14 '21 21:07 svdgoor

Perhaps this can be added to the converter introduced with #444

svdgoor avatar Jul 25 '21 19:07 svdgoor

Would be nice to have a converter again in general tho, with the new obj v3, #508

svdgoor avatar Aug 07 '21 18:08 svdgoor

Yeah it will be. We cant directly support schematic files, they have to be converted. Schematic format is not suitable for generation as they store the entire cuboid of data, its very wasteful with trees for example.

cyberpwnn avatar Aug 08 '21 05:08 cyberpwnn

I would love this feature of conversion, would make some stuff easier. Definitely adding the file and running a convert command would do.

Skizzles avatar Aug 09 '21 23:08 Skizzles

It would be easier but a lot of work

NextdoorPsycho avatar Dec 26 '21 03:12 NextdoorPsycho