SimpleWebServer
SimpleWebServer
A plugin for the Minecraft server software Bukkit that lets you host basic websites.
Commands
/sws - Lists the available commands /sws reload - Reloads the configuration file
Permissions
sws.* - Gives all permissions sws.reload - Allows you to reload the configuration file
Configuration
# Defines the port of the web server. Defaults to 8080.
#port: 8080
# Defines the binding address of the web server. Defaults to the server's IP address.
#binding-address: 0.0.0.0
# Defines the root folder of the web server. Defaults to the plugin's data folder.
#root-folder: ./
# Use plugin metrics. Defaults to true.
#plugin-metrics: true
# Checks for updates on startup. Defaults to true.
#update-check: true
Changelog
Version 0.3 - Added update checks. If a new version is available a notification is written to the log file.
Version 0.2 - Added changes to the configuration - Added PluginMetrics support
Version 0.1 - initial release
License
This software is licensed under the BSD license. This software is based on NanoHTTPD which is licensed under a modified BSD licence.
NanoHTTPD License (Modified BSD Licence)
Copyright © 2001, 2005-2012 Jarno Elonen elonen@iki.fi and Copyright © 2010 Konstantinos Togias info@ktogias.gr
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.
-
View User Profile
-
Send Message
Posted Jul 20, 2018This has so many errors in it. Would someone like to have a try at this I guess?
https://github.com/simsnet/simplewebserver
-
View User Profile
-
Send Message
Posted Jul 19, 2014@MUNNNATHAN
Your isp might be blocking 80 port. Try another port and see if it works then.
-
View User Profile
-
Send Message
Posted Jan 16, 2014@MUNNNATHAN
is any one there?
-
View User Profile
-
Send Message
Posted Jan 14, 2014i'm running 1.7.4 bukkit i have port forwarded the proper ports and i am running my website on port:80. i am having trouble accessing the site through my sub domain and public ip, and so are my friends,works on my localhost no port needed. i would like to know if there is any thing i need to fix. to access my website. thank you
-
View User Profile
-
Send Message
Posted Sep 15, 2013@Minecraft1415926
JdGui is your friend :)
-
View User Profile
-
Send Message
Posted Jun 17, 2013Where is the source code for this plugin? It's licensed under the BSD license (modified) and the license says the conditions for redistributing the source code. I looked in the plugin JAR file and there is only .class files.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@method27man
You can add an iFrame with the PHP script.
-
View User Profile
-
Send Message
Posted Mar 5, 2013@method27man
No.
-
View User Profile
-
Send Message
Posted Mar 5, 2013PHP script suport ?
-
View User Profile
-
Send Message
Posted Mar 2, 2013Lawl, Port 1256 works, so I have to find out, what is running on port 80. Thank you.
-
View User Profile
-
Send Message
Posted Mar 2, 2013@deleted_8873967
It seems that port 80 is already in use. Can you try a different port number and check if it works? Try something above 1024 since the ports 0-1024 are usually reserved for the OS.
-
View User Profile
-
Send Message
Posted Mar 2, 2013Well, I already asked myself, why the values are commented, so I removed the "#" in front of all the values, but then I get "[Warning] [SimpleWebServer] The web server could not be started." so I thougt, it is wrong to do so. My config looks like this:
-
View User Profile
-
Send Message
Posted Mar 2, 2013@deleted_8873967
Hello,
I've double checked on different servers and everything's working fine. Please make sure to uncomment the port setting, since it's disabled by default. This would cause the server to fallback to the port 8080. Reload the configuration by using the /sws reload command.
-
View User Profile
-
Send Message
Posted Mar 1, 2013Found a bug: Website is only reachable with your_ip_or_domain:8080, so it does not matter wich port you define in the config, the server always uses 8080
-
View User Profile
-
Send Message
Posted Feb 9, 2013Thanks for da explaination
-
View User Profile
-
Send Message
Posted Feb 9, 2013@smbadat
Hello smbadat,
this plugin spawns a webserver so you can host websites through bukkit. Since this is just a plugin, bukkit has to be running on your pc/remote server. So yes, your pc has to be running aswell.
-
View User Profile
-
Send Message
Posted Feb 8, 2013how does this work does it like create a online host for your server so other people can play even if your pc is off or does your pc have to be on? pls reply in da comments area
-
View User Profile
-
Send Message
Posted Dec 20, 2012@BigBlackBoris
Hello,
FastCGI is not supported by SimpleWebServer. To answer the first part of your question, you can define the binding address of the current web server instance in the config file, if that's what you mean.
-
View User Profile
-
Send Message
Posted Dec 20, 2012Can we create virtual hosts or make FastCGI proxies with it?