Minecraft wiki entry for Server_startup_script, associated text: Edit the USERNAME and MCPATH -variables according to your setup. If you use a wrapper script, change INVOCATION to start it instead of starting the server directly.