> ## Documentation Index
> Fetch the complete documentation index at: https://v5.rpgjs.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Gold Commands

> Read and update player gold on the server side.

# Gold Commands

Read and update player gold on the server side.

## Members

* [Change Gold](#change-gold)

## Change Gold

You can change the game money

```ts theme={null}
player.gold += 100
```

* Source: `packages/server/src/Player/GoldManager.ts`
* Kind: `property`
* Member of: `GoldManager`
* Defined in: `GoldManager`

### Signature

```ts theme={null}
{number} player.gold
```

### Default

```ts theme={null}
0
```
