BlockHorizons / BlockSniper

An advanced (brush) world editing plugin for PocketMine-MP
https://poggit.pmmp.io/p/BlockSniper/
Apache License 2.0
76 stars 41 forks source link

Question #79

Closed pranavbhuv closed 6 years ago

pranavbhuv commented 6 years ago

How to use schematics

Sandertv commented 6 years ago

To use schematics you just download the schematic to your likes from the internet. (There are a lot of those, just search on PlanetMinecraft for example) Then put the .schematic file in the BlockSniper/schematics/ folder with the desired name, and finally go in-game and use /schematic paste <schematic file name without .schematic>

Sandertv commented 6 years ago

The schematic should then pop up on the location you look at. If you have problems with it feel free to ask for some more clarification.

pranavbhuv commented 6 years ago

k thx ill try this

pranavbhuv commented 6 years ago

there is no such commqnd..

Sandertv commented 6 years ago

Oops sorry, /paste schematic

pranavbhuv commented 6 years ago

doesnt paste.. https://www.planetminecraft.com/project/kayt-the-floating-castle-download/

pranavbhuv commented 6 years ago

None of the schematics work..

Sandertv commented 6 years ago

Big schematics take some time to paste. Don't expect it to happen in an instance. If you turn debug level to 2 in the pocketmine.yml you can see the progress.

pranavbhuv commented 6 years ago

21.10 11:29:25 [Server] INFO Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes) in phar:///custom-php7.2.phar/src/pocketmine/block/BlockFactory.php on line 384 21.10 11:29:25 [Server] Server thread/CRITICAL Could not execute asynchronous task PasteTask: Task crashed 21.10 11:29:26 [Server] INFO Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 12288 bytes) in phar:///custom-php7.2.phar/src/pocketmine/level/format/Chunk.php on line 1002 21.10 11:29:26 [Server] Server thread/CRITICAL Could not execute asynchronous task ChunkRequestTask: Task crashed 21.10 11:29:29 [Server] INFO Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 8192 bytes) in phar:///custom-php7.2.phar/src/pocketmine/level/format/Chunk.php on line 1002 21.10 11:29:29 [Server] Server thread/CRITICAL Could not execute asynchronous task ChunkRequestTask: Task crashed

Sandertv commented 6 years ago

... Which means the schematic was too big to execute. I'll work on doing this in such a way that the least memory gets consumed soon.

pranavbhuv commented 6 years ago

So, I cant paste that scheme .-.

Sandertv commented 6 years ago

In fact... What you COULD try, is setting the async worker memory limit higher. I can't promise that'll make it work, but it might.