Your first week running a server for friends
You do not need to do everything on the first night. Here is a gentle week that ends with a server friends can use and you can trust.
Day 1: install and start
Install SpawnLoft, let the first-run check look for Java, then Add a server → Create a new one and keep Paper, the default. Press Start and wait for Done (…s)!. Join it from Minecraft with localhost. Getting started covers the details.
Day 2: look around
Open the tabs: Console, Plugins, Worlds, Backups, Settings. Change the MOTD and icon in Settings, as Customize your server shows. Type list in the console. You are just learning where things are.
Day 3: have friends over
If friends are on your network, they can join with your PC's local address. Play with friends on your home network walks through it, including the firewall step that causes most failures. Turn the whitelist on first.
Day 4: backups
Take one by hand and then schedule a nightly one in Schedule, as in Schedule restarts and backups. Add a second location if you have another drive. Read a backup you never tested is a guess.
Day 5: one plugin, safely
Open Plugins, search Modrinth and Hangar, and install one. SpawnLoft takes a snapshot first. Restart, and check the console for warnings. For anything bigger than one plugin, use a clone.
Day 6: let it look after itself
Add a morning restart that warns players, and turn on crash recovery. Add a Discord alert if you use Discord. Check how much RAM the server has.
Day 7: decide about friends elsewhere
If you want people outside your home to join, read Sharing your server and decide how, because it is a choice about exposure. Keep online mode on, keep the whitelist on, and if you forward a port, forward only the game port.
After the first week
You have a server that is backed up, restarts itself and tells you when it does not. From here, try a modpack, add a database or look at the features that are easy to miss.