Quantcast
Channel: BungeeCord Discussion
Viewing all articles
Browse latest Browse all 3776

Whether a player is online - getting instant result

$
0
0
Hi

Is there a way to do something like the following but with BungeeCord, in the way that the value is set exactly with no waiting? I need to know whether a player is online anywhere on the network or not

Code (Text):
boolean isOnline = Bukkit.getOnlinePlayers().contains(p);

Viewing all articles
Browse latest Browse all 3776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>