> For the complete documentation index, see [llms.txt](https://bungeesk.zorgdev.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bungeesk.zorgdev.fr/basic-usage/global-variables.md).

# Global variables

Global variables are something new in BungeeSK (1.1.0). You will learn here how to use them aswell.

## What's a global variable ?

First , a global variable is stored on the Bungeecord server, in the `/plugins/BungeeSK/variables.json` file. It is stored with a key and a value, with key as a string and value as string, number or boolean.

## Setting a global variable

You can create a global variable like this:

{% code title="example.sk" %}

```python
set global variable "money.%player%" to 100
```

{% endcode %}

### Getting a global variable

{% code title="example.sk" %}

```bash
set {_money} to global variable "money.%player%"
send "You have %{_money}%$ on your account !" to player
if {_money} >= 1000:
    set {vip::%player%} to true
```

{% endcode %}
