title: How do I automatically restart a Minecraft Spigot server in the event of a crash or /stop when using screen?
body: <p>I use screen to run my minecraft spigot server on linux so that I can do other tasks at the same time on the same console.
  When using screen, all restart scripts described on the Internet and the <a href="https://www.spigotmc.org/wiki/spigot-installation/" rel="nofollow noreferrer">Spigot wiki</a> no longer worked. The "/restart" command never worked either.
  So how do I restart the server automatically after a short time if it crashes or I shut it down with "/stop" ingame?</p>