Placeholders
THIS REQUIRES PlaceholderAPI and they both work for GriefPrevention
(if want to work with another one tell me ^^)
Placeholder:
%btc_cube_xInt,yInt,zInt_size%
Returns true or false depending if the player can place a block in the area selected.
The area is a cube, where xInt,yInt,zInt are the center, so be careful with the size,
it increases strongly, size 10 equals an area of blocks of 20*20*20 = 8000 blocks, and
detect that amount may lag the server a bit, otherwise, you can detect row or columns
of blocks using many placeholders of cuboids.
Example:
%btc_cube_%player_x_int%,%player_y_int%,%player_z_int%_2%
Placeholder:
%btc_cuboid_xInt,yInt,zInt_sizex,sizey,sizez%
Returns true or false depending if the player can place a block in the area selected.
The area is a cuboid with dimensions sizex,sizey,sizez and where the center is
xInt,yInt,zInt. Its the same idea as above but with custom dimensions. Useful to
don't waste much resources detecting blocks unnecesarily.
Example:
%btc_cuboid_%block_x_int%,%block_y_int%,%block_z_int%_8,2,8%
Last updated