Uniport-Webserver 1.2

HTML(incl.PHP) Server on SAME port as MCServer

  1. Miner952x
    Contributors:
    Caucho Technology (Quercus as PHP)
    Do you want to have your own website, but your hoster gave you only a single port? Here is the solution: The Webserver on the same port.

    Working for 1.7.x and 1.8.x

    How to install?

    1. Paste the folders from the .zip into your bukkit.jar or spigot.jar (open them with 7zip or WinRar, a JAR = a renamed ZIP, copy the net-folder into jar, and be done.)
    2. Paste the UniportWebserver.jar from the .zip into your plugins folder
    3. Start the server
    4. Add your (html, css, php, png, jpg, ...) files to the UniportWebserver folder inside the plugins folder

    Want to make a download button? Just add "?download" to your file (not working for .php of course)

    Want to use PHP features? No problem eighter. This plugin (full version) uses Quercus http://quercus.caucho.com/quercus-3.1/doc/quercus.xtp (it's fast and support's Java imports, too). - the standart methods like date() still are not included, but there is a Java synonyme.

    Want to use Templates? You might run into a lot of problems; best try to create the site on your own. If you don't want to, try to use big files always form external servers or split them (for scripts very little problem (can be compressed, too); a html page never needs to be >10kB, images just should be uploaded elsewhere but they could be set together via Javascript)

    Don't know how to make an html? Look for tutorials on youtube, e.g.

    1.7.2 Bug: File transfer breaks when a file is bigger than 256kB (giant for .html!). To solve this problem you have to split your files. Big pictures should be uploaded elsewhere (e.g. http://www.fotos-hochladen.net/ is free)

    Want to use your own plugin for the HTTP management? Just react to the HTTPRequestEvent. (see http://dev.bukkit.org/bukkit-plugins/uniport-webserver/)

    Images

    1. icon.png
    mat41997 likes this.

Recent Updates

  1. Special chars and space in url - Fix

Recent Reviews

  1. CuidaBrutosYT
    CuidaBrutosYT
    3/5,
    Version: 1.2
    07.04 05:09:55 [Server] INFO java.lang.NoClassDefFoundError: net/webbukkit/HTTPRequestEvent
    07.04 05:09:55 [Server] ERROR Error occurred while enabling UniportWebserver v1.2 (Is it up to date?)
    07.04 05:09:55 [Server] INFO [UniportWebserver] Set use_PHP_basics to true.
    07.04 05:09:55 [Server] INFO [UniportWebserver] Set logMissingPages to true.
    07.04 05:09:55 [Server] ERROR [UniportWebserver] Plugin UniportWebserver v1.2 has failed to register events for class me.antonio.noack.webbukkit.WebBukkit because net/webbukkit/HTTPRequestEvent does not exist.

    Alredy Uploaded All..
  2. WeeHee
    WeeHee
    4/5,
    Version: 2016-01-10
    I dont have tried i yet but its cool you can host the webserver at same port like cbpwin said not for beginners but try make a website i'm only 12 years old and have maked a website with only code no templates
  3. cbpwin
    cbpwin
    5/5,
    Version: 2016-01-10
    Excellent And Also Wow but i dont think some players know about making website.html this plugin just Not For Biggener
  4. mat41997
    mat41997
    5/5,
    Version: 2016-01-10
    Awesome plugin! works perfectly, i'm gonna use this for my server!
    All things are configurable and the plugin is very easy to understand!
    1. Miner952x
      Author's Response
      Thanks :)