Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gekigek99 authored Aug 20, 2020
1 parent 76e6a86 commit b51e0a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ How to use:
### DEFINITIONS:
Commands to start and stop minecraft server:
```Python
#only text in parethesis needs to be modified
startMinecraftServerLin = "cd {PATH/TO/SERVERFOLDER}; screen -dmS minecraftServer java -Xmx1024M -Xms1024M -jar {server.jar} nogui"
# only text in parethesis needs to be modified
startMinecraftServerLin = "cd {PATH/TO/SERVERFOLDER}; screen -dmS minecraftServer java {-Xmx1024M} {-Xms1024M} -jar {server.jar} nogui"
stopMinecraftServerLin = "screen -S minecraftServer -X stuff 'stop\\n'"
startMinecraftServerWin = ["java", "{-Xmx1024M}", "{-Xms1024M}", "-jar", "{server.jar}", "nogui"]
startMinecraftServerWin = "java {-Xmx1024M} {-Xms1024M} -jar {server.jar} nogui"
stopMinecraftServerWin = "stop"
```
Personally I set up a systemctl minecraft server service (called "minecraft-server") therefore I use:
Expand Down

0 comments on commit b51e0a4

Please sign in to comment.