[Open Source] Dynamic Minecraft Banner

Discussion in 'Bukkit Tools' started by totokaka, Nov 11, 2013.

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

    totokaka

    Some weeks ago I threw this dynamic minecraft banner together in Python just for fun. But it turned out quite cool and useful, so now I decided to publish it. It is just a link to a webpage that serves an image which dynamically updates based on wheter your server is up or not. It's perfect for forum signatures, server lists and server webpages!It supports both 1.7 and 1.6 servers, but currently it only displays it like in the server list of Minecraft 1.6. It supports only 1.7 and the images look like they're taken straight out of minecraft's server listing.
    Example:
    [​IMG]

    Features:
    • Colors in the MOTD and server name
    • Real ping
    • SRV lookup!
    • Bold text
    • Multi line MOTD, works the same way as it does in minecraft, so all multiline motds should show correctly
    How To:
    It's super easy, just fill out the form here.
    Show Spoiler

    I'm not really a web-guy. So I haven't made any site to set this up, but it's quite straight forward. from your browser just enter one of these lines in your adress field:
    Code:
    status.mclive.eu/<server name>/<server adress>/banner.png
    status.mclive.eu/<server name>/<server adress>/<port>/banner.png
    
    and replace "<server name>", "<server adress>" and "<port>" with the correct things for your server. If you want colors, just use §<color char> in front of the text. Then go to your adress bar and copy the link that's there. When you paste it, any §'s will be replaced with "%C2%A7" and ' ' will be replaced with %20, this is because spaces and §'s isn't really allowed in URLs.
    Example link: http://status.mclive.eu/Shotbow - USA/us.shotbow.net/banner.png


    Open Source?
    This is programmed in Python 3, and can be hosted by anyone who would like to. The source code is here. It uses Flask, as web-framework, Pillow, for image manipulation, and dnspython, for SRV lookups. Please note I do not give support on how to host this, I event struggeled a bit myself to get it working with uWSGI and nginx.

    Credits:
    • wiki.vg, for protocol specification, I used it for the network part
    • Andrew Tyler, for the Minecraftia font
    • @McLive, for hosting.
    To Do:
    • Modify the Minecraftia font to italics and bold-italics. I'll be happy if someone would do this, I don't think I'll ever bother to do it.
    Change Log:

    • 19/01-14 Moved host
    • 11/11-13 Published at the Bukkit forums
    • 21/12-13 Removed 1.7 and updated the style
    If you this this is a good tool please like this post. And if you think this is helping your server, please consider to [​IMG] some money.
     
  2. Offline

    HeroCC

    Great, but it cuts off my MOTD. Once it is fixed, I will use it.

    [​IMG]
     
  3. Offline

    totokaka

    Hmm, I'll just remove the cap then. If it crashes here, it will probabely crash in normal minecraft too...

    HeroCC Tada!

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

    HeroCC

    Yay! Thank you!
     
  5. Offline

    XD 3VIL M0NKEY

    totokaka
    Hey, would it be possible if you could make the IP text a different colour? So it's more visible, that'd be awesome!
     
  6. Offline

    Axe2760

    This is very awesome, thank you very much sir! Will use, are you allowed to modify it?
     
  7. Offline

    mattrick

    It's open source so I'm gunna guess yes.
     
  8. Offline

    totokaka

    XD 3VIL M0NKEY I'll look into a more visible gray color.

    Axe2760 mattrick16 Actually You aren't really allowed as of now. I haven't chose a license, so by law it's under the private domain.
    but I allow anyone to modify it however they want, but NOT to make any money out of it.
     
    mattrick16 likes this.
  9. Offline

    danjb2000

    Great idea, Nice If you want to show a server something about their MOTD on forums without advertising others on your list.
     
  10. Offline

    FuZeEclipse

  11. Offline

    totokaka

    New version!
    It has a new design, but no longer works with 1.6 :/
     
  12. Offline

    woutwoot

    Your service is currently down :(
     
  13. Offline

    totokaka

    The VPS it's running on is a bit unstable. Should be up now.
     
  14. Offline

    Mikgreg

    Will probably use when it has less downtime, my current banner cuts out 90% of my motd...
     
  15. Offline

    totokaka

  16. Offline

    totokaka

    Official host is now McLive!

    This means better uptime.
     
  17. Offline

    FightManiac

    Last edited by a moderator: Jun 5, 2016
  18. Offline

    McLive

    Use
    Code:
     [img]url[/img]
    So it's
    Code:
    [img]http://status.mclive.eu/HFSDGHSK-52FD5/mc.mcpassion.eu/banner.png[/img]
    for you
     
Thread Status:
Not open for further replies.

Share This Page