> For the complete documentation index, see [llms.txt](https://docs.greenhellmodding.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greenhellmodding.com/client-code-examples/giving-items-to-a-player.md).

# Giving items to a player

To give an item to a player you can use the `AddItemToInventory` method on the `Player` class.

```csharp
Player.Get().AddItemToInventory("Meat_Cooked");
Player.Get().AddItemToInventory("Candy_bar_1");
Player.Get().AddItemToInventory("Mouse_Meat_Cooked");
Player.Get().AddItemToInventory("Bamboo_Spear"); 
```

{% hint style="info" %}
You can find all in-game items in the ItemID enum. \
In 1.5.2 there is more than 700 items!
{% endhint %}
