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
@MrNygus
Should be fixed in 0.0.6.
I have error, when i left server. http://pastebin.com/G1EfcbDf
@Zxoro
This should work on 1.5.2 without an issues. Have you tried it?
cnaude, can you make release for 1.5.2 plz?
@ColonelJdog
It works on 1.6.2. Is there a feature or problem you want to report?
Will this plugin receive another update soon?
Awesome plugin! Love it! Keep up the good work!
@cnaude
Ok and sounds good ill get resizing on them.
And didnt mean to say it was causing the player quits. Sorry if i worded that wrong.
@XRECKXIMPACT
The maximum size for a map is 128x128. If you resize them to 128x128 the server won't have to do any extra work resizing them.
Oh and that error is not causing the player quits. It's just a result of the player quits. I'll have to fix that bug. Edit: Fixed in 0.0.5.
@cnaude
ya ill get the log in for you. And im not quite sure on the picture sizes but ill leave an edit as soon as i look at them. And what would you recommend on the resizing? 256 x 256?
http://pastebin.com/GZhxgN8L Looked at the main sizes of my pictures i put in and they are either 480 x 320 or 320 x 480
@XRECKXIMPACT
Can you post the server.log on pastebin? If possible I would like to see what the custom pictures look like. How big are the pictures? I recommend resizing them before loading them. That way the plugin doesn't have to do as much work resizing them.
Hey not sure if it is just me but once i added in custom pictures, i started getting PlayerQuitEvent errors apparently directed towards the plugin. May be a bug but not quite sure
Edit: Seems to be causing lag spikes too
i already remove maps.txt
I will re-test thanks
Very nice Server Mod! But the colors fail with some heads! But els very nice server mod!
@ircopdd
I just tested 140 maps with 4 players and I had 20 TPS. Are you sure it's the headmap plugin causing it? Can send me your post your maps.txt?
@cnaude
42map
6 player
1.4.7 r1
@ircopdd
Permissions are available in v0.0.4.
@ircopdd
How many maps were created when it started lagging? How many players? What version of CB is this on?
use body server lag
tps down to 5......
body can add Permissions?
thanks
This could be fun...