ImgMap

Logo

ImgMap: Render any image on an in-game map!

By Evangon, Maximvdw, and JohnnyBlu

Originally coming from a picture of a troll face by md_5, 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.

Installation

Just drop it into the /plugins/ folder! No special configuration needed!

How to use

  1. Give yourself a map with a specific ID. This ID can be anything, but remember, once you draw an image on it, it will pertain only to that specific ID!
  2. Get the URL of the desired image! This is where some people mess up. In order for the plugin to successfully render it, it has to be a direct link to the image. Simply right click on the image and hit "Copy Image Location".
  3. Hold the map with the super specific ID and type in "/drawimage" and paste it! For most users, to paste, you do "CTRL+V".
  4. Wait a bit; rendering can take a bit. You'll notice several segments appear on the map; this it indicating that it's loading. If nothing happens, you're either met with a message that says something along the lines of "Server Internal Error" or you're staring a blank map. If you get kicked with the message with "Server Internal Error", simply type, in console, "fixmap <your super specific id>". This basically fixes the map with the old over world rendering. Try again; if it doesn't work, report it in the comments! However, if you are getting nothing, be sure the image is accessible directly from your browser (clear your cache before you do so!) Sometimes, what happens is that the owner of the website has set privileges denying anyone from accessing the image directly. A bit bothersome, but you can probably save the image and upload it somewhere else. However, when doing so, please follow the copyright usage on said images!
  5. Viola! Your map now has that pretty picture of a kitty or something!

Commands

  • /drawimage <image url> Draws the specified image to the map you're holding. If you want to "save" the picture to the map, you add "-s" to the end of the command. The reason why "save" is written in quotations is because it doesn't actually save the map's picture; it simply saves the URL and it's corresponding ID to a flatfile and is loaded on start up.
  • /drawanimatedimage <gif url> Attempts to draw an animated gif image. A little buggy here and there, but it works for the most part! Please be warned that this takes up a lot of bandwith (You're sending anywhere between 0 to 16kilobytes nearly every second!) and that it also is resource intensive!
  • /drawytvideo <yt-ID> Experimental. Downloads a video and converts it to a GIF format. See /drawanimatedimage for more information as the same process is used.
  • /emulategb <rom name> Highly experimental. Emulates a GameBoy (only GameBoy, not GameBoy Advanced or GameBoy Color) game on a map. Fully integrated, no client mods needed! Click on the chat messages given in chat to control the emulator.
  • /emuaction <save|load|a|b|left|right|up|down|holdinput> Simulates input for emulated GameBoy games on a map. Used by the gamepad, you can also use it as a command if you wish. Note that "save" and "load" do not work as of current. Any input button just simulates input. "holdinput" makes the emulator act as if the person is holding down a directional button and directional only.
  • /clearmap With a map in hand, this command wipes the image off of it and puts the old Minecraft map rendering back.
  • /fixmap <id> A debug command, Caused an issue with a map that psudo-bans them? No worries! Simply get the ID of the problematic map, and type this command in, replacing <id> with the map's id. It's like /clearmap, only this time, you can target maps!
  • /getmap <id> More of a debug command, but can be helpful for some, it allows you to get a map by almost any ID. The reason why this is "almost" is because if you try to get a map that is above the number that exists, it merely just goes over and gets the next ID, rather than the one you want. This is something that's within Minecraft that I cannot fix.

Permissions

  • imgmap.*: Grants almost all rights to ImgMap. This does not include debug commands.
  • imgmap.debug: Grants debugging rights to ImgMap. Does not include drawing or restoring capabilities.
  • imgmap.drawimage: Allows you to draw an image to a map.
  • imgmap.drawanimatedimage: Allows you to draw an animated image to a map.
  • imgmap.clearmap: Allows you to clear a map and restores the overworld rendering.
  • imgmap.debug.fixmap: Debug command. Allows you to remove all renderers on a given map ID.
  • imgmap.debug.getmap: Debug command. Allows you to get a map by any ID.

Source for Developers/Contributors

Found a bug that you want to squash yourself? Go ahead and fork me! (Please don't actually stab me with a fork!) https://github.com/CirnoTheGenius/ImgMap-LosingPixels

Examples

Google Logo Cornell Box

Upcoming Feature

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

  • Avatar of FrauKoujiro FrauKoujiro Jun 22, 2015 at 16:16 UTC - 1 like

    @ChillerKraft: Go

    i tri so hrd. nd git so far butt en teh end it wuz al 4 notin

    It's been fixed :P

    Life is a turn-based game. Screw up a turn, you screw your life up. However, I have all the time to decide what to do. ZBDH31dc884cadcb444a4ff6e0588c91da56

  • Avatar of ChillerKraft ChillerKraft Jun 21, 2015 at 09:47 UTC - 0 likes

    can't tell if ImgMap-06092015-a or 06092015-b

  • Avatar of FrauKoujiro FrauKoujiro Jun 20, 2015 at 06:56 UTC - 0 likes

    @galaipa: Go

    If you're running the latest 1.8.x build, it's been removed. You can still get maps by IDs via /minecraft:give {player} filled_map 1 <id>

  • Avatar of galaipa galaipa Jun 17, 2015 at 14:12 UTC - 0 likes

    How Can we get the map? /getmap is unknown

    Thanks

    BFAK:90932546,4f1f058cabae34f22ba61a2a136054c7e645f2c092e528d1ee0926bdd313f099 Simple Rename

  • Avatar of FrauKoujiro FrauKoujiro Jun 10, 2015 at 04:17 UTC - 1 like

    Updated to 1.8, and unfortunately, temporarily dropped support for 1.7. Just awaiting approval. edit: It got rejected; the native library for videos will have to be downloaded elsewhere. edit2: Reuploaded without native library.

    Last edited Jun 10, 2015 by FrauKoujiro: submission #2
  • Avatar of LokeYourLord LokeYourLord May 29, 2015 at 12:32 UTC - 0 likes

    Same problem as RoeeLieber, does not work on 1.7.10 Cauldron, map stays normal as it was when it was generated. Tried several other plugins, same problem.

  • Avatar of ArtificialSkriptIntelligence ArtificialSkriptIntelligence May 13, 2015 at 15:43 UTC - 0 likes

    *Waiting for update*

    on born:
        while person alive:
            make person eat Kebab
    

    Requires skRealLife addon !

  • Avatar of josefcocuin josefcocuin Apr 19, 2015 at 12:00 UTC - 0 likes

    update for 1.8?¿?¿? the plugin is the best but my server is in 1.8

  • Avatar of nunphix nunphix Jan 04, 2015 at 19:34 UTC - 0 likes

    Any idea why this isnt working?

    [13:43:15] [Server thread/INFO]: [ImgMap] Enabling ImgMap v2 [13:43:15] [Server thread/INFO]: git-Spigot-d6b5ba7-606cf0e (MC: 1. [13:43:15] [Thread-13/WARN]: Exception in thread "Thread-13" [13:43:15] [Thread-13/WARN]: java.lang.NullPointerException [13:43:15] [Thread-13/WARN]: at com.tenko.ImgMap$1.run(ImgMap.java:105)

  • Avatar of lallaway12 lallaway12 Jan 01, 2015 at 09:56 UTC - 0 likes

    @RoeeLieber: Go

    I belive this is a result of cauldron overwriting all your blocks, have not tried on real 1.8 yet :P

Facts

Date created
Jul 21, 2012
Categories
Last update
Jun 10, 2015
Development stage
Release
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Curse link
ImgMap
Downloads
35,306
Recent files

Authors