This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.myapp"> | |
| <application android:allowBackup="true" android:icon="@mipmap/ic_launcher android:label="@string/app_name" | |
| android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> | |
| <service android:name=".ForegroundService" android:enabled="true" android:exported="true"></service> | |
| <activity | |
| android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pulutalauncher.util.server; | |
| import java.awt.image.BufferedImage; | |
| import java.io.IOException; | |
| import java.io.ObjectInputStream; | |
| import java.io.ObjectOutputStream; | |
| import java.io.Serializable; | |
| import javax.imageio.ImageIO; | |
| public class ServerStatus implements Serializable { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //ini_set("display_errors", 1); | |
| //ini_set("track_errors", 1); | |
| //ini_set("html_errors", 1); | |
| //error_reporting(E_ALL); | |
| //The following script is tested only with servers running on Minecraft 1.7. | |
| $SERVER_IP = "mc.brawlminus.net"; //Insert the IP of the server you want to query. Query must be enabled in your server.properties file! | |
| $SERVER_PORT = "25565"; //Insert the PORT of the server you want to ping. Needed to get the favicon, motd, players online and players max. etc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.google.gson.Gson; | |
| import sun.misc.BASE64Decoder; | |
| import javax.imageio.ImageIO; | |
| import java.awt.image.BufferedImage; | |
| import java.io.*; | |
| import java.net.Socket; | |
| import java.net.UnknownHostException; | |
| public class PingResponse { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.*; | |
| import java.net.*; | |
| public class WakeOnLan { | |
| public static final int PORT = 9; | |
| public static void main(String[] args) { | |
| if (args.length != 2) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package no.jckf.slplib; | |
| import java.io.*; | |
| import java.net.InetSocketAddress; | |
| import java.net.Socket; | |
| import java.net.SocketException; | |
| import java.nio.charset.Charset; | |
| public final class MinecraftServer { | |
| private String address = "localhost"; |