> For the complete documentation index, see [llms.txt](https://gamesense-lua.gitbook.io/gamesense-lua.api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gamesense-lua.gitbook.io/gamesense-lua.api/developers/api-documentation/plist.md).

# plist

Functions for interacting with the player list

### Functions:

#### plist.get

`plist.get(entindex: number, field: string)`

| Argument     | Type               | Description       |
| ------------ | ------------------ | ----------------- |
| **entindex** | number (entindex)  | Player index      |
| **field**    | string (menu item) | Name of the field |

Functions for interacting with the player list

#### plist.set

`plist.set(entindex: number, field: string, value: any)`

| Argument     | Type               | Description        |
| ------------ | ------------------ | ------------------ |
| **entindex** | number (entindex)  | Player index       |
| **field**    | string (menu item) | Name of the field  |
| **value**    | any                | Value of the field |

Functions for interacting with the player list
