AvicialyHeads

Discussion in 'Plugin Requests' started by Invenstory, Jan 22, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    Invenstory

    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
     
    Last edited by a moderator: Jan 22, 2019
  2. Offline

    BlackScorpyon04

    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
     
    Last edited: Jan 23, 2019
  3. Offline

    Invenstory

    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
     
  4. Offline

    BlackScorpyon04

    Do u want players to lose some money if they die?
     
  5. Offline

    Invenstory

    make it on config like:
    players-lose-money: false (if i want to enable it im goona just put a price like 1.000)
     
  6. Offline

    KarimAKL

    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.
     
  7. Offline

    Invenstory

    hmm okey thats looks better :3
     
  8. Offline

    BlackScorpyon04

    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.
     
    Last edited by a moderator: Jan 25, 2019
  9. Offline

    Invenstory

    its hard to make it 'money-lost: 5000'?
    its okey take your time!!
     
  10. Offline

    KarimAKL

    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?)
     
  11. Offline

    BlackScorpyon04

    @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.
     
    Last edited: Jan 27, 2019
  12. Offline

    Dai_Kunai

    Dropbox works if you don't want to wait.
     
  13. Offline

    Invenstory

    np if people want to download this plugin upload it on bukkit i don't have problem...its up to u
     
  14. Offline

    BlackScorpyon04

    Ok ya ill upload
     
  15. Offline

    Invenstory

    cool thnx u so muuch!!
     
  16. Offline

    BlackScorpyon04

    Its waiting approval idk how long it takes
     
  17. Offline

    krlsmnk

    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.
     
Thread Status:
Not open for further replies.

Share This Page