cnaude / trophyheads Goto Github PK
View Code? Open in Web Editor NEWBukkit plugin that causes players to drop heads.
Bukkit plugin that causes players to drop heads.
Every time when any player broke placed head in survival, which not created by the TrophyHeads (decoration head with texture like from HeadDatabase plugin or from command block) this error appeares:
http://pastebin.com/vduPFQir
i'm migrating to this plugin from playerheads because it isn't maintained anymore and has a minor bug that annoys me alot. found these missing heads by comparing configs. o.O
thanks, great plugin!
git-Spigot-6f291ea-55a8535 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
TrophyHeads version 1.12.7-42
Add a message & config option for pvp/pve/etc beheadings: (overrides the default 'player was killed by player2' message)
config options example:
##makes all beheadings broadcast only the generic message, regardless of death type [default=false]
broadcast-all-generic: false
##TRUE: broadcast message uses players displayname/rank/title. FALSE: broadcast msg uses usernames (plainer message) [default=true]
use-displayname: true
##pvp or pve message (player or mob killed player, includes 'while fighting mob') [default =true]
broadcast-msg-pvpe: '&c%%NAME%%&e was beheaded by an angry &c%%NAME2%%'
broadcast-pvp: true
broadcast-pve: true
##non-player or entity death: ie: cactus, drowning, fire, etc..
broadcast-msg-generic: '&c%%NAME%%&e was beheaded!'
broadcast-generic: true
##how did you manage to behead yourself? event: /suicide, shoots self with arrows, etc..? [default=true]
broadcast-msg-self: '&c%%NAME%%&e beheaded themselves. o.O'
broadcast-self: true
##broadcast when a player beheads a mob [default=false]
broadcast-msg-mob: '&c%%NAME%%&e beheaded an angry &c%%MOB%%'
broadcast-mob: false
##message the player receives when they behead a mob [default=true]
broadcast-msg-mob-self: '&eYou beheaded an angry &c%%MOB%%'
broadcast-mob-self: true
1b. If not, i'll write up a config with 'recommended' values -or- you can use it as the new 'default' config for release version(s). (admins like things ready to go out-of-the-box).
1c. [[testing now]] if so, does the % value accept decimals? (old plugin i used had most things at about 0.2%)
EDIT: spawned 1000 skeletons/zombies (droprate set to 0.2) no heads dropped, assumeing decimals not supported yet. please add :) Wither skeletons default rate is 2.5%, got 2 of 100.
ALL - (all events, self explanatory)
PVP - **(Player vs Player, does this include player vs entity?)**
CONTACT - **(cactus? anything else?)**
ENTITY_ATTACK - **(mob attacking a player only?)**
PROJECTILE - (death by arrow)
SUFFOCATION - (stuck in a block)
FALL - (fall damage)
FIRE - (fire damage)
FIRE_TICK - (fire tick damage, ie: left the flames, but still burning)
MELTING - **(?)**
LAVA - (died in lava)
DROWNING - (died from lack of oxygin)
BLOCK_EXPLOSION - **(TNT?)**
ENTITY_EXPLOSION - (creeper explosion)
VOID - (fell out of the world)
LIGHTNING - (struck down from the heavens)
SUICIDE - (WHY would you do this?)
STARVATION - (i forgot to eat....)
POISON - (poision damage)
MAGIC - (potion effects[specifically: potion of harming], **guardian rays?)**
WITHER - (wither effect)
FALLING_BLOCK - **(anvil only?)**
THORNS - (poky armor)
CUSTOM - **(?????)**
unlisted/unsure: KeneicEnergy(elytra), above listed in **bold**
[wiki shows 45 different death messages]
i want to configure it so mobs only drop heads if they are being attacked by a player/attacking a player (not if they die by accident). And players only drop heads if another player kills them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.