summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2020-05-08 16:03:32 +0800
committerGitHub <[email protected]>2020-05-08 16:03:32 +0800
commite62d1b52324cbcdef4c6c215417965236fe1cfec (patch)
treecf0138934c3a52411029c9f6d881cb2254b22441
parent929cdb3b20154e73c164c8ed7da7c1607fcc2a77 (diff)
Add examples for auto restart scripts.
Fix some formatting and grammer errors.
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index a6f4189..d7c252c 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,9 @@ Minecraft version: 1.14.4
## 2. Script for auto-restart after restoring
Due to the nature of JVM: the Java language's running environment, there is no elegant way to restart Minecraft server in a server plugin. In order to achieve auto restarting, the outer system-based script is required, i.e the script is a batch or a shell script.
-KBackup exit JVM with a special code `111` after successfully restored the level. The startup script just check the exit code and restart Minecraft server if the code is `111`.
+
+KBackup exit JVM with a special code `111` after restoring the level successfully. The startup script just check the exit code and restart Minecraft server if the code is `111`.
+
I will give examples for some popular operating systems. To use these scripts, you should replace your start.bat or start.sh script with given code lines.
### 2.1 Script for Windows