<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [PlayerEntity](./server.playerentity.md) &gt; [(constructor)](./server.playerentity._constructor_.md)

## PlayerEntity.(constructor)

Constructs a new instance of the `PlayerEntity` class

**Signature:**

```typescript
constructor(options: PlayerEntityOptions);
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

options


</td><td>

[PlayerEntityOptions](./server.playerentityoptions.md)


</td><td>

The options for the player entity.


</td></tr>
</tbody></table>
