Skip to content

Players #9

@deathcap

Description

@deathcap

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions