Enabling Custom Icons
Enable the custom icon feature in yourconfig.yml:
true to enable the custom icon feature.
Icon File Location
The plugin looks for a file namedmaintenance-icon.png in the plugin’s data folder:
- Paper/Spigot:
plugins/Maintenance/maintenance-icon.png - BungeeCord:
plugins/Maintenance/maintenance-icon.png - Velocity:
plugins/maintenance/maintenance-icon.png - Sponge:
config/maintenance/maintenance-icon.png
Create your icon
Design a 64x64 PNG image for your maintenance icon. This could include text like “Maintenance”, a warning symbol, or any custom design.
Icon Requirements
Your server icon must meet these specifications:Image Format
- Format: PNG (Portable Network Graphics)
- File extension:
.png - Color depth: 24-bit RGB or 32-bit RGBA
Dimensions
- Width: 64 pixels
- Height: 64 pixels
- Aspect ratio: 1:1 (square)
File Size
- Recommended: Under 20 KB
- Maximum: No hard limit, but larger files increase network overhead
The Minecraft protocol encodes the icon as Base64, so extremely large files (>100 KB) may cause performance issues during server pings.
Icon Design Tips
Use Clear Imagery
The icon is displayed at only 64x64 pixels, so use simple, bold designs that are easy to recognize:- Large text (avoid small fonts)
- High contrast colors
- Simple shapes and symbols
- Minimal detail
Common Design Ideas
- ⚠️ Warning/caution symbol
- 🔧 Wrench or tools for “under construction”
- 🚧 Construction barrier
- 🔴 Red circle with “Maintenance” text
- 🛠️ Hammer and wrench crossed
Transparency Support
PNG alpha transparency is fully supported. You can create icons with:- Rounded corners
- Soft shadows
- Irregular shapes
- Partial transparency effects
Testing Your Icon
-
Enable maintenance mode:
- Refresh your server list (or remove and re-add the server)
- Check the icon - It should display your custom maintenance icon
-
Disable maintenance mode:
- Verify the icon returns to normal when maintenance is disabled
Troubleshooting
Icon Not Displaying
Check the file name:Icon Appears Corrupted
- Verify the image is exactly 64x64 pixels
- Ensure the file is a valid PNG format
- Try re-saving the image with a different tool
- Check that the file isn’t corrupted
Icon Doesn’t Change Back
- Disable maintenance mode:
/maintenance off - Reload the plugin:
/maintenance reload - Restart the server if issues persist
- Check that your server’s default icon (server-icon.png) exists
Platform-Specific Notes
BungeeCord/Velocity
On proxy servers, the maintenance icon is applied to the proxy’s server list ping response. All backend servers will show the same maintenance icon when the proxy is in maintenance mode.Spigot/Paper
The icon loads when the plugin initializes. If you change the icon file, reload the plugin to apply the new icon.Sponge
The icon path follows Sponge’s config directory structure (config/maintenance/ instead of plugins/Maintenance/).