Heads/Badges with GUI

Discussion in 'Plugin Requests' started by PancakeSamurai, Dec 17, 2016.

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

    PancakeSamurai

    Hi!
    I'm looking for a plugin very similar to CraftHeads (https://dev.bukkit.org/projects/craftheads), except... I'm wanting it so each head requires a permission node for it to be displayed and to gain it.
    I'd also prefer the available heads to be custom (i.e. have as many heads as created (within a file)).

    For example... The player types in a command such as /heads or /hats, then a GUI menu appears with all the available heads to that player. Perhaps a next and back buttons on the sides/corners? After choosing a head, it's then placed as a hat on their avatar or into their inventory.

    I'd like to be able to create heads in the (config?) files. Preferably, the head icons on the GUI could display a name and subtitle when hovering over (can be edited in the files for each head).

    Please, if you can, any help will be much appreciated!
    Thank you for your time :)
     
  2. Offline

    Ethan Rocks 365

    How would you create the heads in the config? I would need some description of that
     
  3. Offline

    PancakeSamurai

    I'm not very familiar with how this is setup in the backend.
    I came across Head Items (https://dev.bukkit.org/projects/head-items) which allows you to create items from heads (through textures?). I'd imagine it would be a similar concept except not no abilities such as food or potions.
     
  4. Offline

    Ethan Rocks 365

    What i mean is how would you get how the head looks?
    Would you do like the username of the player with the head u want or what?
     
  5. Offline

    PancakeSamurai

    Sorry for the really delayed reply! (Have to set up notifications...)
    According to that Head Items plugin they use the texture value used in a command:
    /give @p skull 1 3 {display:{Name:"Vegemite"},SkullOwner:{Id:"3fd44f85-9f07-4a4e-9854-ee57476ce1b8",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWU4ODkwODc0YTMwNjZmNDI2ZTY2ZTM3NDM4ZjQ1YWIyOWE1YmYyNTgyZGI3M2NiNGNmZjY5NTRhNTc4ZWYifX19"}]}}}​
    (Command from: http://heads.freshcoal.com/maincollectionlist.php)
     
  6. Offline

    ipodtouch0218

    @PancakeSamurai
    I could do this, as I have nothing else to do right now.

    Example Config.YML:
    Code:
    Vegemite:
        Name: "&5Vegemite"
        SkullOwner: "3fd44f85-9f07-4a4e-9854-ee57476ce1b8"
        Texture: "<long texture string>"
        Permission: "heads.vegemite"
     
    Last edited: Jan 4, 2017
  7. Offline

    PancakeSamurai

    :O that would be great thank you!
     
    ipodtouch0218 likes this.
Thread Status:
Not open for further replies.

Share This Page