-
-
Notifications
You must be signed in to change notification settings - Fork 102
Answers to frequently asked questions. Please check these before asking on Discord, Spigot, GitHub, or others!
You can use any publicly-accessible link from the internet that is a direct link to a PNG, JPG, JPEG or GIF file.
Some examples:
- this link, a direct link to an image, is valid: https://upload.wikimedia.org/wikipedia/commons/2/21/Acme_klein_bottle.jpg
- this link, a link to a Wikimedia Commons page for the image, is not, as it's a link to a webpage containing the image: https://commons.wikimedia.org/wiki/File:Acme_klein_bottle.jpg
- this link, a direct link to an image, is valid: https://i.imgur.com/MT0Ruv9.png
- this link, a link to the imgur webpage containing the image, is not: https://imgur.com/MT0Ruv9
If the /tomap
command errors with “The given URL is not a valid image”, you probably gave a wrong link, to something else than a image directly.
To check that, make sure there is no webpage around the image. You can also right-click the image you want and selecting “Copy image URL” (or similar) to get the direct link to the image in your clipboard.
This means ImageOnMap was unable to find an image at the URL you given. Double-check the spelling, and ensure the image still exist. If nothing work, you can try to re-host the file somewhere else—you can use imgur, for example.
When you import an image using /tomap
, ImageOnMap asks the image's host to get the file so it can display it on your Minecraft server. This error means the web server said “sorry but no, I will not give you this image”. That's not very nice.
Although we have added some workarounds to avoid this problem in common cases, ImageOnMap cannot force a web server to send the file if it is a bit stubborn. In this case, your only option is to re-host the image you want to send. You can use imgur, for example.
The same tip apply for any error message starting with HTTP error
, except for 404, as explained above.
Yes, but they won't animate.
To display big images on a server using maps, you'll have to place a lot of maps together on a wall, with a small part of the image on everyone of them. That's boring.
A splatter map will do that for you: it contains as many maps as needed to render the image you sent. To use them, place on a wall, a floor or a ceiling, as many item frames as needed (the amount required is written on the splatter map's tooltip), then place the map like any map on the bottom-left corner of the item frames. ImageOnMap will place all other maps for you.
To remove the whole poster at once, remove any map from it while sneaking.
Yes.
- If you want to resize the image so it fit in a single map, add
resize
at the end of the command:/tomap <url> resize
. - If you want the image to cover the whole frame, you have two options:
- you can stretch the image over the map (will distort it!) using
/tomap <url> resize-stretched
; - you can cover the whole map without distortion by zooming the image until no blank margin is left (will lose some borders of the image) using
/tomap <url> resize-covered
.
- you can stretch the image over the map (will distort it!) using
All of this is to resize the image to a single map. If you want to resize it to multiple maps, add the width and height at the end. As example, if you want to resize an image to a 4×2 blocs surface (width × height), ensuring the whole surface is covered without distortion, use /tomap <url> resize-covered 4 2
.
128px × 128px.
Sadly, Minecraft cannot render all colours. We are limited to a small subset of colours listed on this page. We try to approximate colors as best as we can but we're aware that's not always perfect.
The next version will feature dithering, a technical process to optimise the colours used to render map. That will enhance the overall quality of all images, including past ones.
Yes, if your permissions plugin allows to negate permissions (all of them probably support that). To prevent players to create new images, negate the imageonmap.new
permission. In most cases, give the -imageonmap.new
permission to do that.
ImageOnMap is open to every player by default because we want the plugin to be usable directly, even without a permissions plugin.