ImageMaps
ImageMaps
ImageMaps is a plugin for Bukkit Minecraft servers that enables you to place custom images in your world by rendering them onto maps and placing them in item frames.
This can be used to create info graphics, custom paintings and even the appearance of custom textures.
Installation
You will need a Server that implements Bukkit 1.13 or newer and the Spigot-API. Some features are only available in newer releases. Make sure to use the latest release of your server software before reporting issues.
Put the plugin into your servers plugins
folder and start it up. A folder for the plugin will be created automatically. You can place your images in the images
folder inside it.
Upgrading from versions < 1.0.0
The plugin should convert your maps.yml automatically. It will attempt to create a backup before doing so, but it is recommended to do one manually as well.
Usage
In order for you use place images they must be present in the images
folder. You can either put them there via FTP or just copying it, or by using the plugin's download command, allowing you to access images from the Internet.
To place images just run the /imagemap place
command and right click the block that should be the upper left corner of the image (based on your perspective).
Images will by default split into 128x128 pixel sub-images to fit on a map. The image may be scaled via command parameters, however it is recommended to prepare correctly scaled images.
The color palette of Minecraft maps is very limited, requiring the plugin/Bukkit to convert the input image. This will result in your images looking different ingame than the source. The available color table can be found here: https://minecraft.gamepedia.com/Map_item_format#Color_table
The invisible and fixed item frame properties are only available in 1.16+. You can modify them for any item frame by using a configurable (default a wooden hoe) items. Right click to toggle visibility and Shift+Right click to toggle the fixed state.
Commands
- /imagemap place <filename> [frameInvisible] [frameFixed] [frameGlowing] [size]
- Starts the placement process
- frameVisible and frameFixed are only available on 1.16+
- frameGlowing is only available on 1.17+
- /imagemap download <filename> <sourceURL>
- downloads an image from the given URL into the
images
folder
- downloads an image from the given URL into the
- /imagemap delete <filename>
- deletes an image from the
images
folder
- deletes an image from the
- /imagemap info <filename>
- prints info, such as resolution and expected size
- /imagemap reload <filename>
- reloads an image, to be used when the image file changed
- /imagemap list [page]
- lists all images in the
images
folder
- lists all images in the
- /imagemap help [command]
- prints help for commands
Permissions
imagemaps.*
- grants access to all permissions
imagemaps.place
- grants access to /imagemap place command
imagemaps.download
- grants access to /download place command
imagemaps.delete
- grants access to /imagemap delete command
imagemaps.info
- grants access to /imagemap info command
imagemaps.list
- grants access to /imagemap list command
imagemaps.reload
- grants access to /imagemap reload command
imagemaps.help
- grants access to /imagemap help command
imagemaps.toggleFixed
- allows to toggle the "fixed" state of frames with a wooden hoe
imagemaps.toggleVisible
- allows to toggle the "visible" state of frames with a wooden hoe
All permissions are default true for OPs.
Maven
You will need to configure your environment to access GitHub repositories.
<repository>
<id>github</id>
<name>ImageMaps repository</name>
<url>https://maven.pkg.github.com/SydMontague/ImageMaps</url>
</repository>
<dependency>
<groupId>net.craftcitizen</groupId>
<artifactId>imagemaps</artifactId>
<version>1.0.1</version>
</dependency>
This plugin has been developed for the CraftCitizen survival Minecraft server.
In reply to SydMontague:
I don't ask for a new feature, just asking if it was possible.
I was using OnlinePictureFrame (Forge mod) before, but we moved to a Paper server since. I was using an external web server (that I own) to store all of the images. There is a ton of images, putting them in the server folder is a big no-no (I do backups of the entire server folder, imagine if I had to backup more than 50gb of pictures on top of the entire map)
In reply to The_Naeso:
It probably would be possible to modify the code to accept URLs instead of only file paths, but I wouldn't recommend it.
Especially if you already own the webserver it wouldn't make any sense to go for such a setup. If your only concern is backups, just exclude the folder from it.
And... if you have 50 GiB of images on maps you also got some other problems, that's about a million maps in a very conservative estimate, all of which the plugin would keep in memory...
i need help with this error ( name contain illegal character ) ? this is my discord ( Pep3M#5300 )
In reply to Pep3M:
It means the file path specified contains a character it is not allowed to contain. Make sure to just give it a plain file name.
I dont really get how the images generate. Is the map an actual map with a physical location? if so, what's the easiest way for me to find that location so that i can view the image for the map directly.
In reply to drag0nb0i38:
It renders them on the map directly via the Bukkit API and a backing image file. The Minecraft world itself is not involved.
Where do i put the imagemaps.* permission to allow my friends to use the commands without being opped?
In reply to shinnyii:
In your permissions plugin, e.g. LuckPerms.
can players who don't have op use this plugin?
In reply to cnisnotsad:
Yes, as long as you give them the necessary permissions using your permissions plugin, e.g. LuckPerms.
Everything is great but sadly once you get a little distance from the image, it no longer renders/disappears. Is this normal? Any fixes? Thx!
In reply to R4Y0RT3G4:
Increase the entity tracking range for Item Frames in your server configuration.
How can i destroy it in survival??
In reply to hehe69xd:
They're normal item frames, so hitting them.
Won't work for invulnerable item frames, those have to be made vulnerable using the wooden hoe or whatever you configured for it.
Can confirm the plugin works just fine on Spigot 1.18
when will this be updated to 1.18?
Hi im having trouble with the download command.
Whenever I try to input something it always says Malformatted URL.
It may just be that im understanding it wrong, but the command im entering is
/imagemap download Photo Photo.jpeg.
If im doing something wrong pls correct me.
(Im on minehut)
In reply to lioliolioliolioliolio:
The command is for example /imagemap download moo.jpg https://upload.wikimedia.org/wikipedia/commons/2/20/Cow_mooing_in_Karawanks,_Slovenia.jpg
The syntax is /imagemap download filename URL
Hi, idk exaclty what i've done but some how now i got floating imortal item frames with nothing on them. I'm playing in a aternos server in 1.16.5, help
I'm having the unfortunate issue where I use this on an Aternos server, and for some reason when I turn off and turn back on the server with an image perfectly loaded, it comes up with some garbled mess of an image, that seems to be of a map I previously loaded on a map before, but isn't even in my image files anymore? I'm so confused.