How do I make server?

Server? How do I make a server?

Once you have the server (.jar) follow this guide; same rules apply for papermc. (excluding BuildTools)
https://www.spigotmc.org/wiki/spigot-installation/