> For the complete documentation index, see [llms.txt](https://plugins.phbot.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugins.phbot.org/phbot-api/game-data.md).

# Game Data

These functions return an object based on the game item ID or monster ID.

## get\_item(id)

#### Usage

`get_item(1)`

#### Returns

`None` or an object with the game data.

```
{
    'servername': 'ITEM_ETC_GOLD_01',
    'name': 'Gold',
    'tid1': 3,
    'tid2': 5,
    'tid3': 0,
    'cash_item': False,
    'max_stack': 0,
    'level': 0
}
```

## get\_item\_string(str)

#### Usage

`get_item_string('ITEM_ETC_GOLD_01')`

#### Returns

`None` or an object with the game data.

```
{
    'servername': 'ITEM_ETC_GOLD_01',
    'name': 'Gold',
    'tid1': 3,
    'tid2': 5,
    'tid3': 0,
    'cash_item': False,
    'max_stack': 0,
    'level': 0
}
```

## get\_monster(id)

#### Usage

`get_monster(1907)`

#### Returns

`None` or an object with the game data.

```
{
    'servername': 'CHAR_CH_MAN_ADVENTURER',
    'name': 'CHAR_CH_MAN_ADVENTURER',
    'level': 1,
    'hp': 0
}
```

## get\_monster\_string(str)

#### Usage

`get_monster_string('CHAR_CH_MAN_ADVENTURER')`

#### Returns

`None` or an object with the game data.

```
{
    'servername': 'CHAR_CH_MAN_ADVENTURER',
    'name': 'CHAR_CH_MAN_ADVENTURER',
    'level': 1,
    'hp': 0
}
```

## get\_skill(id)

#### Usage

`get_skill(3)`

#### Returns

`None` or an object with the game data.

```
{
    'servername': 'SKILL_CH_SWORD_SMASH_A_01',
    'duration': 0,
    'sp': 2,
    'cool_down': 3000,
    'mp': 19,
    'mastery': 257,
    'name': 'Strike Smash',
    'cast_time': 1022,
    'level': 5
}
```

## get\_zone\_name(region)

#### Usage

`get_zone_name(25000)`

#### Returns

Name of the in game region. In the example above it returns `Jangan`.
