The requirements
Minecraft is strict about the file:
- Exactly 64 by 64 pixels
- PNG format, not a JPG renamed to .png
- Named server-icon.png, all lowercase
- Placed in the server root folder, next to server.properties
Adding it
Resize your logo to 64x64 in any image editor, export it as PNG, and upload it to the root folder through the file manager or SFTP. Restart the server. Clients refresh the icon the next time they load the server list.
Design for the small size: a bold symbol or one or two letters reads better than a detailed logo. Transparent backgrounds work.
When the icon does not show
Check the file name and location first, then the size; a 65x64 or 128x128 file is ignored. Some image tools save a PNG with odd colour profiles that Java cannot read, so re-export with a different tool if the size is right. Finally, refresh the list in the game, as the client caches server icons.
Plugins such as MiniMOTD can also serve icons, and will override the file if configured to.