⬛ |BlocksToCommand |⬛ icon

⬛ |BlocksToCommand |⬛ -----

Import your structures into setblock commands




#Default set by true, it adds the commands to the blocks, you would think why ? you cant hide this and add your additional commands
enableCommands: true


#Additional commands that will be added to the list of commands, for example:
AdditionalCommands:
- none #this represents nothing and it helps the plugin to don't delete this line
#- execute at %player% run playsound minecraft:block.lantern.place block @a %block_x% %block_y% %block_z% 0.5 1
#- execute at %player% run particle dust 1 1 1 1 %block_x% %block_y% %block_z% 0.3 0.3 0.3 0 10
# Here you can use %btc_block_x%, %btc_block_y%, %btc_block_z% to get the coordinates of the block
# %btc_block% to get the block name

Tutorial how to add custom commands

----------, Feb 24, 2025

New placeholder for only detecting AIR

upload_2024-3-10_17-49-55.png
----------, Mar 10, 2024

Changes since ExecutableBlock's API was changed.
----------, Jul 26, 2023

Now we have a wiki !
https://vayk.gitbook.io/blockstocommand/

New placeholders added to check that you can actually place a building or not with GriefPrevention (requires PlaceholderAPI)
%btc_cube_xInt,yInt,zInt_size%
%btc_cuboid_xInt,yInt,zInt_sizex,sizey,sizez%

New selection on config for the setblock command
https://vayk.gitbook.io/blockstocommand/configuration#setblockargument

Now the plugin can import the buildings into 4 directions quicker, read the wiki because this is on TEST, be aware of this when using it. If you have a bug or something just DM me and I will fix it.

Added permissions
https://vayk.gitbook.io/blockstocommand/commands-and-permissions#permissions
btc.command
btc.tool
btc.*
----------, Mar 25, 2023

Blacklist option was added.

/btc <Delaytick> <CopyAir> <File name> [BlacklistBlocks]

Now you can blacklist blocks so the setblock command won't set the block on that/those specific(s) block(s). For example:

(Normal, no blacklist) /btc 1 true thisismyfilename
(blacklist bedrock) /btc 1 true thisismyfilename bedrock
(blacklist bedrock and dirt) /btc 1 true thisismyfilename bedrock,dirt
----------, Oct 23, 2022

Added in config.yml:
# Default set to NETHERITE_HOE, you can select the tool you'd like to have.
Tool: NETHERITE_HOE
# Default set by false, it adds particles in the area selected by the tool
areaParticles: false

Also now it supports ExecutableBlocks blocks, so once importing the area, each EB block in the area will be imported correctly not as a "setblock" but as a "EB Block"
----------, Aug 27, 2022

-------------------------------------------------------
Added new command
/btc tool
It brings you the tool to select the area
-------------------------------------------------------
[Important] Now the area is not selected by the command, use the tool.
-------------------------------------------------------
The command now is
/btc <delaytick> <copy air - boolean> <name of the file>

In case you select a name of a file that already exists, it will be overwritten
-------------------------------------------------------
Bug fixes
-------------------------------------------------------
----------, Aug 19, 2022

Now added AdditionalCommands in config, so you can add your custom commands between each setblock

Delaytick 0 is supported
----------, Jul 23, 2022

Resource Information
Author:
----------
Total Downloads: 436
First Release: Jul 22, 2022
Last Update: Feb 24, 2025
Category: ---------------
All-Time Rating:
4 ratings
Find more info at vayk.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings