# InventoryItemAdded

Example usage:

```lua
Events.InventoryItemAdded(function(event)
    -- Sends a notification to a player that receives the Laser Sword item
    if (event.item == ItemType.LASER_SWORD) then
        MessageService.sendInfo(event.player, "You have unlocked the power of the force!")
    end
end)
```

### Parameters

#### player: [Player](https://docs.easy.gg/scripting/bedwars-scripting/objects/player)

The player who received a new item.

#### item: [ItemType](https://docs.easy.gg/scripting/bedwars-scripting/types/itemtype)

The type of item received by the player.

#### amount: number

The amount of the item received by the player.
