ImageOnMap
Have you ever wanted to view an image on a map ingame? ImageOnMap allows you to do it! (Inspired by ImgMap)
Features
ImageOnMap allows you to load a picture from the Internet to a Minecraft map.
- Loads an image from a URL onto a map. PNG, JPEG and GIF are supported.
- These images will be saved on your server and reloaded at restart.
- Big pictures will be cut automatically into several parts! As example, a 1024x1024 picture will be cut in 16 maps.
- Your image will be centered.
- You can put your map in an item frame.
This plugin is a free software lisensed under the GNU General Public License (version 3 or above). The source code is published on GitHub.
The latest version is only compatible with Minecraft 1.15+.
- For Minecraft 1.13 and 1.14, use 4.0-pre1.
- For older versions, please use ImageOnMap 3.1 (warning: unchecked by the BukkitDev staff—if you're unsure, use 3.0 here in BukkitDev, it's the same but without permissions).
Support and bug requests
If you need help with ImageOnMap, the preferred way is our Discord server. We speak English and French. You should read the FAQ first!
If you want to report a bug or suggest features, by far the best option for us is GitHub issues, which you should use whenever possible. If you absolutely can't use GitHub, use the support options above.
We're a team behind ImageOnMap (and others), and private messages from Spigot can only be read by one person. So you should not send help requests, suggestions or bug reports using Spigot or BukkitDev PMs. Any PM received after June 28, 2020 with any of these topics will be ignored.
Quick guide
- Ensure that you have a free slot in your inventory, as ImageOnMap will give you a map.
- Type /tomap URL, where URL is a link to the picture you want to render (see the section below).
- Enjoy your picture! You can place it in an item frame to make a nice poster if you want.
German speakers, you can watch this video (thanks to StarlessMiner)
English speakers? (thanks to Arma)
Another tutorial in English (thanks to ltjim007)
Commands and Permissions
/tomap <url>
Renders an image and gives a map to the player with it.
- This command can only be used by a player.
- The link must be complete, do not forget that the chat limit is 240 characters.
- You can use an URL shortener like tinyURL or bitly.
- If you want a picture in one map, type resize after the link.
- If you want to resize to multiple maps, add the witth and height after resize: e.g. /tomap url resize 2 4
- You can change the scaling method by replacing the resize keyword in the /tomap command by:
- resize-stretched to stretch the image to the surface (the image could be distorted); or
- resize-covered to ensure the image covers the whole surface (the image will never be distorted, but some parts may be lost near the borders).
- Permission: imageonmap.new (or imageonmap.userender—legacy, but will be kept in the plugin).
/maps
Opens a GUI to see, retrieve and manage the user's maps.
- This command can only be used by a player.
- Opens a GUI listing all the maps in a paginated view.
- A book is displayed too to see some usage statistics (maps created, quotas).
- A user can retrieve a map by left-clicking it, or manage it by right-clicking.
- Maps can be renamed (for organization), deleted (but they won't render in-game anymore!), or partially retrieved (for posters maps containing more than one map).
- Permission: imageonmap.list, plus imageonmap.get, imageonmap.rename and imageonmap.delete for actions into the GUI.
/maptool <new|list|get|delete|explore|migrate>
Main command to manage the maps. The less used in everyday usage, too.
- The commands names are pretty obvious.
- /maptool new is an alias of /tomap.
- /maptool explore is an alias of /maps.
- /maptool migrate migrates the old maps when you upgrade from IoM <= 2.7 to IoM 3.0. You HAVE TO execute this command to retrieve all maps when you do such a migration.
- Permissions:
- imageonmap.new for /maptool new;
- imageonmap.list for both /maptool list and /maptool explore;
- imageonmap.get for /maptool get;
- imageonmap.delete for /maptool delete;
- imageonmap.administrative for /maptool migrate.
About the permissions
All permissions are by default granted to everyone, with the exception of imageonmap.administrative. We believe that in most cases, servers administrators want to give the availability to create images on maps to every player.
Negate a permission using a plugin manager to remove it, if you want to restrict this possibility to a set of users.
You can grant imageonmap.* to users, as this permission is a shortcut for all user permissions (excluding imageonmap.administrative).
Configuration
# Plugin language. Empty: system language.
# Available: en_US (default, fallback) and fr_FR.
lang:
# Allows collection of anonymous statistics on plugin environment and usage
# The statistics are publicly visible here: https://bstats.org/plugin/bukkit/ImageOnMap
collect-data: true
# Images rendered on maps consume Minecraft maps ID, and there are only 32 767 of them.
# You can limit the maximum number of maps a player, or the whole server, can use with ImageOnMap.
# 0 means unlimited.
map-global-limit: 0
map-player-limit: 0
Changelog
3.0
The 3.0 release is a complete rewrite of the original ImageOnMap plugin, now based on zLib, which adds many features and fixes many bugs.
This new version is not compatible with the older ones, so your older maps will not be loaded. Run the/maptool migrate command (as op or in the console) in order to get them back in this new version.
You will find amongst the new features:
- New Splatter maps, making it easy to deploy and remove big posters in one click!
- No more item tags when maps are put in item frames!
- Internationalization support (only french and English are supported, for now; contributions are welcome)
- Map Quotas (for players and the whole server)
- A new map Manager (based on an inventory interface), to list, rename, get and delete your maps
- Improvements on the commands system (integrated help and autocompletion)
- Asynchronous maps rendering (your server won't freeze anymore when rendering big maps, and you can queue multiple map renderings !)
- UUID management (which requires to run /maptool migrate)
3.1
- Fixed permissions support by adding a full set of permissions for every action of the plugin.
4.0 pre-release 1
- Added 1.13.2 and 1.14 compatibility
- Dropped compatibility with 1.12 and lower
- Improved some UIs
- Added support for images' resize to a specific size: you can do /tomap https://url/image.png resize 2 2 to get a 2×2 frames image.
- Status messages are sent in the action bar instead of the chat
- Added back statistics (you can opt-out in plugins/bStats/config.yml)
- Added an update checker
4.0 pre-release 2
- 1.15 compatibility (now building against a 1.15-compatible zLib version).
- This version is only compatible with Minecraft 1.15 and later—for older Minecraft versions, please use 4.0-pre1 or older.
- Improved some translations in French (thanks to Gabriel C.).
4.0
- You can now place a map on the ground or on a ceiling.
- Languages with non-english characters now display correctly (fixed UTF-8 encoding bug).
- Splatter maps no longer throw an exception when placed.
- When a player place a splatter map, other players in the same area see it entirely, including the bottom-left corner.
- Added Russian and German translations (thx to Danechek and squeezer).
Data collection
We use bStats to collect basic data about the usage of this plugin*. This can be disabled in the plugins/bStats/config.yml file.
@Slipswhitley
I would like to know what your definition of "updating a plugin" is.
If it is just building it against a newer version of Bukkit, then yes, it only requires less than a minute of building. But what for ? Building against a newer version of the API without changing anything in the code gives you nothing.
It's actually worse : it gives to your users the impression that your codes uses the features of the new API (such as player's UUIDs), while it actually does not (as you didn't update the code).
The only reason this could be needed is if the API is not backward compatible. But this is not the case of Bukkit nor Spigot : as an example, the 2.7 version of this plugin works perfectly on the 1.8.x versions of Bukkit and Spigot, although it has been built for 1.7.2.
For me, updating a plugin is adding features, fixing bugs, and optimizing things. It can also be reorganizing the code intrenally, to make it clearer and more scalable. Version 3.0 will have all of this, and it will take time if we want to make something good.
So, please tell me, why do you want an update in 10 minutes ? Do you have any issues running the 2.7 version on recent versions of CraftBukkit or Spigot ?
@ProkopyL
Where does this standard for developers having to spend lots of time to update something come from? Updating a plugin only requires about 10 minutes of building and 10 minutes of testing. So finding time is incredibly simple yet this hasn't actually been updated since 1.7.2.
To everyone asking : yes the plugin will continue !
Mooribus doesn't have time anymore to keep working on it, so he asked me to help him keeping it alive.
We are currently working on a 3.0 version, with a lot of internal rewrites, UUID support, various optimizations, and much more. Unless something bad happens, it should be available in one or two months. :)
However, if you have issues with the current 2.7 version, we encourage you to declare bugs over on the project's GitHub page (https://github.com/Coutume/ImageOnMap/issues). Depending on the severity of the reported issues, we might release a 2.8 version fixing these , so you won't have to wait for the full 3.0 version.
Appears to be a dead plugin. Have coded my own version with relatively the same aspects. Built against Spigot 1.8.1 but will work on all versions of Bukkit. http://dev.bukkit.org/bukkit-plugins/sketchmap/
I'd also like to see this plugin continue. I've only just discovered it and it's absolutely fantastic! Don't know why more servers aren't using this. Wouldn't want to see such a marvel die!
I was wondering if this project will be continued :)
@Mooribus
I think it is, because when I see the "Image" folder inside the "ImageOnMap" folder, the image that I wanted to place it's in there, take a look: http://i.imgur.com/VIJhSKo.png
@SammyTheGamerPZ
Is the link to your image is valid ?
Hi, I have a problem, when I upload an image the plugin says: "render finished", but i can´t see the image, I just see this: http://i.imgur.com/11W0whJ.png
@DifferentCraft
Any Chance i can get a respond ? If this plugin is dead it would be nice if you marked it as that....
Hi!
I have found a huge bug in this plugin! So basicly i allow my Donators to use this plugin and one of them got a image witch was 5000x5000. When the server tried to get the image it nearly crashed the server. it was at least 20 seconds of lag. Is there away to make the render go really really slow so it does not lag the server?
Please keep in mind im also running a dedicated server so i cant think what it would be like on a shared host! Please fix this asap. i cant have my donators crashing the server!
My server in the nights gets 20 - 40 players
Hm... Is it compatibile with Cauldron 1.7.2? Works pretty strange...
Anyone know how to remove the names off the maps?
@XeonG8
hi, im using imageonmap thogether with http://dev.bukkit.org/bukkit-plugins/rcsmap/ for maploading.. works like a charm.
have the pictures of my subway net on frames displayed in allmost any trainstation (6x6 frames per station), and some other helpfull stuff.
REALLY love this plugin :)
noticed a few other plugins that use this plugin
but it really needs fast map sending
Hey, I did a video on this bukkit plugin at: http://youtu.be/ZmgKCZS6oeY
@Liger_XT5
I'm not a developer or anything of this plugin, but I think I've found the "golden ratio" for this plugin. It seems to break the images up into 128*128 chunks, so a 1024*1024 image based on that would give out (1024/128)*(1024/8) pieces so 8*8 == 64. I've not tested this extensively but based on my initial tests I made a 2*6 frame wall with a 256*768px image. I hope this helps.
Plugin still works, but there is an issue. I created a png file in Paint for a test idea I was doing on the server. I suspected it would break up into 16 maps, as stated in the description above, instead I got a message stating 39 maps could not fit in my inventory.
Shouldn't be that many, let alone, why such an odd number? I also didn't see anything in my inventory at the time either.
Please update to 1.7.9, if needed!
This plugin is Amazing! I never knew this was possible! Great job!