Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Players #9

Open
deathcap opened this issue Apr 25, 2015 · 0 comments
Open

Players #9

deathcap opened this issue Apr 25, 2015 · 0 comments

Comments

@deathcap
Copy link
Contributor

deathcap commented Apr 25, 2015

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

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

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

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

    @Override
    public Optional<Player> 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! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant