User Tools

Site Tools


minecraft

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
minecraft [2019/05/06 23:19] jnilssonminecraft [2019/05/14 16:30] (current) justip6
Line 23: Line 23:
   * ''**spigot-build.sh [version]**'' - rebuild the spigot.jar, optionally to a specified version number   * ''**spigot-build.sh [version]**'' - rebuild the spigot.jar, optionally to a specified version number
   * ''**start-mc.sh [port]**'' - start a new minecraft server instance on a random port, or the optionally specified port   * ''**start-mc.sh [port]**'' - start a new minecraft server instance on a random port, or the optionally specified port
 +
  
  
Line 28: Line 29:
  
 When the start-mc.sh script starts a minecraft instance, it runs it in a screen so you can connect to the server console later to check it or to give it the "stop" command When the start-mc.sh script starts a minecraft instance, it runs it in a screen so you can connect to the server console later to check it or to give it the "stop" command
 +
 +Send server to background without shutting down the server
 +  * Simply exiting the terminal window or putty session
 +  * ''Ctrl+a'' then ''d'' (Press ctrl+a, let go, then press d)
  
 screen names will be of the format "''mc-<port>''" screen names will be of the format "''mc-<port>''"
Line 111: Line 116:
 If you know which port you want to use, you can specify it on the command line. Keep in mind, it must be a valid port in the range defined above. For example, if I want to start a new instance on port 25570, I would use this command: If you know which port you want to use, you can specify it on the command line. Keep in mind, it must be a valid port in the range defined above. For example, if I want to start a new instance on port 25570, I would use this command:
 <code>start-mc.sh 25570</code> <code>start-mc.sh 25570</code>
 +
 +
  
  
Line 162: Line 169:
 mv /usr/local/mc-research/25570 ~/archive/20190506-jnilsson-exp1 mv /usr/local/mc-research/25570 ~/archive/20190506-jnilsson-exp1
 </code> </code>
 +
 +=== If you accidentally type ''screen'' without any arguments ===
 +Screen will tell you at the bottom of the terminal: [Press Space or Return to end.]
 +
 +Do so, and when the terminal clears, type exit
minecraft.1557184767.txt.gz · Last modified: 2019/05/06 23:19 by jnilsson