McWebserver
About the mod
This mod runs a simple HTTP server alongside the minecraft server. The mod allows You to host websites and share files and Server Backups directly from your server without the need of a seperate server setup. Adjust the port and design your website.
API
It also has a powerful API allowing you to fetch server info about players and the server itself. More info on the McWebserver-API's Docs page
The http server has up to no performance impact on the server
Fabric/Quilt support goes back to 1.17 Pre-release 1
Forge is currently only supported for 1.19 with no plans of back-porting. Forge support has ended.
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
For Setup and further Info, please refer to the Wiki
How to Install McWebserver (Mod)
McWebserver by Jonas_Jones is verified for Fabric, Forge, Quilt across Minecraft versions 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3 (latest release: 0.3.5, file size: 58 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3) and platform (Fabric, Forge, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Quilt.
- Move the downloaded McWebserver file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- port to 1.21
- ported to 1.20.6
- fixed mcweb command
- added Token Implementation
- added optional PHP support
- Fixed webserver not stopping properly
- Port to 1.20.3/.4
- Removed ticktime reference as it was removed from the game. The getticktime call of the API now results in a 404 Error
- Added new Server API for code easy server info fetching (more info at: https://github.com/J-onasJones/McWebserver/wiki/3.-Web%E2%80%90API)
- Fixed MIME identifiers being wrong with some file-types
- fixed verbose logger printing unnecessary message on server shutdown
- ported to 1.20.x
- fixed an issue where the server doesn't properly stop
- fixed an issue where external css was ignored by the browser
- fixed important security vulnerability where directories below the server's root directory could be accessed
- rewrote the server backend
- fixed important security vulnerability where directories below the server root directory could be accessed.
- server back-end rewrite




