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

# BungeePlayer

## Constructors:

#### new BungeePlayer(String name);

```
name - player's name
```

#### new BungeePlayer(UUID id);

```
id - player's id
```

## Methods:

#### kick()

kicks the player out of the network

#### kick(String reason)

reason - the reason for the kick of this player

kicks the player out of the network with a reason

#### getCurrentServer()

gets the current server where the player is in

#### moveTo(SpigotServer server)

server - the server where you want to move the player

moves the player to a specified server
