# How and were to use variables

This variable system is useful if you want to store temporary values for something! Like pages in a hologram system.

To use a variable, simply use the placeholder in any plugin text.

```yaml
my-text: "Hello %player%! You var is {var_name}"
```

To use a global variable, use the global placeholder:

```yaml
my-text: "The global var value is global:{var_name}"
```

If you want to use these variables on other plugin, just use the PlaceholderAPI placeholder:

```
%xg7plugins_var_name% or
%xg7plugins_globalvar_name%
```
