Hello My Name is DyN I have A Pocket mine Server (MCPE)that's been running for 4 months know , I reset all and I have forget how to make your server restart on its own When it restarts , If your confused this is why I mean : When your server said "Server Restarted" And you come back and tried to join but it won't restart back to its own. How do I do that? Config.yml Here please tell which one that can make your server go online again when it restarts. #Configuration file for RestartMe v1.2.0 broadcastInterval: 1200 #Sets the interval of the countdown before broadcast, in seconds broadcastMessage: "§eServer will restart in {RESTART_FORMAT_TIME}." #Sets the message format, will broadcast at the intervals set in broadcastInterval countdownMessage: "Server restarting in {RESTART_TIME}..." #Sets the message format, will broadcast during countdown displayType: chat #Sets how players get the countdown message, three options: chat, popup, tip memoryLimit: 1200M #Sets the max memory that can be allocated before server restarts due to overload #B = byte; K = kilobyte; M = megabyte; G = gigabyte; T = terabyte overloadQuitMessage: "§eServer restarted due to overload." #Sets the message sent to a player when they are kicked because of a memory overload quitMessage: "§aServer restarted." #Sets the message sent to a player when they are kicked because of a server restart restartInterval: 10 #Sets the interval of the server restart, in minutes restartOnOverload: true #Set to true to allow server restarts when the server's memory is overloaded startCountdown: 03 #Sets the time when to initiate a countdown, n seconds from restarting
Please give me a link on how to make change my RestartMe files so when it restarts , It turns the online again.
No. In the start.sh file there's a line that says DO_LOOP=no. You have to change "no" to "yes". This makes the server turn on automatically, after it stops. It might not work then. RestartMe depends on setting the start file to automatically start the server when ever it crashes or stops. In reality, RestartMe just stops the server at set times. PocketMine itself takes care of the rest. If there is no start file to edit, then it most likely just won't work. Although I do highly not recommend running a server on Android anyways. The Android OS (and devices) simply aren't made for it.
Why modify the start.sh? Just start the server with Code: ./start.sh -l Android runs on a Linux kernel too. Download some PHP binaries built for Android's architecture, save them in your terminal emulator's directory (somewhere under /data/data because you can't chmod +x files on the SD card in Android), and run the server in the server directory with both -l and -p options, where -p is the option for PHP binary path. For example: Code: ./start.sh -l -p="/data/data/com.termux/php/php" if the executable in your PHP installation is located at /data/data/com.termux/php/php, vice versa otherwise.
You don't need root to do it. You can download binaries to /data/data directly and execute the binaries there directly.