# Party

This function returns all party members.

#### Usage

`get_party()`

#### Returns

`None` or an object containing party members.

* The object can be empty.
* The `key` in the object is the player's party ID.
* `player_id` will be `0` until they spawn near you.
* `hp_percent` and `mp_percent` are values ranging from `0` to `10`. This is how Joymax sends the percentage data.

```
{
    9958419: {
        'name': 'xxxxxxxxxx',
        'mp_percent': 10,
        'player_id': 0,
        'hp_percent': 10,
        'y': 0.0,
        'guild': '',
        'level': 9,
        'x': 0.0
    },
    18466554: {
        'name': 'KyrieIrVinG_',
        'mp_percent': 10,
        'player_id': 0,
        'hp_percent': 10,
        'y': 0.0,
        'guild': 'Succubus',
        'level': 103,
        'x': 0.0
    },
    18478427: {
        'name': '__LeGo0LaS__',
        'mp_percent': 10,
        'player_id': 0,
        'hp_percent': 10,
        'y': 0.0,
        'guild': 'FGFDGDFGDF',
        'level': 84,
        'x': 0.0
    },
    18459759: {
        'name': '_SrK_KhaN_',
        'mp_percent': 10,
        'player_id': 0,
        'hp_percent': 10,
        'y': 0.0,
        'guild': 'Succubus',
        'level': 103,
        'x': 0.0
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://plugins.phbot.org/phbot-api/party.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
