A minecraft server startup script that will restart the server if a crash accured and have Aikar's Flags for better performance.
The default server jar is "server.jar". You should download .bat file for windows, and .sh file for linux. The recomanded minecraft fork is PurpurMC, but you can also use paper.
Read https://github.com/YouHaveTrouble/minecraft-optimization for more server optimization.