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
imagesfolder
- downloads an image from the given URL into the
- /imagemap delete <filename>
- deletes an image from the
imagesfolder
- 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
imagesfolder
- 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.


-
View User Profile
-
Send Message
Posted Mar 16, 2014Hey Sydmontague.
This looks like a nice plugin but I am having some problems using it.
I do the following but doesnt seem to work for me I am doing something wrong but dont know what.
Stand on the ground and type /imagemap Tinalund01
Then it tells me to click on the left upper corner. I have tried this range from 10 block to 100 block but i gett this message:
"Can't place the the image here!"
What I am do need to do?
Pleased to hear
Riverdon
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Bobcat00
Yes, you need to restart the server in order to see the changed image. I'll look into adding some kind of reload command, but I just uploaded 0.3.1, so I don't want to push another update too soon...
If WorldEdit supports moving ItemFrames while keeping all of their data (items), it's like moving the images around. (Afaik it does not) Also, there is no performance hit in making a new instance of an existing image. It will reuse the maps if you have multiple instances of the same map. A fullHD picture will always use the same 135 maps, no matter who often you placed it in the world.
Fast mode can be activated by adding a "true" after the image file in the command. If you're creating a fastMode image of a already existing slowMode image it will override the slowmode image, making all instances of this image to fastMode. (This way you could also change a slowMode image into a fastMode one.)
However, I need to say that, even if the map_xx.dat files are not used by the plugin, they are created for every map I need to create. Therefore, they count towards the 2^16 limit, even if they aren't used by the plugin anymore. They just act like normal maps after that.
However, you could use over 400 different FullHD images and you would still have over 10000 maps left for your players.
-
View User Profile
-
Send Message
Posted Mar 15, 2014Thank you for your reply. I really like this plugin.
For changing an image, I mean having a new png file displayed. So all I need to do is replace the png file on the server. I guess I also need to restart the server? Perhaps there should be a command to reload the plugin.
For moving an image (I was thinking with WorldEdit's move command, would that work?), it sounds like deleting the old image and making a new one. And another FAQ entry if you make one would be how to switch between fast and normal modes.
I guess part of my confusion is I don't know the way Minecraft handles maps internally. I was worried the deleted maps would continue to count towards the 65535 limit. It sounds like there isn't anything to worry about.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Bobcat00
1. What do you mean with replacing an image? Making it to another image (with the same resolution) is simply replacing the file in your file system. Using space, taken by an existing image ingame will require you to destroy the existing item frames and run the /imagemap command again with your new image.
2. Simply by using the /imagemap command again. If you don't want the old image where it is, just destroy them like you would do with normal item frames. You could also retain the maps from the item frames and place them manually where you want them...
3. Remove the image file from your file system (or rename/move it). On startup the plugin will see, that the image is no longer avilable and will remove every entry. Deleting the map_XX.dat file is NOT required, as the plugin does not use them in any way. The image data is completly virtual and plugin maps will behave like normal maps without the plugin.
-
View User Profile
-
Send Message
Posted Mar 15, 2014I have a few questions. In fact, I think you should use these to start a FAQ page. ;-)
1. How do I replace an image?
2. How do I move an image to a new location?
3. How do I delete an image? (This should also cover deleting the associated map.dat files, too.)
4. Why are the image's colors wrong? (I already know this one. Include comments about Minecraft's fixed color palette.)
-
View User Profile
-
Send Message
Posted Mar 14, 2014@Bobcat00
I don't think that this matters a lot. The images are only rendered once and should not affect the performance. And while the images should be stored in RAM, I would doubt that they are compressed in any way, so that reducing the actual color palette would not reduce the memory footprint.
-> I don't think it would improve anything, except maybe the file size, if you convert the image.
-
View User Profile
-
Send Message
Posted Mar 14, 2014I've heard that the Minecraft client only supports a limited color palette for map images. Would it be better to convert the image to the Minecraft palette (whatever it is) first, or doesn't it matter?
-
View User Profile
-
Send Message
Posted Jan 24, 2014awesome plugin
good job !
-
View User Profile
-
Send Message
Posted Jan 23, 2014@FightManiac
To this page? Do you miss something special in the existing image?
-
View User Profile
-
Send Message
Posted Jan 23, 2014Can you add more pictures?
-
View User Profile
-
Send Message
Posted Jan 23, 2014nice !
-
View User Profile
-
Send Message
Posted Jan 20, 2014Good job!
-
View User Profile
-
Send Message
Posted Jan 10, 2014@Colioliolio
I have to thank for the report.^^
BukkitDev has a integrated donate button support - it's located in the upper left, over the search bar.
-
View User Profile
-
Send Message
Posted Jan 10, 2014Ill just do the work, its fine! Thanks for your input and fast replies! I really enjoy this plugin and it looks great to use, you should consider adding a donation button to the page as well ^.^
-
View User Profile
-
Send Message
Posted Jan 10, 2014@Colioliolio
If you don't want to wait for 0.2.1 to be approved, don't want the work to modify the maps.yml by hand and have no problem with placing all images again: yes.
I don't about how many images we're talking, so I don't know what would be the best in your case.
-
View User Profile
-
Send Message
Posted Jan 9, 2014So Basically would it be a good idea to go through and remove the maps.yml from the folder, as well as remove all maps on the server, and let the .jar load me a new maps.yml and restart from scratch just to be safe? :)
-
View User Profile
-
Send Message
Posted Jan 9, 2014@Colioliolio
I think I found the error. I uploaded a 0.2.1 update, and it's waiting to approved.
To fix this error by hand you could delete all entrys of maps without existing image in the maps.yml, as a bug that prevented them to be deleted, prevented the other maps to be loaded...
-
View User Profile
-
Send Message
Posted Jan 9, 2014We are using the latest version of CB, The only thing in the logs that i can find is when i removed a few maps i deleted there .jpg in the folder, then in the restart it said it couldnt find those pics which is obvious :) Yes the maps.yml is filling up with info properly, and when we take the maps in our hands they stay blank!
-
View User Profile
-
Send Message
Posted Jan 9, 2014@Colioliolio
That sounds really strange.
What CB Version are you using? Is there something in the serverlog, that might relate to the problem? Is there something in the maps.yml in the plugin's folder? When you take the map in your inventory, it it still blank?
-
View User Profile
-
Send Message
Posted Jan 8, 2014I had several Images posted around testing them, then we did our daily server restart, and after the restart none of the images seemed to "reload" they were just blank ^.^