Decapitation

Heads on a Fence

Decapitation

The heads of bukkit staff - EvilSeph, lukegb, Dinnerbone, feildmaster, Wolvereness, and md_5

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 player
    • list <page> - list current bounties
    • place [username] [price] - place a bounty on a player or add to an existing one
    • claim - claim the bounty of the head you are holding
    • remove [username] - remove the bounty of a player
    • listown - list unclaimed bounties you have created
    • redeem - 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 head
  • decapitation.bounty - Place, claim, and search bounties bounties
    • children:
      • decapitation.bounty.search - Search bounties
      • decapitation.bounty.list - List bounties
      • decapitation.bounty.place - Place bounties
      • decapitation.bounty.claim - Claim (turn in) bounties
      • decapitation.bounty.remove - Remove own bounties
      • decapitation.bounty.listown - List own bounties
  • decapitation.bounty.viewissuer - View who placed bounties when listing

https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif

Github: https://github.com/Eviltechie/Decapitation

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

  • Avatar of ThePlayingNoob ThePlayingNoob May 01, 2013 at 11:12 UTC - 0 likes

    SUGGESTION: add a language.yml file which allow you change the language of the plugin messages.

  • Avatar of XentriX74 XentriX74 Apr 28, 2013 at 14:01 UTC - 0 likes

    I've been running this plugin for a while now and the players seem to love it.

    I have noticed an issue though and I'm not sure whether it's this plugin causing it or the way other plugins are storing information.

    On both MultiInv and EnderChestPlus, which both store their own inventories, there seems to be an issue being caused by certain player heads being stored in them.

    I think I've narrowed it down to names with an underscore in them. At best, the name will just get changed to gibberish when changing to a world with a separate inventory. But a lot of the time it will completely fail to store player inventories and throw up this error..

    org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed in "<string>", position 267

    I hope this is something that can be resolved one way or another.. I've had to turn it off for now, much to the dismay of the players :(

    If you need any more info, I'm glad to oblige.

  • Avatar of PlantAssassin PlantAssassin Apr 25, 2013 at 06:16 UTC - 0 likes

    @omgitsmit: Go

    Do you have vault? It should say something like "econ not detected"? Bounties will not work without vault and an economy plugin.

    I go by Eviltechie on the forums and on IRC.

    joe.to gaming community, over a decade of fun

  • Avatar of omgitsmit omgitsmit Apr 11, 2013 at 18:05 UTC - 0 likes

    Been trying to get this to run on our server. Running latest CB 1.5.1 Beta-release with the latest version (0.2.8). Added full perms and ran the /bounty command. Nothing comes up on the screen, no errors in console.

  • Avatar of DJdark57 DJdark57 Apr 06, 2013 at 08:37 UTC - 0 likes

    I WOULD WANT IT SO MUCH that it would show who claimed what bounty and if you claim a certain ammount of bounties you could get a title"bounty hunter" or something like that. Thank you for your attention, please add it

  • Avatar of Squirzy Squirzy Apr 05, 2013 at 07:07 UTC - 1 like

    I think a timer needs to be set on bounties. So after x day after the bounty was created and no one has claimed it - they bounty money either goes back to the original players, or is just deleted. I have players creating bounties for players that don't exist/misspell.

    Or it could link into essentials or somehow the players folder in the world folder to see whether the player has been on the server or not.

    Last edited Apr 05, 2013 by Squirzy
  • Avatar of ProjectInfinity ProjectInfinity Apr 04, 2013 at 09:34 UTC - 0 likes

    Did you ever get around to fixing the chance issue? I've been on 0.2.6 and with a 3% drop chance they still drop a head every single time.

  • Avatar of PlantAssassin PlantAssassin Apr 03, 2013 at 01:53 UTC - 0 likes

    @CeramicTitan: Go

    Interesting idea. I'll add it to my list.

  • Avatar of Recolance Recolance Apr 02, 2013 at 22:36 UTC - 0 likes

    @Absolutionmc: Go

    yes. running on server with 300+ very efficient. Can get FPS drops when hundreads of heads are in one small area though.

  • Avatar of Absolutionmc Absolutionmc Apr 02, 2013 at 15:54 UTC - 0 likes

    Is the plugin very CPU efficient for use on big servers?

Facts

Date created
Oct 27, 2012
Categories
Last update
Apr 03, 2013
Development stage
Beta
License
All Rights Reserved
Curse link
Decapitation
Downloads
10,054
Recent files
  • B: v0.2.8 for 1.5.1 Apr 03, 2013
  • B: v0.2.7 for 1.5.1 Apr 01, 2013
  • B: v0.2.6 for CB 1.4.6-R0.1 Dec 22, 2012
  • A: v0.2.5 for CB 1.4.5-R0.2 Dec 17, 2012
  • A: v0.2.4 for CB 1.4.5-R0.2 Dec 06, 2012

Authors

Relationships

Optional dependency
Vault