Closed XtoManuel closed 2 months ago
please send where in the config you put the %servericon% variable, as you may have entered it in the incorrect section, or with a syntax error.
if we can't get that to work, please send the IP of the server so we can test it ourselves.
I currently have the server closed, so the information cannot be obtained currently.
#The Multi Player Event
[multi_player]
#Enable/Disable the Multi Player Event
enabled = true
#The first line of text under the app name
description = "%servername%"
#The second line of text under the app name
state = "%players% jugador(es) online"
#The Asset ID of the image to display as the large image
largeImageKey = ["%servericon%"]
#The text that gets displayed when the large image is hovered
largeImageText = "%servericon%" #"%mcinfo% | %mods% mods"
#The Asset ID of the image to display as the small image
smallImageKey = ["%playerhead%"]
#The text that gets displayed when the small image is hovered
smallImageText = "%player%"
#The buttons to display on Discord
buttons = []
okay so you used largeImageText to spit out the URL for us. smart. so you know the URL is correct for sure then.
send your latest.log to see if any code had complained to us at runtime.
Visiting the URL shown in the image, it returns this icon for that IP address.
So
A) Their services are having issues connecting to your server to retrieve the icon B) The image was cached, and is taking a while to update.
A is normally a problem on "local" servers that cannot be accessed across the internet, or servers in general that cannot be accessed across the internet. It could also be a port problem.
Either way, it comes down to an issue with a third party service, since we just pass the information to them, and they do the rest
latest.log No error appears in the console, or anything related to this.
I'm closing this thread, since I've verified that with the latest versions, it's working correctly.
Describe the bug Reviewing the documentation I found an error:
%server%
shows the server IP replacing the . with _%servericon%
is the variable that contains the icon informationTo Reproduce Steps to reproduce the behavior:
%servericon%
Expected behavior I have verified that %servericon% obtains the server icon correctly, verifying that the url returns the image, but it is not loaded in the RPC.
Versions (DO NOT USE LATEST! BE SPECIFIC!):