eldoriarpg / schematic-tools

Bind schematic to tools
GNU Affero General Public License v3.0
0 stars 0 forks source link

"The schematic is too large." when I try to place a schematic #41

Open TomLewis opened 1 year ago

TomLewis commented 1 year ago

First time finally getting around to testing this plugin, followed the "Creating a brush tool" on https://www.spigotmc.org/resources/schematic-tools-schematic-brush-reborn-2-add-on.103776/

which works, but when I try to place the schematic I get "The schematic is too large." Ive tried scanning message files for WE/FAWE/schematic-tools/schematic-brush-reborn and cant figure out whats causing this.

Any ideas? Its a tiny schematic. 2023-03-28_17 04 35

rainbowdashlabs commented 1 year ago

That's actually interesting. Is that a chat message or an action bar message. If it is a chat message. Is there a prefix in front of it? The only message of this type I am aware off is the message shown when the schematic is too big for the preview but I think that message is a bit different worded.

rainbowdashlabs commented 1 year ago

Oh that is not from schematic tools, but SurvivalSchematicBrush. The add ons have no awareness of each other. Survival Brush restricts all pastes of schematic brushes in survival based on a size permission survivalschematicbrush.limit.x. Even when those are schematic tools. Maybe making them aware of each other might be a good idea. Or at least tell SurvivalBrush to not touch it when a schematic tool is used.

TomLewis commented 1 year ago

Is that a chat message or an action bar message I love how I sent a screenshot and didnt include the message! haha Its a chat message, in red. There is no prefix, which is why I searched all my plugin files for the message and couldnt find it! So I presume its hard coded into a plugin instead of a language file.

Ahhh I do have SurvivalSchematicBrush installed too but didnt get around to testing it yet! I threw everythign onto my local test server and was testing bit by bit, im so far behind I bought the plugin ages ago and am only testing it now! haha

Brush restricts all pastes of schematic brushes in survival based on a size permission survivalschematicbrush.limit.x.

Brilliant! Im glad this exists.

For now, I will remove SurvivalSchematicBrush and test with your tools plugin.

My goal is to replace structure-boxes https://dev.bukkit.org/projects/structure-boxes as it wasnt updatd, but checking now, it seems it has been! Edit: I remember now, it does not support FAWE and breaks a ton of WE related tasks.

I much prefer the preview of the schematics for players to see where they are pasting tho, so I will continue! I will try and do some more testing tonight!

Thanks