> For the complete documentation index, see [llms.txt](https://tooltips.gitbook.io/tooltips/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tooltips.gitbook.io/tooltips/configuration/preset/argument-types.md).

# Argument Types

Various argument types that are found in native conditions

## **Regular**

<table data-full-width="false"><thead><tr><th width="137">Name</th><th width="179">Description</th><th width="224">Value examples</th><th>Concrete examples</th></tr></thead><tbody><tr><td><mark style="color:purple;"><strong>Integer</strong></mark></td><td>A real number</td><td><ul><li>1</li><li>2</li><li>1000...</li></ul></td><td><ul><li>{distance = 10}</li></ul></td></tr><tr><td><mark style="color:purple;"><strong>String</strong></mark></td><td>Regular text. Some may support PAPI placeholders</td><td><ul><li>hello</li><li>%player_name%...</li></ul></td><td><ul><li>{first=%player_name%}</li></ul></td></tr><tr><td><mark style="color:purple;"><strong>Boolean</strong></mark></td><td>true or false</td><td><ul><li>true</li><li>false</li></ul></td><td><ul><li>{value=true}</li></ul></td></tr><tr><td><mark style="color:purple;"><strong>Type</strong></mark></td><td>Specific type (clarified in the condition list)</td><td><ul><li>creative</li><li>survival</li><li>grass_block</li></ul></td><td><ul><li>{gm=creative}</li></ul></td></tr><tr><td><mark style="color:purple;"><strong>Operation</strong></mark></td><td>Operation to perform on two variables</td><td><ul><li>==</li><li>&#x3C;=</li><li>>=</li><li>&#x3C;</li><li>></li></ul></td><td><ul><li>{oper= &#x3C;=}</li><li>{o==}</li></ul></td></tr><tr><td><mark style="color:purple;"><strong>Location</strong></mark></td><td>A location in the players current world</td><td><ul><li>[ x, y, z]</li><li>[ 43, 64, -43]</li></ul></td><td><ul><li>{ l = [43, 64, -43] }</li></ul></td></tr><tr><td><mark style="color:purple;"><strong>Slot</strong></mark></td><td>A players slot</td><td>found <a href="https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/EquipmentSlot.html">here</a></td><td><ul><li>{slot=hand}</li></ul></td></tr></tbody></table>

## **Arrays**

Some arguments support an array of specific types. For example the `gamemode` condition can define multiple game modes like so: `gamemode{gm=creative,survival}` which will trigger the condition if the players gamemode is either creative or survival. Array options are separated with a comma " , ". It's optional to specify multiple values in an array, it can just as well consist of a single value.

```yaml
conditions:
# Array of game mode types
- gamemode { gm = creative, survival, adventure }
# Array of material types
- standingon { mat = grass_block, dirt_block }
# Array of furniture id strings
- lookingatfurniture { id = table, chair }
```
