class PlayerType implements WordType<Player> {

    @Override
    public Player parse(StringReader reader) throws CommandSyntaxException {
        var name = reader.readUnquotedString();
        var player = Bukkit.getPlayerExact(name);
        
        if (player == null) {
            throw EXCEPTION.createWithContext(reader, name);
        }
        
        return player;
    }

    public  PlayerType();

}