BuyHead
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:
Set Up and Installation
Compatibility: 1.8.3 to 1.9
Online and Offline servers
Required Plugins
For upgrading, see release notes.
Do /buyh help in game to get the complete list
Player Commands
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:
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:
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
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:
- Editable prices in the config
- Simple commands
- Cosmetic villager shops
- Blacklist easily editable inGame or in the plugin folder
- Requires Vault
- Multi language support. Comes with English, French, German and Dutch.
Set Up and Installation
Compatibility: 1.8.3 to 1.9
Online and Offline servers
Required Plugins
- Vault
- An Economy plugin of some kind e.g. Essentials, etc.
- PermissionsEx to manage groups and permissions
For upgrading, see release notes.
- Download the plugin (BuyHead.jar) and other mandatory plugins
- Place into your plugin folder
- Restart your server - this will make the config.yml file
- Open the plugin/BuyHead folder.
- Open up config.yml and adjust how you like. Save it.
- Do the command ingame /buyh reload
- Permissions should be set by default, unless you use a permissions manager. In which case, set up permissions.
- Enjoy
Do /buyh help in game to get the complete list
Player Commands
- /buyh - same as /buyh help
- /buyh help - Get all BuyHead's commands
- /buyh <player> - Buy 1 head of a player
- /buyh <player> [quantity] - Buy a quantity of player's heads
- /buyh help - Get all BuyHead's commands including admin commands
- /buyh blacklist - display all the elements of the blacklist
- /buyh blacklist <name> - Add an element to the blacklist
- /buyh whitelist <name> - Remove an element from the blacklist
- /buyh newshop <name> - Spawns a villager shop
- /buyh reload - reload the config, the language files and the player data
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
# 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
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:
- English - Default
- French
- German - Thank you KlappyYT for your translation
- Dutch - Thanks you Sikatsu1997 for your translation
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
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.