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

Send Plugin Messages without Online Players

$
0
0
Hello,

I'm trying to send messages through servers without the need of having at least one player online.
What I'm using is:

Code (text):
public void forward(String s){
         try{
             ByteArrayOutputStream b = new ByteArrayOutputStream();
             DataOutputStream out = new DataOutputStream(b);
       
             out.writeUTF("Forward");
             out.writeUTF(Main.getInstance().Config.getString("Lobby-server-name").trim());
             out.writeUTF("SkyWars");...
Send Plugin Messages without Online Players

Viewing all articles
Browse latest Browse all 3776

Trending Articles