Comprehensive GUI Links and Tutorials Thread for your Plugins

Discussion in 'Resources' started by ccrama, Jan 3, 2014.

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

    ccrama

    Hello Bukkit,

    I have been searching for a thread like this for a while, and have decided to post one myself. I am putting together a list of all GUIs that are easily edited for use in your plugins, and adding links with tutorials/screenshots. Some are sourced/built into Bukkit, and some are standalone APIs for use with your plugins.

    BOSS BAR[​IMG]
    IMAGE VIA Bar API Bukkit Dev Page
    https://forums.bukkit.org/threads/tutorial-utilizing-the-boss-health-bar.158018/
    http://dev.bukkit.org/bukkit-plugins/bar-api/


    SCOREBOARD

    -Sidebar
    [​IMG]
    IMAGE VIA ChaseChocolate's scoreboad thread

    https://forums.bukkit.org/threads/tutorial-scoreboards-teams-with-the-bukkit-api.139655/
    http://forums.bukkit.org/threads/resource-simple-scoreboard-manager-supports-1-7.197487/


    -Under Name
    [​IMG]
    IMAGE VIA ChaseChocolate's scoreboad thread
    https://forums.bukkit.org/threads/tutorial-scoreboards-teams-with-the-bukkit-api.139655/
    http://forums.bukkit.org/threads/resource-simple-scoreboard-manager-supports-1-7.197487/


    TAB LIST
    [​IMG]
    IMAGE VIA Tab API Bukkit Dev page

    http://dev.bukkit.org/bukkit-plugins/tabapi/


    ANVIL
    [​IMG]
    http://forums.bukkit.org/threads/class-anvilgui-use-the-anvil-gui-to-retrieve-strings.211849/
    http://forums.bukkit.org/threads/inventory-anvil-events.142990/

    COMMAND BLOCK


    [​IMG]
    https://forums.bukkit.org/threads/inputgui-use-the-cmd-block-gui-to-read-strings.160883/


    INVENTORY & CHEST
    [​IMG]
    IMAGE VIA Icon Menu Thread

    https://forums.bukkit.org/threads/icon-menu.108342/
    https://forums.bukkit.org/threads/tutorial-create-a-inventory-menu.173571/


    WORKBENCH/ENCHANTING
    [​IMG]
    Nothing very fancy here, but you can open it!
    From the bukkit API:



    META BAR (TOOLTIP POPUPS)
    [​IMG]
    IMAGE VIA item message thread

    https://forums.bukkit.org/threads/itemmessage-use-item-metadata-to-create-popup-messages.167979/


    XP BAR
    [​IMG]
    IMAGE VIA photobucket

    Simple code developed by me:
    Code:java
    1. int level = 2
    2. float bar = 0.1 //up to 1, fills the bar "percentage"
    3. player.setLevel(level);
    4. player.setExp(bar);

    setLevel sets the experience level (the number)
    setExp sets experience towards next level (the bar)


    MAP
    [​IMG]
    IMAGE VIA item message thread

    https://github.com/desht/ScrollingMenuSign/ (Another api by desht)
    http://wombat.platymuus.com/minecraft/mapapi/
    General documentation: http://jd.bukkit.org/rb/doxygen/d0/d9c/interfaceorg_1_1bukkit_1_1map_1_1MapCanvas.html


    NAMETAG


    [​IMG]
    IMAGE VIA Tagapi thread

    http://forums.bukkit.org/threads/tagapi-change-color-the-name-over-peoples-heads.99485/


    MERCHANT
    [​IMG]
    IMAGE VIA games.on.net

    http://forums.bukkit.org/threads/merchantapi-create-new-merchants.119702/


    If I left any GUIs out or you have some code to contribute, comment below and I'll add/fix it asap!


    Cheers,
    ccrama

    All tutorials and images are owned/created by their respective parties. I did not create these tutorials
     
  2. Offline

    ArthurMaker

    Excelent post! It will help a lot some people.
     
    MineKayama and ccrama like this.
  3. Offline

    MineKayama

    Anvil: Maybe this?
     
    ArthurMaker likes this.
  4. Offline

    ccrama

    MineKayama, that is useful for events, but that code doesn't let you customize any of the anvil in the way of a GUI. Will add that though (someone will find a use for it)

    ArthurMaker I hope so! Thanks!
     
    MineKayama likes this.
  5. Offline

    xTrollxDudex

    ccrama
    Hmm, maybe try a search in the index instead of a "link hub"
     
  6. Offline

    TheUpdater

    really good post will help alot ty [diamond]
     
    ccrama likes this.
  7. Offline

    darkness1999

  8. Offline

    ccrama

    darkness1999, it's not more of a link, but I will post my own code that I developed for use under that in just a second

    EDIT: Added anvil GUI by chasechocolate. This allows you to get strings from user input!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  9. Offline

    macguy8

    ccrama Player.setExp() takes a float from 0 - 1 for bar progress, not 0 - 200 or such as you're doing in your example.
     
  10. Offline

    Garris0n

    macguy8 likes this.
  11. Offline

    ccrama

    macguy8 Garris0n Thanks for finding that... Fixing asap.

    EDIT: Fixed in OP
     
  12. Thank You! This is insanely helpful. :D
     
    ccrama likes this.
Thread Status:
Not open for further replies.

Share This Page