HomeJavaModsBuyHead
BuyHead
BuyHead

2015-11-17_11.12.23.png

A simple plugin to buy any player's head with a Vault Economy. There is also an InGame editable Blacklist if you want to prevent players to buy specific heads.
You can also setup villager shops for a little cosmetic bonus.
Thanks to lululombard for the orgiginal idea and the code to get a player's head from the Mojang servers.
I hope you guys like it. Don't hesitate to send me suggestions or feedback to help me in my present and future projects.

Features:
(Those are not the only choices possible, you can buy any player's head)
2015-11-17_11.15.34.png

Set Up and Installation
Compatibility: 1.8.3 to 1.9
Online and Offline servers


Required Plugins
Recommended plugin:
Installation and Configuration:

For upgrading, see release notes.
  1. Download the plugin (BuyHead.jar) and other mandatory plugins
  2. Place into your plugin folder
  3. Restart your server - this will make the config.yml file
  4. Open the plugin/BuyHead folder.
  5. Open up config.yml and adjust how you like. Save it.
  6. Do the command ingame /buyh reload
  7. Permissions should be set by default, unless you use a permissions manager. In which case, set up permissions.
  8. Enjoy
Commands:
Do /buyh help in game to get the complete list

Player Commands
Admin Commands
Villager Shops
2015-11-25_00.25.48.png

To setup a new villager shop :
/buyh newshop <name>
A villager will spawn at your location, won't be able to move arount (won't even fall if summoned in mid-air) but will be able to look around and make sounds.
WARNING: If you have WorldGuard enabled and you try to spawn a villager in a region with the flag mob-spawning set to deny. You must set in WorldGuard's config the option "block-plugin-spawning" to false (or temporarely remove the mob-spawning flag)

To use a villager shop:
Simply right click on the villager, and enter the name of the player you want to get the head from in the chat.
The request expires after 15 seconds if no name have been entered.

To delete a villager shop:
Players with the permission : "buyhead.admin.villagershop.remove" can hit a villager holding a shop while sneaking once to instantly kill the villager and remove it's shop from the plugin's files.


Configuration:
Spoiler: Default Config
Code (Text):

# Plugin BuyHead by PoutineQc

# Currently available languages:
# English - "fr"
# Frensh  - "en"
# German  - "ge"
# Deutch  - "de"
# You may make another YAML file with another language
# Simply put it in the LanguageFiles folder
#     and write it's name here (without the ".yml")
language: en

# true if you want to see the prefix "[BuyHead]" in front of every messages
# The prefix is editable in the language files
prefixBeforeMessage: true
prefixBeforeName: true

# The price one head will cost
pricePerHead: 5.0
 


Languages:

Three languages are currently built in. You will find them in the LanguageFiles directory. You may choose one in the config. To create another language, copy another language file, name it however you want, translate it, and simply put it's name without the ".yml" in the config.
It would be very appreciated if any traduction you guys do are being sent to me so I can build them in.

Actual languages:
Testing
If you want to test this plugin before putting it on your server, you may try it out on my test server.
IP : mc.quebecfreebuild.ca


Problems or New Feature Ideas?
Do not hesitate to send me your ideas, feedback and problems. I will try to reply the fastest as possible.
Hope you guys enjoy it

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

BuyHead is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9. Downloaded 2,368 times (via Spigot). Download it and open it directly in the game.

Explore more