# warzone

**.warzone(UUID)**

Get warzone information for a player on CubedCraft.

| Parameter | Type   | Required | Description                              |
| --------- | ------ | -------- | ---------------------------------------- |
| UUID      | string | true     | The UUID of the player you want info for |

**Example:**

```javascript
// Dependencies
const CubedCraft = require('cubed-api');

// Getting the player info
CubedCraft.API.player.warzone('4de211d9-2e6d-41a8-830f-c20ba2359654').then(info => {
    console.log(info);
})
```

{% hint style="warning" %}
You can easily get a player's UUID with the [.playerUUID()](https://pondwadermc.gitbook.io/cubed-api/documentation/utils/playeruuid) method, view the documentation here: <https://pondwadermc.gitbook.io/cubed-api/documentation/utils/playeruuid>
{% endhint %}

**Example Response:**

```javascript
{
  player: {
    uuid: '4de211d9-2e6d-41a8-830f-c20ba2359654',
    username: 'PondWader',
    coins: 7010,
    kills: 5046,
    deaths: 8120,
    wins: 889,
    score: 114601,
    wool_destroyed: 2615,
    first_joined: 1573920309970,
    last_joined: 1618591915975,
    playtime: 600400634
  }
}
```
