Decapitation
Decapitation
Features
- Causes heads to drop when a player is killed by another player or when killed outright.
- A command to set the name of a head
- A command to spawn heads
- Right click on a head to view the name
- Causes broken heads to drop as an item with the correct name
- A bounty system
- Store bounties in a flat file or mysql
Commands
/setname [username]
- Sets the type of the head you are holding to a player head and sets the name to the one specified. Username is case sensitive./clearname
- Clears any name on the head./spawnhead [username] <quantity>
- Spawn the specified number of heads with the specified name. Username is case sensitive./bounty
search [username]
- search for a bounty on a playerlist <page>
- list current bountiesplace [username] [price]
- place a bounty on a player or add to an existing oneclaim
- claim the bounty of the head you are holdingremove [username]
- remove the bounty of a playerlistown
- list unclaimed bounties you have createdredeem
- claim any heads that are owed to you
Bounty System
The bounty system requires Vault, an economy plugin and optionally mysql. This bounty system is based on heads.
Example: Let's pretend that I have a grievance against a player named mbaxter, but I'm too lazy to find and kill him, so I decide to place a bounty on his head. I type /bounty place mbaxter 100
which creates a bounty for $100 against him. On this server, the tax rate is 5% so I pay $105. A bounty hunter, diego96 comes along and checks the active bounties with /bounty list
. He could use the cash so he decides to go after mbaxter. Diego tracks down mbaxter, killing him, and claiming his head. Diego now types /bounty claim
while holding the skull. The skull is whisked away to me (or stored for me to type /bounty redeem
at a later time if I am not online or my inventory is full) and Diego receives $100. The evil mbaxter has been slain, I receive his head, and Diego receives his $100.
Configuration
All percentage fields are in the range 0 to 1, where 0.1 = 10%
dropSkulls: allDeaths: 0 #Percentage chance that a player's skull will be dropped when they die. killedByPlayer: 1 #Percentage chance that a player's skull will be dropped when killed by another player placeInKillerInv: false #If set to true skulls will be placed directly in the inventory of the killing player when possible. If the player was not killed by a player this has no effect. If the killer's inventory is full, it will be dropped at the killer's feet. bounty: enabled: false #Enables the bounty system tax: .05 #Sets the tax on bounties. Players are charged this tax when creating or removing a bounty huntedDropOnly: false #If set to true, only players with bounties on their heads will drop heads. canClaimOwn: true #If set to false, players will not be able to turn in bounties on their own head. datastorage: yaml #This can be set to 'yaml' if you want to use a flatfile or 'mysql' if you want to use a database. database: #This section is only for people who are using mysql. url: jdbc:mysql://localhost:3306/database #Database connection string username: minecraft #Database username password: lolololol #Database password
- Setting both options to false disables heads dropping on player deaths and only allows the
/setname
command. - Use of the bounty system requires Vault, an economy plugin, and mysql.
- Remember that players claim bounties by turning in the head. If your head drop rate is set to 5%, that means that player will likely have to be killed a large number of times before the bounty can be claimed. Consider setting the drop rate to 100% if you are using the bounty system.
Permissions
decapitation.setname
- Access to/setname
.decapitation.clearname
- Access to/clearname
.decapitation.spawnhead
- Access to/spawnhead
children:
decapitation.setname: true
decapitation.dropheads
- Description: Ability to drop heads on death. Defaults to true.decapitation.collectheads
- Ability to collect heads when killing another player. Defaults to true.decapitation.info
- Get the name of a headdecapitation.bounty
- Place, claim, and search bounties bountieschildren:
decapitation.bounty.search
- Search bountiesdecapitation.bounty.list
- List bountiesdecapitation.bounty.place
- Place bountiesdecapitation.bounty.claim
- Claim (turn in) bountiesdecapitation.bounty.remove
- Remove own bountiesdecapitation.bounty.listown
- List own bounties
decapitation.bounty.viewissuer
- View who placed bounties when listing
This is going to make my evil sadistic players so damn happy! Thanks for this, keep up the good work!
Amazing plugin, My players voted it as their favorite on my site!
Ok, got the bounty system working-looks like it was a MySQL error. By the way, might want to change this "Use of the bounty system requires Vault, an economy plugin, and mysql." It works perfectly fine with a flatfile.
Would it be possible to have a /bounty locate command to track online players with a bounty on their head? With a configurable accuracy, such as 100, 500, 1000 blocks, etc. Thanks!
Hi I think it would be really cool if you could add an automatic board wich adds the member when they come on then they will stay there well the heads will
I'm getting the following error on startup, which disabled the Bounty feature:
2012-12-26 04:45:17 [INFO] [Decapitation] Enabling Decapitation v0.2.3
2012-12-26 04:45:17 [INFO] [Decapitation] Econ not detected
2012-12-26 04:45:17 [INFO] [Decapitation] Bounties not enabled
I'm running iConomy, so not sure why Decapitation isn't detecting an economy...
Edit: And yes, Vault is running too.
@PlantAssassin
Well, i use, i have plugins how chestshop and residence, and not have errors... i see the console, appear 'is out of date?' D:
@lyrow
You must have vault and an economy plugin to use bounties.
Speedy update!
I can make them but they don't skin?
Edit: silly me forgot caps count!
Hi, i have problems '-' I turn on the decapitation in 'bounty enabled: TRUE', right? In server, i try put an bounty with '/bounty place........" and appear: BOUNTIES ARE NOT ENABLED I use Essentials.... I'm sorry my english, i live in Brazil x.x Help me please ):
I just submitted v0.2.6 for approval. This version no longer depends on craftbukkit, so as long as you are running CB 1.4.6-R0.1 or later, this plugin should not break on updates. (This is unlike other plugins which will break every update)
This version also features an option to place the heads directly in the inventories of killers when applicable. (Heads will be dropped at the killers feet if their inventory is full.) This should now play nice with plugins that preserve inventories upon death, giving the killer the head instead of the victim.
@HitmanPL47 I've just setup the donate button <3
Hey! My players love this plugin! Do you have a donation link for something small from us? :)
I expect to have a working build for 1.4.6 uploaded within 24 hours.
Itemmeta was just released. I almost have a working build, but there are some issues with the redeem command, so I won't be able to finish it tonight, it'll have to wait for morning.
In the meantime, don't update to the latest dev builds, this plugin will not work.
PvP Drop chance is broken, I've set it to 3% drop chance yet a skull drops every time.
@BlueFusion95
Yes. I only marked it as an alpha build because people were grabbing it when they were still on R-0.2
Is 0.2.4 compatible with R-0.3?
@HitmanPL47
Version 0.2.4 is for the latest dev builds only. If you are not using them, stick with 0.2.3.
Getting some errors with 0.2.4. Works fine with 0.2.3 on bukkit 1.4.5 R0.2
http://pastebin.com/HVPQepv0
How can you block people from destroying the head within a world guarded region?