HTTPSMC
HttpsMC 允许你直接从 Minecraft 服务器托管一个小型网站,并使用游戏内的书籍进行编辑。
功能
在 Paper/Spigot 服务器内部嵌入 HTTP 服务器
提供 HTML、CSS 和 JavaScript 服务
使用书与笔在游戏内编辑:
/html → index.html
/css → style.css
/js → script.js
通过 /opensite 命令生成可点击的网站链接
适用于家庭服务器或支持额外 TCP 端口的托管服务器
在你的服务器上实现近乎免费的网页托管
要求
Paper 或 Spigot 1.21.x
Java 17+
用于公网访问的额外端口(或仅限 localhost)
快速入门
将 JAR 文件放入 plugins/ 目录
启动服务器
配置 plugins/HTTPSMC/config.yml
重启服务器
运行 /html 命令,编辑书籍并签名
通过 /opensite 打开网站
重要安全说明
HTTPSMC 仅设计用于静态公开内容。
此插件提供 HTML、CSS 和 JavaScript 文件的服务
它不提供身份验证、管理面板、数据库或用户账户
它不处理密码、登录、Cookie 或私有数据
所有提供的内容都应视为公开信息
内置 Web 服务器使用 HTTP(而非 HTTPS)。
只要不提供敏感或私有信息,这是可以接受的。
安全使用场景
✅ 着陆页
✅ 信息类网站
✅ 前端演示
✅ 公开状态页面
✅ 学习/测试环境
请勿用于
❌ 登录系统
❌ 管理面板
❌ 私有 API
❌ 数据库
❌ 任何需要保密或加密的功能
如果你需要安全或私有的 Web 功能,请使用带有 HTTPS 和身份验证的正确 Web 服务器。
HTTPSMC
HttpsMC lets you host a small website directly from your Minecraft server and edit it in-game using books.
Features
Embedded HTTP server inside your Paper/Spigot server
Serves HTML, CSS, and JavaScript
In-game editing with Book & Quill:
/html → index.html
/css → style.css
/js → script.js
Clickable website link with /opensite
Works on home servers or hosts with extra TCP ports
Effectively free web hosting on your server
Requirements
Paper or Spigot 1.21.x
Java 17+
Extra port for public access (or localhost)
Quick Start
Drop the JAR into plugins/
Start the server
Configure plugins/HTTPSMC/config.yml
Restart
Run /html, edit the book, sign it
Open the site via /opensite
Important Security Note
HTTPSMC is designed for static, public content only.
This plugin serves HTML, CSS, and JavaScript files
It does not provide authentication, admin panels, databases, or user accounts
It does not handle passwords, logins, cookies, or private data
All content served should be considered public
The built-in web server uses HTTP (not HTTPS).
This is acceptable as long as no sensitive or private information is served.
Safe Use Cases
✅ Landing pages
✅ Informational websites
✅ Front-end demos
✅ Public status pages
✅ Learning / testing environments
Do NOT use for
❌ Login systems
❌ Admin panels
❌ Private APIs
❌ Databases
❌ Anything requiring secrecy or encryption
If you need secure or private web functionality, use a proper web server with HTTPS and authentication instead.
评论 0
登录后参与评分
还没有评论,来抢沙发吧