[INACTIVE][ADMN/WEB] BukkitHTTPD 0.0.4 - now with more themable signatures [1000]

Discussion in 'Inactive/Unsupported Plugins' started by codename_B, May 13, 2011.

  1. Offline

    codename_B

    BukkitHTTPD 0.0.4
    For simple HTML based sites, on the same ip as your server. With stats. And signatures.

    [​IMG]
    Now with automatic banner creation! This is an actual banner from my actual server!



    History:
    • So for quite a while now, I've been annoyed at the lack of a "default html" page in bukkit - I want something that I can just set my DNS to and not have to install NGINX or apache, I just want to install my minecraft server and let it run. Well this is just that! No extra programs to install, no extra config files to edit. Just place your html in the right place and it does the rest. Now you can finally have a landing page on the same ip as your server, run by your server! Example: my server
    Usage:
    • Download BukkitHTTP.jar and install in /plugins
    • Run the server once, then stop it.
    • Change the default index.html in /plugins/BukkitHTTPD/index.html to whatever you wish your small html based site to be.
    • Start the server again, once it's started navigate to localhost:8107 (or whatever port you have configured) on the machine the server is hosted on. This should display your index.html
    • There is several configurable options which you must add to server.properties.
    Code:
    http-daemon-port: 8107
    server-name=Localhost Test Server
    server-dns=localhost
    text-color=000000
    • If you want your server to listen on port 80 (ie the standard web port you will need to set it to something like this)
    Code:
    http-daemon-port: 80
    server-name=MyAwesomeMinecraftServer
    server-dns=my.ip.com
    text-color=FFFFFF
    Screenshot:
    [​IMG]


    Current Themes:
    • These are all the themes that I have created/have been created for you by players.
    [​IMG]
    Simple dirt theme. Just replace BukkitHTTPD.jpg with this.
    [​IMG]
    Simple sand theme. Just replace BukkitHTTPD.jpg with this.
    [​IMG]
    Elegance theme by @eastonch with no branding. Just replace BukkitHTTPD.jpg with this.
    [​IMG]
    Simple minecraft theme. Just replace BukkitHTTPD.jpg with this.
    [​IMG]
    Flow theme. Just replace BukkitHTTPD.jpg with this.

    Download:
    • Version 0.0.4 zip bundled with player stats and signature generator Megaupload Mirror
    • Version 0.0.4 zip bundled with player stats and signature generator Main Mirror
    Source
    Thanks:
    • Thanks to spacemaniac and pluckerpluck on #bukkitdev for their help with debugging the exception code.
    • Thanks to the original authors of NanoHTTPD, from which this plugin is based.
    A bit more about:
    • The default port number had to be above 1024 incase users were not running bukkit as root on their system, similar to my hosting setup. If you get a socket error of some kind after trying a port below 1024, this is probably because you're not running as root on a *nix system - windows users should be fine. In which case, you should just direct your users to :8107, talk to your host about running as root, or get a minecraft server from someone who offers extensive NAT configuration such as PigSaddleHost ie. my server listens and serves on port :8107, but you all connect to it on port :80 in your browsers. Fantastic! You can also do this yourself with iptables.
    • I'm also working on modding a version of MCStats to work plug and play with this - providing you with player stats on your webhost!
    • There is now a signature generator bundled with BukkitHTTPD! You can mod this with any image you like, just swap out BukkitHTTPD.jpg for any image of the same dimensions, it will work right away. This will be at yourip/image.png
    • If you have any questions about the stats plugin please ask on their thread. I have bundled a modified version of it with this plugin for ease of use, it will work straight out the box.
    NanoHTTPD License:

    Copyright © 2001,2005-2011 Jarno Elonen <[email protected]> and Copyright © 2010 Konstantinos Togias <[email protected]>
    Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    Changelog:
    • 14/05/2011 - v0.0.1: wrote source code and released plugin on bukkit.org after extensive testing and going live with it on my server.
    • 15/05/2011 - v0.0.2: changed default html page and bundled a stats plugin.
    • 25/05/2011 - v0.0.3: bundled themable banner creation.
    • 25/05/2011 - v0.0.4: added configurable color for the text. Changed output to .png
     
    Blechbuexse, JWhy, dark1256 and 3 others like this.
  2. Offline

    Mighty Mackinac

    So yeah, as soon as you bring this stuff in, my server will be freaking awesome.

    Here's the front page, if you wanna take a look. Site. Ill use the miniwebserver for stats and such and will link to it from the main site. The home page was a persistance thing. Wanted something that would always be up.

    But so far, freaking awesome plugin. Cant wait to see what comes next.
     
  3. Offline

    Oady

    So basically, if you have a domain website address, for example:
    serverdomainip.com
    Then this program can set that domain as your ip address?
    If so, then I will be the next downloader!

    Because what I am looking for is something that can give you a domain ip, instead of just horrible numbers. Please reply!

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

    Benny4298

    help me please...
    the web page isn't show me the pictures...
    excuse me for my bad english. i normally speak german
     
  5. Offline

    codename_B

    What is your html code? This is a webserver, much like apache, just with only html support.

    Link me to your site, and I will have a look at the html. Be assured this program has no problems with images, check the example site for an example.

    You're looking for this, http://www.no-ip.com/
    Please learn a little bit about how the internet works via http://google.com :)

    It can handle an infinite amount of pages, I only provide one sample page because that's all it needs.

    It also supports file downloads etc, you can put anything you want to on there for your users.

    No worries, I'm just glad that people find it useful :)

    Isn't that just plain html? This plugin could support that 100%

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  6. Great plugin! It is working but I'd like to set it to port 80 for browsing. But where do I do that? In server.properties there is no port configuration.
     
  7. Offline

    codename_B

    You add the line yourself, like is says in the plugin description.
    Paste your server.properties here, I'll add it for you if you like.
    Code:
    http-daemon-port: 80
    
    You literally just add that as an extra line in server.properties.
     
  8. Offline

    BlueFireGaming

    Looks very nice! Is it possible to use PHP when you have it installed on your PC?
     
  9. Offline

    codename_B

    No, if you want php you should install a fully fledged web server. This is for those who don't want something that heavyweight running on the same box as their minecraft server as this allows you to have a website and the minecraft server on the same box with no webserver install.
     
  10. Offline

    BlueFireGaming

    That's sad...
     
  11. Offline

    codename_B

    Version 0.0.2 is coming soon!

    Why is that sad?

    I've looked at implementing php but that would mean this plugin would end up 30mb in size and basically be a fully fledged webserver - it would also cause HORRENDOUS lag in the server itself. The whole point of this project was something lightweight (the plugin is like 3kb).

    Version 0.0.2 released!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  12. Offline

    BlueFireGaming

    Okay. I'll try to find something to replace PHP then... :)
     
  13. Offline

    codename_B

    How about html?
     
    cholo71796 likes this.
  14. Offline

    cholo71796

    FYI: v0.0.2 download is down.
     
  15. Offline

    codename_B

    No it isn't, what issues are you having?
     
  16. Offline

    cholo71796

    @codename_B
     
  17. Offline

    codename_B

  18. Offline

    cholo71796

  19. Offline

    A27hmad

    heey man i like your plugin :p but i cant test :( cuz Megaupload is banned in my country so..
    can you please upload it to mediafire or rapidshare or ... Any thing else :p thx
     
  20. Offline

    HEmile

    Oh thanks a lot! loving it :D
     
  21. Offline

    codename_B

    Glad to hear it :D
     
  22. Offline

    Th3Controller

    Hey I checked this out since it looked interesting. Can you tell me what it does? Cause I would enjoy running a server without hamachi. And btw I created a Bukkit account because of this. So please help me do this I would enjoy having a better server without buying one until the real game comes out though.
     
  23. Offline

    codename_B

    This creates a small website for your server, allowing you to serve static html and other files on any port you wish.

    If you don't want to use hamachi, you should setup port forwarding. That's beyond the scope of this plugin.
     
  24. Offline

    Th3Controller

    Oh, ok im kind of confused between of those things. I tried doing port forwarding servers but it doesnt seem to work you think you can help me? Btw ill still use this plugin since you got it straightened out.
     
  25. Offline

    codename_B

    Why don't you come on the #bukkit IRC and ask me for help port forwarding there?
     
  26. Offline

    Mighty Mackinac

    Its not just html, there is some PHP and CGI. But i'm using this site as an always on, server checker basically. wanted something users could go to to check if the server was ever down.
     
  27. Offline

    codename_B

    Well this will do that, plus you can have player stats! :D

    Check the player stats button out here http://ube.pigsaddle.com/
     
  28. Offline

    Mighty Mackinac

  29. Offline

    Th3Controller

    Lol sorry but what is a #bukkit IRC? I'm really sorry to bother. Im just new to MineCraft server administrating. I tried to look up help on youtube but they werent really helping. I need someone to chat with me live cause I really need to remove hamachi since its annoying cause you have to turn it on, join a room, disable firewall, and all sorts of stuff that. One time my friend couldnt log in to hamachi network until the next week we found out it was his firewall. And alot of my friends are confused with a simple program.
     
  30. Offline

    codename_B

    That's bundled with v0.0.2 ready to go, no setup required.

    You need to google to find out about IRC.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  31. Offline

    JamestheLeet

    I have my server port forwarded fine, but, when I try to port forward for this, it doesn't work.
    Could someone give me a port forwarding tutorial on this for a DD-WRT router?
     

Share This Page