Run a Website and powerful API alongside your server
Find a file
2023-03-16 21:15:31 +01:00
gradle/wrapper Added base mod 2022-07-24 23:58:39 +02:00
libs some fixes I assume 2023-03-04 21:40:09 +01:00
src/main some fixes I assume 2023-03-04 21:40:09 +01:00
.gitignore Added missing gitignore file 2022-07-26 20:05:16 +02:00
build.gradle some fixes I assume 2023-03-04 21:40:09 +01:00
gradle.properties first changes towards 1.19.4 2023-03-16 21:15:31 +01:00
gradlew Added base mod 2022-07-24 23:58:39 +02:00
gradlew.bat Added base mod 2022-07-24 23:58:39 +02:00
LICENSE Added base mod 2022-07-24 23:58:39 +02:00
README.md Fix Modrinth badges 2023-01-21 21:00:48 -05:00
settings.gradle Added base mod 2022-07-24 23:58:39 +02:00

McWebserver

This is the fabric port, the Forge version is available here

License Discord CF Modrinth GitHub all releases

About the mod

This mod runs a simple HTTP server alongside the minecraft server in seperate threads. The mod allows You to host websites, share files and Server Backups directly from your server without the need of a seperate server setup. Adjust the port and design your website.

The http server has up to no performance impact on the server on idle and only slightly affects it for a short amount of time (usually a couple milliseconds) when a user visits the website or requests a file.

Currently no ssl encryption is implemented yet and therefore HTTPS isn't possible, but it's coming soon(TM).

Warning

If used wrongly this mod can be a security risk for your server and all devices connected to the network that your server is in.

Do only put files into your webservers root directory that you want to be accessible to the internet. Those files are public to the entire world.

Use at your own risk!

Setup

  1. Head over to modrinth or curseforge and download the correct version of the mod into your mods folder.
  2. Restart Your Minecraft Server and let the mod create the config file. The webserver will be offline by default.
  3. In the config file, enable the webserver and adjust all settings if needed.
  4. Add the following files to your Webservers root directory:
    • index.html (the homepage)
    • 404.html (the website that shows up if a request is sent for a file that doesn't exist on the server)
    • not_supported.html (this is page is very unlikely to show up at any time and isn't necessary)
  5. Restart your Minecraft server and You're good to go!