ImgMap

Logo

Status: In Beta

ImgMap is an extension to Minecraft Maps that allows any website image to be rendered on a map!

Original Idea came from md_5 (whose idea I do not claim) and his wonderful troll face: http://forums.bukkit.org/threads/why-the-map-api-is-awesome.85195/

In full description, this plugin allows a user with a map in hand (obviously with the proper permissions) to essentially put an image onto the map. The image could be anything: Instructions, rules, messages, warnings, a very nice picture of a cat, whatever you want! All images are resized to the proper dimension of 128x128. The image is then sent over to a rendering process (Devs: Check the source on how it's done if you want), which then the map renders the image for that map. Anyone with a map with the same ID (Typically, it says when you hover over it, e.g "Map #0") to see the same image too! The only downside to all of this is that due to the nature of Minecraft maps, they do not support full color. This is due to a limitation on the clients themselves.

Noob How-To

Step 1 > Get a map. One may either craft a new map or one may spawn one using commands. The ID for a map is 358 and the data value defines the specific map. For example, use /i 358:49 1 to spawn 1 of map 49.

Step 2 > Get URL of desired image. Get the URL which points to your image from your browser. If your image is on your computer and not on the internet yet, drag it into http://imgur.com/ to upload it then copy the URL.

Step 3 > Put pretty image onto map. Hold the chosen map in hand and type in this command followed by the URL to your image: /map http://...

Step 4 > ???

Step 5 > Profit!

There's a lot more one can do using this fantastic plugin, read on for slideshows and animated maps!

Known Bug

  • Ghosting bars.

Features

So far, ImgMap supports the following (NOTE: This plugin is under heavy re-write, so features are volatile):

  • Any image (assuming that the file returns a Content-type of "image", non-tech savvy people, this reads as essentially any image, with the exception of a few.)
  • Slideshow feature

Planned Features

  • Many features are planned.

Commands

  • /map <url> - Maps the image.
  • /smap <time in seconds> <url1> [url2] [url3]... - Renders a slideshow of the given images.
  • /rmap (/restoremap) - Restores a map.
  • /imgmap (/imap) - Outputs the version and plugin name.

Permissions

  • imgmap.cmd.map - /map
  • imgmap.cmd.slideshow - /smap
  • imgmap.cmd.restoremap - /rmap (/restoremap)
  • imgmap.cmd.imgmap - /imgmap (/imap)

Examples

Google Logo Cornell Box

Volatile, Constantly Updating Source (LosingPixels)

https://github.com/CirnoTheGenius/ImgMap-LosingPixels

Pull n' Push *

https://github.com/CirnoTheGenius/ImgMap-LosingPixels/tree/community

  • Pull n' Push was a suggestion by evilham, where this repository is used to provide users to push new features and/or bug fixes without pushing them to the main LosingPixels branch.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of OtterTrotter OtterTrotter Apr 17, 2013 at 06:48 UTC - 0 likes

    Getting the following error on startup with spigot 794, imgmap V2B.1

    2013-04-17 08:50:41 [SEVERE] Exception in thread "Thread-20" 2013-04-17 08:50:41 [SEVERE] java.lang.NullPointerException 2013-04-17 08:50:41 [SEVERE] at com.tenko.ImgMap$1.run(ImgMap.java:105)

  • Avatar of rangewonk rangewonk Apr 16, 2013 at 20:33 UTC - 1 like

    The images reset every time the server restarts. So it kinda ruins the plugin.

    http://i41.tinypic.com/8xo64l.jpg

  • Avatar of nejcneo nejcneo Apr 16, 2013 at 13:50 UTC - 0 likes

    @poiNt3D And about "picture" how will this look /give user 395:google.com lol ? You can give them number of item NOT advanced map like this

  • Avatar of Icefuzion Icefuzion Apr 16, 2013 at 12:49 UTC - 0 likes

    The maps aren't being saved after a server restart. Is this intentional? Can you make it so it does stay?

    Edit: getting this error in console when starting the server with ImgMap:

    2013-04-16 13:03:52 [INFO] [ImgMap] Enabling ImgMap v2
    2013-04-16 13:03:52 [INFO] git-Bukkit-1.4.7-R1.0-94-g141dcf0-b2735jnks (MC: 1.5.1)
    2013-04-16 13:03:52 [SEVERE] Exception in thread "Thread-28"
    2013-04-16 13:03:52 [SEVERE] java.lang.NullPointerException
    2013-04-16 13:03:52 [SEVERE]     at com.tenko.ImgMap$1.run(ImgMap.java:105)

    Last edited Apr 16, 2013 by Icefuzion

    http://minestatus.net/39723-fuzioncraft/image/original.png

  • Avatar of poiNt3D poiNt3D Apr 16, 2013 at 03:13 UTC - 0 likes

    @nejcneo: Go

    You can use another plugin for this.

  • Avatar of nejcneo nejcneo Apr 15, 2013 at 22:15 UTC - 0 likes

    Can you add option, when player join for frist time. Get Map in Inventory (Using it for rules)

  • Avatar of Antiman9 Antiman9 Apr 15, 2013 at 15:18 UTC - 0 likes

    @OtterTrotter: Go

    Update to latest build, be sure to put -p AFTER the url, and make sure the plugin directory "IMGMAP" has proper write permissions. If this doesn't work then without a server log I can't help you.

    ImgMap V2B.1

    if you had checked the newest update you wouldn't have this issue. "v2B.1: Started compiling for 1.5.1 Beta build. Fixed bug due to stupidity pertaining to persistent single-image maps. Implemented a disabled animation feature."

    Last edited Apr 15, 2013 by Antiman9
  • Avatar of OtterTrotter OtterTrotter Apr 15, 2013 at 03:43 UTC - 0 likes

    Tried -p, didnt even work, not even my last map made was kept.

  • Avatar of harryjamesuk harryjamesuk Apr 13, 2013 at 20:48 UTC - 0 likes

    Could you maybe do commands like:

    /viewmap <MAP NAME> /addmap <MAP NAME> /maplist /delmap <MAP NAME>

    Would be pretty cool if users could see certain maps other users have made!

  • Avatar of CollinDesigns CollinDesigns Apr 13, 2013 at 17:58 UTC - 0 likes

    the /map url -p only seems to work for last one you do. (lastest version) I did multiple ones and after reboot it only shows last one I did, rest is default again.....pfff :(

    Last edited Apr 14, 2013 by CollinDesigns

Facts

Date created
Jul 21, 2012
Categories
Last update
Apr 12, 2013
Development stage
Release
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Curse link
ImgMap
Downloads
6,791
Recent files

Authors