HeadMap

HeadMap-logo

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.

HeadMap

Craft face maps like this:
Craftbox-Face

Craft body maps like this:
HeadMap-Craftbox-Body

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.

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

Source

See github.

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

TrophyHeads

Change Log

  • 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

Other

donate

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

  • Avatar of Garrettrules1998 Garrettrules1998 Feb 21, 2013 at 02:46 UTC - 0 likes

    Awesome plugin! Love it! Keep up the good work!

  • Avatar of XRECKXIMPACT XRECKXIMPACT Feb 21, 2013 at 00:00 UTC - 0 likes

    @cnaude: Go

    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.

  • Avatar of cnaude cnaude Feb 20, 2013 at 22:06 UTC - 0 likes

    @XRECKXIMPACT: Go

    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.

    Last edited Feb 20, 2013 by cnaude

    SDF | Fixed Plugins BFAK:cnaude,99361,b703b55cc7c33b67a0dde6d0e3e3b46833573e8f906baec978d45c87a0139279

  • Avatar of XRECKXIMPACT XRECKXIMPACT Feb 20, 2013 at 06:24 UTC - 0 likes

    @cnaude: Go

    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

    Last edited Feb 20, 2013 by XRECKXIMPACT
  • Avatar of cnaude cnaude Feb 20, 2013 at 05:21 UTC - 0 likes

    @XRECKXIMPACT: Go

    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.

    Last edited Feb 20, 2013 by cnaude
  • Avatar of XRECKXIMPACT XRECKXIMPACT Feb 20, 2013 at 04:50 UTC - 0 likes

    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

    Last edited Feb 20, 2013 by XRECKXIMPACT
  • Avatar of ircopdd ircopdd Feb 19, 2013 at 01:15 UTC - 0 likes

    i  already  remove maps.txt

    I will re-test thanks

  • Avatar of Smask1212 Smask1212 Feb 18, 2013 at 15:18 UTC - 0 likes

    Very nice Server Mod! But the colors fail with some heads! But els very nice server mod!

  • Avatar of cnaude cnaude Feb 18, 2013 at 07:06 UTC - 0 likes

    @ircopdd: Go

    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?

  • Avatar of ircopdd ircopdd Feb 18, 2013 at 06:26 UTC - 0 likes

    @cnaude

    42map
    6 player
    1.4.7 r1

Facts

Date created
Feb 10, 2013
Category
Last update
Feb 20, 2013
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
HeadMap
Downloads
964
Recent files
  • R: v0.0.5 for CB 1.4.7-R1.0 Feb 20, 2013
  • R: v0.0.4 for CB 1.4.7-R1.0 Feb 17, 2013
  • R: v0.0.3 for CB 1.4.7-R1.0 Feb 16, 2013
  • R: v0.0.2 for CB 1.4.7-R1.0 Feb 11, 2013
  • R: v0.0.1 for CB 1.4.7-R1.0 Feb 10, 2013

Authors