-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix server icons + add server icon to config #143
Conversation
Why did you remove the icon by default ? |
The previous path was the root "/icon" which is already kind of broken no? We also don't provide an image so it doesn't make sense to me to point to a path by default. |
Nope, It works. Did you never saw the icon ? |
It stopped working a while ago, but the path it checks for is "/icon.png" at the root. If you recreate the server to pumpkin.kralverde.dev, you will also see it has no icon. Minecraft client caches the icon too which might be where confusion is coming from. |
Not sure maybe your right. So what would be a good way to get the icon from the current file. I was may thinking implementing something similar like in my game engine: https://github.com/ventengine/Vent-Engine/blob/master/crates/vent-assets/src/io/file.rs#L6 |
What's the icon file it should be? |
oh please man, we don't need a separate file for this one |
Looks good to me now. |
This PR adds to config option to set the path to the server favicon