
SpigotWeb 是一款创新的插件,它将基于轻量级 Jetty 的 Web 服务器直接集成到您的 Minecraft 服务器中。只需进行最少的设置,即可从服务器文件中的 www 目录提供自定义 Web 内容(HTML、CSS、JavaScript 等)——这使得它非常适合快速搭建仪表板、服务器状态页面或简单的 Web 集成,而无需依赖外部主机。
首次运行时,SpigotWeb 会自动创建一个 www 文件夹和一个包含“Hello World”页面的默认 index.html 文件。您可以使用自己的 Web 文件替换或扩展此内容。该插件处理传入的请求,并包含基本的请求日志记录功能,以帮助您监控访问情况。
主要特性包括:
内置 Jetty Web 服务器 – 无需外部托管。
在 Spigot、Paper 及其分支上均可正常工作,无任何问题。
可在 config.yml 中配置端口(默认为 8080)。
使用 /spigotwebreload 命令重新加载配置并重启 Web 服务器,而无需重启 Minecraft。
基于权限的控制(spigotweb.reload),确保安全管理。
可自定义重载、启动和关闭时的消息提示。
自动更新检查器和指标集成。
借助 SpigotWeb,服务器管理员可以快速启动一个与 Minecraft 服务器直接关联的轻量级 Web 服务——非常适合托管信息页面、控制面板或轻量级集成,完全兼容 Spigot、Paper 及其分支。

SpigotWeb is an innovative plugin that integrates a lightweight Jetty-based web server directly into your Minecraft server. With minimal setup, it allows you to serve custom web content (HTML, CSS, JavaScript, etc.) from a www directory within your server files—making it ideal for quick dashboards, server status pages, or simple web integrations without needing an external host.
On first run, SpigotWeb automatically creates a www folder and a default index.html file containing a “Hello World” page. You can replace or expand this content with your own web files. The plugin handles incoming requests and includes basic request logging to help you monitor access.
Key features include:
Built-in Jetty web server – no external hosting required.
Works on Spigot, Paper, and forks without any issues.
Configurable port (default 8080) set in config.yml.
/spigotwebreload command to reload configuration and restart the web server without restarting Minecraft.
Permission-based control (spigotweb.reload) for secure management.
Customizable messages for reload, startup, and shutdown.
Automatic update checker and metrics integration.
With SpigotWeb, server administrators can quickly spin up a lightweight web service tied directly to their Minecraft server—perfect for hosting information pages, control panels, or lightweight integrations—fully compatible with Spigot, Paper, and their forks.
评论 0
登录后参与评分
还没有评论,来抢沙发吧