jpenilla / MiniMOTD

Minecraft server/proxy plugin to set the server list MOTD using MiniMessage for formatting, supporting RGB colors.
https://modrinth.com/plugin/minimotd
MIT License
286 stars 32 forks source link

[Bug Report] Images higher than 64x64 cause an exception #120

Open vlOd2 opened 1 year ago

vlOd2 commented 1 year ago

Describe the bug Images larger than 64x64 cause an exception at start up

To Reproduce Steps to reproduce the behavior:

  1. Place an image larger than 64x64 in the "icons" folder
  2. Use it in an MOTD
  3. Restart the server
  4. See error

Expected behavior The image should either be scaled or not loaded and an error or warning should be logged Additionally a note in the configuration file should be added to state that images larger than 64x64 are not supported

Server Software and Version:

jpenilla commented 8 months ago

Unable to reproduce, I get [11:50:45 WARN] [MiniMOTD]: Could not load sample-png-images-3.png: image must be 64x64px.