Headshot
Headshot 
Headshot
Features
- Compatible with 1.7
- Configurable multipliers for the head, torso, and legs (and configurable hitboxes for added difficulty or ease)
- Configurable effects, such as slowness, wither, etc., that can be applied upon hitting certain body parts
- Configurable headshot messages for both the shooter and the target
- Configurable headshot death message
- Configurable minimum distance after which arrows do extra damage based on the distance they've travelled
- Configurable extra damage per block travelled
- Configurable damage required for a hit to be considered a headshot
- Configurable armour resistance
- Configurable bow cooldowns (reload time)
- Configurable particle trails
- Works on humanoid mobs
- Update notifications
Video needed. If you feel like making a video on Headshot, please give me the link in the comments so I can show it on this page.
Permissions
Permission | Description | Default |
---|---|---|
headshot | Allows players to headshot other players | Everyone |
headshot.bypass.reload-time | Allows the player to bypass bow cooldown | OPs |
Configuration
To-Do
- Configurable mob headshots
- (Done) Per-world configuration
- Configurable particles and sounds on headshot
- (Done) Reload command
- Backstabbing (backshotting?)
- Debug mode
Suggestions?
Bug Reports
Please post these on GitHub or, if that's not possible, in the comments below. Please provide (at minimum) the following information:
- What the most likely cause of the issue was (such as what you were doing at the time)
- Any errors displayed in the console (Please use pastie.org for these!)
- The version numbers of the plugin and of Craftbukkit (Don’t say ‘latest’!)
- Any additional information you can provide, such as potentially conflicting plugins
Need Help?
- Email me ([email protected])
- Post a ticket on GitHub (recommended)
- Post a comment on this page
Disclaimer: Headshot implements Gravity's Updater, which is used for updating the plugin automatically. If you don't want to have the plugin updated automatically, set 'auto-update' to false in the configuration file. Additionally, Headshot uses MCStats to collect anonymous statistics about the kinds of servers running the plugin. All of these statistics can be found here. This can be disabled by setting 'opt-out' to true in the 'plugins/PluginMetrics/config.yml' file.
@Trollerton
It should, yes.
@Hoot215
Does this work with CB-1.7.2-R0.2?
@ECRONCraft
Added to the to-do. I'm not quite sure when I'll get around to releasing the next version, but it should be within the next couple of weeks.
Add a "/headshot reload" command! :D
@Helrin
I notice that you've set your min-distance to 5. By my calculations, the way you have it setup right now, arrows only need to travel ~15 blocks when fully charged to insta-kill someone with no armour (without even factoring in any extra hitbox damage). I would recommend setting the extra-damage-per-block value lower so the arrows don't accumulate damage so quickly.
@Hoot125 This is my config http://pastebin.com/gHWbcaTR For some reason arrows don't seem to do more damage the farther they travel. I enabled distance and set headshot to false, but it just made me headshot everywhere. So I reverted it. I really wish the more dmg/distance thing worked Thanks :)
Awesome plugin man, thanks! Also, I can confirm it works on 1.7.2!
@Helrin
I'll take that as a confirmation until I hear otherwise. Thanks for testing it.
@Hoot215
I BELIEVE it's working. It starts up and I think I remember shooting people but I was playing with awhile ago. (My memory is that of a goldfish with amnesia).
@Helrin
I haven't tested it yet. Most likely, but it's hard to say for sure, since the Bukkit API for 1.7 is currently in a state of flux. I would appreciate it if someone could test it for me and let me know if it works or not.
Will this work with 1.7.2?
@CommodoreAlpha
I'll put it on the to-do list.
Can you have some kind of particle effect and sound effect trigger upon headshot, sort of like this plugin does? (In that plugin, when you score a headshot, redstone particles - to simulate blood - fly out and a high-pitched "clinking" sound is heard. You'd have to play with the plugin itself to know what the effect sounds like.)
It would be best if these features were configurable, but if you decide not to make it configurable, I think you could try the "blood" and "clinking" effect too.
@FlOppythp
It will be configurable for each mob.
@FlOppythp
I only added it for standard humanoid mobs at first because they have the same hitboxes as players. Adding hitboxes for other mobs will require a bit of research, but I'll be sure to have it in the next version.
@Pandamatak
I'm almost 99% sure that Headshot isn't causing your issue. Could you profile your server with the Bukkit timings command or use NoLagg so I can see what's causing all of the lag?
Hi, this is a plugin I was really happy to read about, but unfortunately I'm not able to use it since it's taking up >60% of my CPU usage.
This is my config:
If you could let me know what's wrong here, I would really appreciate it.
Thanks,
Pandamatak
@Hoot215
oh i see, so you just have legs chest and head. Pretty interesting.
@Adondriel
It has always been possible to tell where a player has been hit based on the position of the arrow relative to the player. If you're talking about exact hitboxes, it's quite difficult to tell if the player has been hit in horizontally changing locations, such as arms, because that involves the rotation of the player's body. I might come back to that at some point, but for now, I'm sticking with vertical hitboxes.
@Hoot215
Did MC update this stuff? because i didn't think it was possible to tell where the player was hit...