PlotSquared
PlotSquared copied to clipboard
Road Schematics are not properly created
Server Implementation
Paper
Server Version
1.18.1
Describe the bug
When creating road(only replicated with roads) schematics with the setting "paste-on-top: false" will not only paste the respective schematic one block higher then it should, it also cuts away the most upper block layer. This might be due to a misconfiguration, as the bedrock is included in each schematic and it should therefore be pasted at y=0 and not y=1 as stated in multiple settings.
Why you want to rise the road from y=0 to your street height is obvious: Signs and Hologramms will otherwise generate at y=0 and the schematic WILL be pasted in the right way, but it is not the right way to do things.
Right now you are expected to set the road height to the wall height, so signs (and holos) generate properly. The Road blocks are set to air and "paste-on-top" must be disabled. Then we generate a world, paste the roads and intersections in as described in the documentation, select EVERYTHING and move it one block down. Next we place a Block on each road and intersection, forming a highest block layer consisting of ONLY this block and are now able to select ALL important blocks with FAWE (selecting plots as well doesnt matter, as long as you copy the walls as well as they are part of the schematics as well). Next, we move everything one block down.
NOW, you are able to make a proper schematic with properly aligned signs and holos. This took me almost a week to figure out.
As suggested, the paste level should either be put to y=0, or the schematic should be copied at the respective level and with its full height (which might be an even better solution). Another solution would be an extra option for the sign height, but there may be other solutions as well.
This is just a suggestion after all, but something must be done about the current system - it is not working as expected.
To Reproduce
- Create a World with
/p2 setup
, with a road height of 0. - Create road schematics as usual with standard settings.
- Try out worldgen and see signs being shifted, but roads being as expected.
- Change the setting
paste-on-top
tofalse
and change the height of the road to wall-height inworlds.yml
. - Reload PlotSquared and execute just
createroadschematic
on the same model as before. - Fly into newly generated chunks and enjoy the choped and 1-Block-too-high roads!
Expected behaviour
No chopped roads!
Screenshots / Videos
No response
Error log (if applicable)
No response
Plot Debugpaste
https://athion.net/ISPaster/paste/view/41142093e1994cffab8bd8e9cb18c11a
PlotSquared Version
PlotSquared-6.5.0
Checklist
- [X] I have included a Plot debugpaste.
- [X] I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.
Anything else?
As I am just a developer, I am personally interested in this topic, but not affected. As I built this project from source, I do not insist neither push for this change, but I consider it as a valuable bug report nobody else has seen yet. Hope I can help in some way.
I can confirm this bug, having the same issue myself. Makes road generation for any roads that go below the flat-level impossible to generate correctly. I hope this can be fixed soon. I also made the following comments on the Discord if this helps anyone:
Hey guys, quick question. Is there any way to include the Y-axis in road schematic creation and generation? We have a road design that goes deeper into the ground and we'd like that portion to be copied over alongside the higher layers
I've noticed that quite a few other people have asked this issue and have not gotten a response, after searching through the Discord. I hope somebody is able to help at least explain why heights below the top layer are not being copied. For reference, when disabling "paste-road-on-top", it does copy the lower layers, but it pastes one block too high unfortunately.
Also getting errors in console when disabling paste-road-on-top
:
[03:14:08 ERROR]: [PlotSquared/HybridPlotWorld] Error adding overlay block. `y > height`
[03:14:08 ERROR]: [PlotSquared/HybridPlotWorld] Error adding overlay block. `y > height`
[03:14:08 ERROR]: [PlotSquared/HybridPlotWorld] Error adding overlay block. `y > height`
...
It would be helpful if you can provide your road schematic for testing purposes. Additionally I would like to ask if you could sum your first comment up, because I quite can't follow the goal you achieve vs the goal you want to achieve. Thanks in advance.
The goal is the normal use of the plugin. The signs should generate at the height of the wall and not the height of the road, as this is self-explanatory for using schematics. Since this is not directly possible, one has to use the ``paste-on-top'' setting, and set it to off. This way, one can use the road height to properly align the signs to the wall height, so they stick to the top-wall-blocks, and use air instead of road-blocks, so the road schematic is not overriden - though the signs are placed.
This would be the intended way I think, but the problem is, that with the ``paste-on-top'' setting, the most upper block layer is NOT copied into each schematic and the temporary solution is to add an extra block on top of the road AND crossing schematics when setting them up, but this might lead to problems when this bug is fixed, as the current solution will break and the extra block WILL generate.
Hope this sums it up - as the world has been built with a lot of effort, I will send you the templates via DC - Same name there.
Seems like I cant send you the template there, I will try it here. Plots - Kopie.template.txt
The fixed version for Git Issue #3504, has an added block when creating the schematic, so it is pasted in correctly. This version is the one, where paste-on-top is disabled.
plots - Kopie - notfixed.template.txt
The following one has it enabled, with the signs generating under the road.
Please convert the files by removing the .txt part of each file name.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue is still present and can be reproduced, please let the team know. Thank you for your contributions.
This issue still occurs
Yes, still reproducible for me. 2 ways to do it, but only one, where the signs are properly aligned - so the current fix is still to create the template with an extra block layer on the top, but as the fix will come, that template will be unusable again.
Bump
I got the same issue