# Placeholders

{% hint style="info" %}
**THIS REQUIRES PlaceholderAPI and they both work for GriefPrevention**

**(if want to work with another one tell me ^^)**
{% endhint %}

```
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%
```

<pre><code>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.

<strong>Example:
</strong><strong>%btc_cuboid_%block_x_int%,%block_y_int%,%block_z_int%_8,2,8%
</strong></code></pre>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vayk.gitbook.io/blockstocommand/placeholders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
