Minecraft Server Launcher lets you have all your server(s) in one easy to use launcher on your Mac.
To get started, just use the installer from the Releases and start the app. The first time you launch it, you will be asked if you agree to the Minecraft EULA (https://account.mojang.com/documents/minecraft_eula). To create your first server, use the "New Server" button.
Just use the Launch server button and choose your server.
Use the Edit Server button and choose your server. An editing window will show up. The UIElement option can be used to make the server appear as a window but not on the dock. The change icon option can be used to change the icon on the dock. The NO GUI option lets you make the server launch in Terminal without a GUI.
You can use the the terminal to launch a server using -launch server_name. Example: open -a 'Minecraft Server Launcher' --args -launch 'My Server'
You can also edit a server using the command line with -edit. Example: open -a 'Minecraft Server Launcher' --args -edit 'My Server' changeVersion 1.17.1
You need to have launched the version you plan on using for your server at least once in the vanilla launcher because it loads the server class file from the vanilla client JAR file. It also gets the required class path from the JSON file. Because you cannot launch the server from the client JAR file directly on versions older than 1.13, it only supports 1.13 and newer. You do not need to have Java installed because it uses the version bundled with Minecraft (you do need to launch Minecraft 1.18 or newer at least once for it to download the right version of Java).
If you want to build this using Xcode, make sure to set the development team before building, or else it will fail.
The Log4j_patch folder contains the files for log4j 2.17.1. This is to fix the log4j security vulnerability.