HeadsForSale
Players will randomly drop their head when dying which other players can pick up. With the collected head a player will be able to exchange it for a configurable percentage of the owners essentials economy balance. When a player sells a head, he will get money whilst the owner of the head will lose money.
This plugin requires Essentials to work.
This plugin does not use any permissions.
To use, drop .jar in plugins folder and reload your server.
Configuration
# How many times out of one a playerhead should be dropped upon playerdeath.
DropChance: 0.14
# How much of the owner of the heads money will be taken when a player sells his head.
PercentageOfValue: 0.8
NOTE: Value should be in decimal form instead of percent form. (14% = 0.14, 80% = 0.8)
Commands
/headvalue <hand|all|name>
aliases: [hv]
description: Returns how much you would get for said playerheads.
# Hand > value of all playerheads in your hand.
# All > value of all sellable playerheads in your inventory.
# Name > value of one head from said player.
# Usage: /hv <name> Example: /hv _Josef_
/sellhead <hand|all|name>
aliases: [sh, sellheads]
description: Sell a playerhead from your inventory.
# Hand > sell all playerheads in your hand..
# All > sell all sellable playerheads in your inventory.
# Name > sell all playerheads from said player.
# Usage: /sh <name> Example: /sh _Josef_