Hello! I wonder if someone could make a plugin for me! Plugin name: AvicialyHeads (1.8) What this plugin supposed to do: If a player or a mob die should drop a head that you can sell it in a GUI Commands/Permissions: /Sellheads - Opens the GUI - avicialyheads.access - Here you can sell the heads /Heads reload - Reload the plugin - avicialyheads.admin Config: GUI: name: &b&lSell Heads (the name that the gui gonna have) Accept/Deny: (if u want to sell the heads there will be a system that accepting or dening it) Accept: Name: '&aAccept' (If you accept , the heads succesful sold and the gui will close) Item: REDSTONE_BLOCK Slot: 54 Deny: '&cDeny' (If you deny , the heads will return to ur inventory and the gui will close) Item: EMERALD_BLOCK Slot: 53 Panels: (Decoration Items) Item: 95:14 (the item ID) (If you click the item nothing gonna happen) name: '&f' GUI Slots: 54 (1-54)(how many rows the gui gonna have) Slots: (The slots that the items will be placed) -1 -2 -3 Heads: HeadName: '&b%type%'s Head' (The name that the head gonna have)(Types like Player or Mob) HeadLore: '&7&oSell for: &b&o%price%' (the lore that the head gonna heve) enable-mob-stack-drop: true (this depends if the mobs are stacked.if they are x5 zombies for example it willl drop 5 heads)(i use MobStacker plugin) #Prices: (All the types) Player: 5000 Creeper: 30 Skeleton: 30 Zombie: 30 Blaze: 30 Wither-Skeleton: 30 Slime: 30 Magma-Cube: 30 Pigman: 30 Guardian: 30 Horse: 30 Enderman: 30 Spider: 30 Ghast: 30 Cave-Spider: 30 Silver-Fish: 30 Bat: 15 Witch: 30 Endermite: 30 Iron-Golem: 30 Pig: 30 Sheep: 30 Chicken: 30 Rabbit: 30 Villager: 30 Squid: 30 Wolf: 30 Mooshroom: 30 Ocelot: 30 Thats all! take your time to make it! i don't need a specific day! Btw if its easy add a sound when you sell the heads...hmm like Level_Up
Ill give it a shot what do you need the plugin for. like do u have a server i guess your using Vault? EDIT: i cant find mob head for silverfish
Thnx you so much yup...its a Factions server and for a Skyblock. There is already a plugin for this but when a player dies he lose a lot of his money and its so wierd
make it on config like: players-lose-money: false (if i want to enable it im goona just put a price like 1.000)
It would be easier to just make something like this: Code: players-lose-money: false money-lost: 1.000 And then the 'money-lost' wouldn't do anything unless the 'players-lose-money' is true.
Ok i could make it like this players-lose-money: false money-lost: 10% so then they lose a percentage of their money Sorry its taking a while just been working on adding the heads to drop from each mob about half way EDIT by Moderator: merged posts, please use the edit button instead of double posting.
No, it's not, it's actually easier than making it a percentage of the money. (because calculating the percentage requires math but removing a number doesn't) So i don't think @BlackScorpyon04 would have anything against making it a flat amount removed instead. (maybe even an option for percentage or flat amount?)
@Invenstory Im done and i made it so its a set amount of money to lose and if the player doesnt whave enough money to take it doesnt. How do you want me to send you the plugin. i can upload to bukkit.
What prevents a player from killing themselves over and over to accrue heads? Aside from the money penalty, which you were considering setting to false, there doesn't seem to be a way to stop duping.