{"action":"created","issue":{"url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1823","repository_url":"https://api.github.com/repos/SpigotMC/BungeeCord","labels_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1823/labels{/name}","comments_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1823/comments","events_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1823/events","html_url":"https://github.com/SpigotMC/BungeeCord/issues/1823","id":145960743,"number":1823,"title":"Add isOnline() to ProxiedPlayer","user":{"login":"KingFaris10","id":3731915,"avatar_url":"https://avatars.githubusercontent.com/u/3731915?v=3","gravatar_id":"","url":"https://api.github.com/users/KingFaris10","html_url":"https://github.com/KingFaris10","followers_url":"https://api.github.com/users/KingFaris10/followers","following_url":"https://api.github.com/users/KingFaris10/following{/other_user}","gists_url":"https://api.github.com/users/KingFaris10/gists{/gist_id}","starred_url":"https://api.github.com/users/KingFaris10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingFaris10/subscriptions","organizations_url":"https://api.github.com/users/KingFaris10/orgs","repos_url":"https://api.github.com/users/KingFaris10/repos","events_url":"https://api.github.com/users/KingFaris10/events{/privacy}","received_events_url":"https://api.github.com/users/KingFaris10/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-05T11:27:00Z","updated_at":"2016-04-05T16:40:50Z","closed_at":"2016-04-05T16:40:50Z","body":"I think it would be good to add isOnline() or isConnected() to the ProxiedPlayer class. It's a lot neater and more simple than getting the player by UUID and checking if it's not null, for example:\r\n\r\n```\r\nfinal ProxiedPlayer player = event.getPlayer();\r\nthis.getProxy().getScheduler().schedule(this, () -> {\r\n    if (getProxy().getPlayer(player.getUniqueId()) != null) {\r\n\r\n    }\r\n}, 1L, TimeUnit.SECONDS);\r\n```"},"comment":{"url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/comments/205887840","html_url":"https://github.com/SpigotMC/BungeeCord/issues/1823#issuecomment-205887840","issue_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1823","id":205887840,"user":{"login":"KingFaris10","id":3731915,"avatar_url":"https://avatars.githubusercontent.com/u/3731915?v=3","gravatar_id":"","url":"https://api.github.com/users/KingFaris10","html_url":"https://github.com/KingFaris10","followers_url":"https://api.github.com/users/KingFaris10/followers","following_url":"https://api.github.com/users/KingFaris10/following{/other_user}","gists_url":"https://api.github.com/users/KingFaris10/gists{/gist_id}","starred_url":"https://api.github.com/users/KingFaris10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingFaris10/subscriptions","organizations_url":"https://api.github.com/users/KingFaris10/orgs","repos_url":"https://api.github.com/users/KingFaris10/repos","events_url":"https://api.github.com/users/KingFaris10/events{/privacy}","received_events_url":"https://api.github.com/users/KingFaris10/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T16:40:50Z","updated_at":"2016-04-05T16:40:50Z","body":"Oh, I had a few months ago build of BungeeCord, thanks for that."}}