some few changes again

This commit is contained in:
mangorifo
2023-03-29 14:50:28 +08:00
parent 539cbe9104
commit 4a5fb14339
4 changed files with 9 additions and 22 deletions
+1 -5
View File
@@ -3,19 +3,15 @@ package cf.sobrooms;
import org.bukkit.Bukkit;
import org.bukkit.Server;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;
public class ServerUtils {
public static int port = 25565;
public static String address = "http://mc-srv2-singapore.rrryfoo.cf";
public static String address_fallback = Utils.getServerHostPublicIP();
public static String webhook_notify = Main.getNotifyWebhook();
public static String webhook_messages = Main.getPublicMessageWebhook();
public static String address = "http://mc-srv2-singapore.rrryfoo.cf";
public static boolean serverIsUp(String serverAddress, Integer serverPort) {
/*Socket socket;