Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(String nameServer : ProxyServer.getInstance().getServers().keySet()){
- BungeeCord.getInstance().getLogger().severe("7345777777777777777" + nameServer);
- ServerInfo server = ProxyServer.getInstance().getServerInfo(nameServer);
- ByteArrayOutputStream stream = new ByteArrayOutputStream();
- DataOutputStream out = new DataOutputStream(stream);
- try {
- out.writeUTF("Test");
- } catch (IOException e) {
- e.printStackTrace();
- }
- server.sendData("BungeeCordChannel", stream.toByteArray());
- }
Advertisement
Add Comment
Please, Sign In to add comment