The server icon is the small picture next to your server's name in the Multiplayer list. To set it, upload a PNG named server-icon.png to your server's main folder and restart.

1. Make the image

The icon must meet all three of these rules or Minecraft ignores it:

RuleRequirement
SizeExactly 64 × 64 pixels
FormatA real PNG file
File nameExactly server-icon.png, all lowercase
  1. Open your image in an image editor such as Paint.NET, GIMP or Photopea.
  2. Crop it to a square, then resize it to 64 × 64 pixels.
  3. Export or "Save as" PNG. Don't just rename a .jpg to .png. The file has to actually be a PNG inside.
  4. Name it server-icon.png. On Windows, turn on file extensions in File Explorer to make sure it isn't really server-icon.png.png.

Transparent backgrounds work fine. Keep the design simple and bold, because it's shown very small.

2. Upload it

  1. Open the panel's file manager, or connect over SFTP.
  2. Go to your server's main folder, the same folder as server.properties. Not inside world or plugins.
  3. Upload server-icon.png. If there's already one there, replace it.
  4. Restart the server. The icon is only read when the server starts.

3. See it in game

Open Multiplayer and click Refresh. Minecraft caches icons, so if you still see the old one, remove the server from your list and add it again, or restart your game.

Icon not showing?

ProblemFix
Wrong sizeResize to exactly 64 × 64. Look for a warning about the server icon in the console at startup
Wrong name or folderCheck it's server-icon.png, lowercase, next to server.properties
Actually a JPG or WEBPRe-export it as PNG from an image editor
Old icon still showingRefresh, or remove and re-add the server in your list
You use a proxy (Velocity or BungeeCord)Put the icon on the proxy server, because that's what players connect to

Want different icons or animated MOTDs? Plugins like MiniMOTD (Paper) can rotate icons and messages. A plain server-icon.png is all you need for one fixed icon.