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.
- Contributors:
- Caucho Technology (Quercus as PHP)
Working for 1.7.x and 1.8.x
How to install?
- 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.)
- Paste the UniportWebserver.jar from the .zip into your plugins folder
- Start the server
- 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/)

Uniport-Webserver 1.2
HTML(incl.PHP) Server on SAME port as MCServer