# Placeholders

### Default placeholders

> %id% - Player server ID\
> %name% - Player full name\
> %health% - Player health percentage\
> %armor% - Player armor percentage\
> %hunger% - Player hunger percentage\
> %thirst% - Player thirst percentage\
> %stress% - Player stress percentage\
> %stamina% - Player stamina percentage\
> %cash% - Player wallet\
> %bank% - Player bank\
> %job\_label% - Player current job label\
> %job\_grade% - Player current job grade \
> %time% - current time (game time if it is enabled in config)\
> %date% - current date

### Custom placeholders

for creating custom placeholders (custom data) you need to edit GetExtraEdit() method in handlers.lua

```lua
-- You should return table like this with how many keys you want
-- In example below, %TestData% can be used as a placeholder for "Test" static value
function GetExtraData()
    return {
        TestData = "Test"
    }
end

```

### Formatting numbers

You can format numbers for better display in HUD

```lua
-- in example below, if player cash is 111111 the output would be: 111,111
local placeholder = "format(%cash%)"
```
