HeadMap
About HeadMap
This plugin allows players to create maps with pictures of their heads. Just place a player head and map in a craft box. This works great with the TrophyHeads plugin.
Craft face maps like this:
Craft body maps like this:
Features
- Players can craft a head map with just a head and a map. (Shapeless)
- Players can craft a body map with just a head and 4 pieces of paper. (Shaped)
- Players can create a head map with the /hmcreate command. (Requires permissions).
- Players can create an image map with /hmcreate command. (Requires permissions).
- This plugin does not edit chunks or blocks. It utilizes the CrafftBukkit API to place images on maps.
- Connects to Mojang Skin API server to download player skins and cache them.
How to install
Just drop the jar file in your plugins directory and restart your server. Update config.yml as needed. Update permissions.
Permissions
headmap.create - Allows players to use the /hmcreate command. (Default: op)
headmap.face - Allows players to craft head maps. (Default: true)
headmap.body - Allows players to craft body maps. (Default: true)
Configuration
See config.yml
Commands
Spawn a head map.
/hmcreate ([player | image])
Spawn a body map.
/hmcreate ([player]) body
Spawn an image map. The image must exist in the HeadMap/images/ folder. (png, jpg or gif)
/hmcreate sample.png
Spawn a bunch of images from a folder. (Place folder in HeadMap/images/ folder)
/hmcreate <folder name> folder
If you have a folder named plugins/HeadMap/images/bannerfolder then do this:
/hmcreate bannerfolder folder
Source
See github.
Dev Builds
See Jenkins.
Known Issues
- The colors are not 100% accurate. This is a Minecraft limitation.
- Images larger than 128x128 may cause lag. The plugin will resize images down to 128x128. It is recommended that you resize them manually before using them with this plugin.
Addons
Change Log
- v1.0-12 - May 5, 2015
- Null pointer fix.
- v0.0.11 - March 29, 2014
- Fix recipes
- v0.0.9 - January 12, 2014
- Add folder option
- Properly add map to inventory instead of replacing item in hand.
- Remove mob option. (Use MHF_ names instead)
- Include helmet in face render
- v0.0.6 - August 20, 2013
- Add mob skulls
- Fix NPE (sometimes when player quits)
- v0.0.5 - February 20, 2013
- Fix class casting exception (onPlayerQuit)
- Fix NPE (when loading invalid maps) and remove them from maps.txt
- v0.0.4 - February 17, 2013
- Added permission nodes
- v0.0.3 - February 16, 2013
- Added body maps. (Use one head and four pieces of paper)
- Added the ability to map any image. (/hmcreate image.png)
- v0.0.2 - February 11, 2013
- Cleanup maps.txt when users burn them or they despawn.
- Add default skin for when unable to download from Mojang site.
- Don't error when maps.txt is missing. (First run)
- v0.0.1 - February 10, 2013
- Initial version
I have a small problem, the plugin seems to spawn the maps well but neither i or the players are able to craft neither the head or the body. I've verified the permissions and it all seems to be fine Any way to fix this?
@_Magno20_
Yeah I recommend always resizing the images to 128x128 before trying to use them with HeadMap. The video is nice. The only feature that seems to be missing is the banner feature. You can create banners by specifying a folder name with "/hmcreate <folder name> folder".
Okay! Thank you for replying back and using my video ! I hope I went over the main parts of the plugin (sorry if I missed any out)! With the images going blank it only happens to certain pictures when the server is stopped and then start back up. I think it's to do with image sizes. I put the image in that was 128 x 128 and it seems fine with no problems! Some large pictures seem fine that arnt that size which seems strange. Good plugin ! Hope to here back from you soon!
@Chalkie19
Try the latest dev build at http://cn.revisited.us:8081/job/HeadMap/5/.
@Chalkie19
I'll see what I can do. Thanks for the helpful link.
Hey cnaude,
Is is possible to change how the images a rendered? I seems a few of them only render a few lines then stop and don't update until that map is in your inventory. Maybe this would help? http://forums.bukkit.org/threads/manipulating-maps.86635/#post-1217020
@_Magno20_
That happens sometimes. I believe it is just an issue with Minecraft itself. if that happens again look at your server.log and see if there are errors.
I made a you tube basic video of this plugin : http://www.youtube.com/watch?v=9BocXep6xzE
with custom images some of them when I restart the server they go blank or dont load correctly. is there anyway to fix that?
@bagheadinc
PM sent with a test version.
@cnaude
Here's a sample of one of my players with a head accessory... http://s3.amazonaws.com/MinecraftSkins/Bremn.png
And here's an image that diagrams exactly which parts of the skin go where... http://i.imgur.com/uNl5Xag.png
Also, thanks for taking the time to follow up on this :)
@bagheadinc
Do you have a sample skin.png file that I can use?
Wonderful plugin, working great on my server. :)
Any chance that in a future update skin hats can be included when making maps? Several of my players are unhappy because their HeadMap doesn't show their hat/helmet. If not, I can make custom image maps for those players (love the custom image feature :D ). Thanks.
@cnaude
This is one of the best plugins!
@cnaude
1.6.4r0.1 - dev build #2904. I dont believe anything's changed in the map API.. Are you using OBC/NMS methods? If so, I cant tell. No errors happen in console or anything.
Edit: Scratch all that. I deleted the maps.txt file and all copies of my custom maps. Then restarted the server and made them all again. Works fine now. Weird.
Edit Again: Ok, I figured it out. If there are ANY copies of the pictures in someone's inventory (possibly chests too, didnt test) then only the people that ever hold it will load it. If you delete all copies then everyone is able to see them in the item frame.
Edit Again (again): I know this is quite a bit away in the future still, but just wanted to throw this idea out there. We spoke of the change that comes with 1.7 and you said you'd compensate by drawing a frame/border in the plugin. I was thinking, make that an optional thing. Having the maps without a border on 1.7 has the potential for bigger images tiled from smaller images (like a banner).
@BillyGalbreath
That's kind of strange. It should just work.What version of Bukkit is this happening on?
@cnaude
That sounds good.
On another note, I found something that I cant figure out. I built all these picture frames last night to decorate my wife's house. Was hoping to surprise her when she woke up.The only pictures she was able to see were the big heads. No bodys, No custom pictures.
The only way I could get the pictures to show up on her screen was to physically hand her the maps, which I guess forced the client to load the data. If thats the case, then my server spawn idea is out the window. I wanted to use these for spawn information/rules/pretty pics/etc.
Got any ideas on how to force the clients to load the images in the area?
@BillyGalbreath
I can probably add an option add a frame overlay. When Bukkit is released for 1.7 I will see what I can do.
I'm loving this plugin ^_^
https://dl.dropboxusercontent.com/u/15187045/2013-10-19_06.02.11.png
Only one concern is the new Minecraft 1.7 changed the way maps look in an item frame. Nothing you can do about it, but thats going to ruin the picture frame look for me :(
Does this support animated gif's?