GlowstoneMC / GlowstoneMC/Bukkit2Sponge

Players

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Support org.spongepowered.api.Server's org.spongepowered.api.entity.player.Player methods:

``` java
@Override
public Collection getOnlinePlayers() {
return null; //To change body of implemented methods use File | Settings | File Templates.
}

@Override
public int getMaxPlayers() {
return handle.getMaxPlayers();
}

@Override
public Optional getPlayer(UUID uniqueId) {
return Optional.absent(); //To change body of implemented methods use File | Settings | File Templates.
}

@Override
public Optional getPlayer(String name) {
return Optional.absent(); //To change body of implemented methods use File | Settings | File Templates.
}
```

http://spongepowered.github.io/SpongeAPI/org/spongepowered/api/entity/player/Player.html

comparable to https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12093831-players?utm_campaign=plugin&utm_content=tracker%2F15396672&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15396672&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.