1. Welcome to the Brawl website! Feel free to look around our forums. Join our growing community by typing /register in-game!

[Bukkit SpeedCode]: HubPlugin v1.0

Discussion in 'Videos' started by TheBmanSwan, Sep 24, 2014.

Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...
  1. TheBmanSwan

    TheBmanSwan Well-Known Member

    Joined:
    Aug 7, 2013
    Messages:
    153
    Ratings:
    +92
    Hey guys, this is just a speed code of a really basic HubPlugin. I have been working on this for the past few weeks, and am nearing the final version. This basic version only took me around 4 hours to code (was sort of a while ago, maybe 5 or 6). I have been developing this ever since and it is actually turning out really nice. I will have a video posted on this thread of the highlights of the plug in as soon as it's completed, which should either be tomorrow or next Monday. Here is the video:


    Here are the classes:
    MainClass: http://pastebin.com/N0HxfT2S (To be updated)
    JoinListener: http://pastebin.com/cJgFMaU4 (To be updated)
    RestricListener: http://pastebin.com/N6F6hRuM (To be updated)
    ServerInfo: http://pastebin.com/mb9zB2by (To be updated)
    SettingsManager: (No paste yet)
     
    • Like Like x 1
  2. xtreameprogram

    Joined:
    Aug 1, 2014
    Messages:
    2
    Ratings:
    +0
    Lucky :frowning: my parents banned me from coding. But still fantastic job. :smile:
     
    #2 xtreameprogram, Sep 24, 2014
    Last edited: Sep 24, 2014
  3. Thwer

    Thwer Well-Known Member

    Joined:
    Jan 25, 2014
    Messages:
    744
    Ratings:
    +114
    Woah. Nice job bman
     
  4. BrawlerAce

    BrawlerAce Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    6,616
    Ratings:
    +2,113
    So, what does it do?
     
  5. TheBmanSwan

    TheBmanSwan Well-Known Member

    Joined:
    Aug 7, 2013
    Messages:
    153
    Ratings:
    +92
    You'll see once I release the highlights video. The version that I coded in this video pretty much just adds a compass, book, bow, and torch into the inventory upon joining the server. The compass opens an inventory of icons which represent servers. The book opens an inventory of icons used for information. Whenever you fire the bow, it teleports you to its arrow. And the torch toggles player visibility. The final plugin has a ton more features then this, I don't even think I included all of the features in this version I recorded.
     
  6. onik

    onik Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    538
    Ratings:
    +141
    Nice plug-in you have there! :grinning:
    Currently all the items (=menu items) are hard-coded, maybe make it so they are all loaded from a config file to make it more user-friendly?
     
  7. TheBmanSwan

    TheBmanSwan Well-Known Member

    Joined:
    Aug 7, 2013
    Messages:
    153
    Ratings:
    +92
    I wasn't really coding it to make it a public plugin. It was kind of just a small project that I was working on and I wanted to take it farther than this simple version. So if I was going to make this plugin, I would have made the items customizable through a config.yml.
     
  8. onik

    onik Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    538
    Ratings:
    +141
    Ohh, ok. I thought you are going to make it public, because of the Version number in thread.
    But it looks really good maybe just realease it just4fun.
     
Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...