? QuizyW - Minecraft 服务器的简易 Web 托管插件
QuizyW 是一款轻量且易于使用的 Web 托管插件,允许你直接从 Minecraft 服务器托管多个网站。无论你是想创建服务器仪表盘、商店界面还是其他任何网页内容,QuizyW 都能使其变得简单高效。
? 主要功能:
• 同时托管多个网站
• 每个站点运行在独立的端口上
• 支持 HTML、CSS、JavaScript 和媒体文件
• 配置简单
• 实时重载,无需重启服务器
• 安全的文件服务
• 基于权限的管理
? 技术详情:
• 版本:1.0
• API 版本:1.21
• 依赖项:无
• 软依赖项:无
• 权限:quizyw.reload
?️ 配置:
每个网站都需要一个包含两个简单参数的 config.qz 文件:
• port: 网站的端口号
• main: 要提供的主要文件(通常是 index.html)
? 文件结构示例:
plugins/QuizyW/website1/
↳ config.qz
↳ index.html
↳ style.css
↳ script.js
? 命令:
/reloadweb - 重载所有 Web 服务器
权限:quizyw.reload
用法:/reloadweb
? 使用场景:
-
服务器仪表盘
• 显示服务器统计信息
• 显示在线玩家
• 服务器公告
-
商店界面
• 物品展示
• 购买系统
• 玩家余额
-
社区中心
• 服务器规则
• 工作人员列表
• 活动日历
-
文档
• 服务器指南
• 教程页面
• 常见问题解答 (FAQ)
⚡ 快速入门指南:
- 安装插件
- 在 plugins/QuizyW/ 中创建一个新文件夹
- 添加包含端口和主文件设置的 config.qz
- 添加你的网页文件
- 运行 /reloadweb
- 通过 :port 访问你的网站
? 安全特性:
• 防止路径遍历
• 资源访问控制
• 基于权限的管理
• 安全的文件服务
? 技巧与最佳实践:
• 为每个网站使用唯一的端口
• 保持文件名简单且全小写
• 部署前先在本地测试
• 定期备份网页内容
• 监控服务器日志以排查问题
⚠️ 要求:
• Minecraft 服务器 1.21+
• Java 17 或更高版本
• 开放用于 Web 访问的端口
• 足够的服务器内存
? 故障排除:
• 检查端口可用性
• 验证文件权限
• 确保文件路径正确
• 监控服务器日志
• 检查防火墙设置
? 支持的文件类型:
• HTML (.html)
• CSS (.css)
• JavaScript (.js)
• 图片 (.png, .jpg, .gif)
• 文本文件 (.txt)
• 以及更多!
? 更新与维护:
• 定期插件更新
• 安全补丁
• 功能新增
• Bug 修复
• 性能提升
? 文档:
完整文档请访问:
[Your Documentation URL]
? 支持:
• GitHub Issues
• Discord 社区
• 电子邮件支持
• Bug 报告
• 功能请求
为 Minecraft 社区 ❤️ 制作
? QuizyW - Simple Web Hosting Plugin for Minecraft Servers
QuizyW is a lightweight and easy-to-use web hosting plugin that allows you to host multiple websites directly from your Minecraft server. Whether you want to create a server dashboard, a shop interface, or any other web content, QuizyW makes it simple and efficient.
? Key Features:
• Host multiple websites simultaneously
• Each site runs on its own port
• Support for HTML, CSS, JavaScript, and media files
• Simple configuration
• Real-time reload without server restart
• Secure file serving
• Permission-based management
? Technical Details:
• Version: 1.0
• API Version: 1.21
• Dependencies: None
• Soft Dependencies: None
• Permissions: quizyw.reload
?️ Configuration:
Each website requires a config.qz file with two simple parameters:
• port: The port number for the website
• main: The main file to serve (usually index.html)
? File Structure Example:
plugins/QuizyW/website1/
↳ config.qz
↳ index.html
↳ style.css
↳ script.js
? Commands:
/reloadweb - Reloads all web servers
Permission: quizyw.reload
Usage: /reloadweb
? Use Cases:
-
Server Dashboard
• Display server statistics
• Show online players
• Server announcements
-
Shop Interface
• Item displays
• Purchase systems
• Player balances
-
Community Hub
• Server rules
• Staff listings
• Event calendars
-
Documentation
• Server guides
• Tutorial pages
• FAQ sections
⚡ Quick Start Guide:
- Install the plugin
- Create a new folder in plugins/QuizyW/
- Add config.qz with port and main file settings
- Add your web files
- Run /reloadweb
- Access your site at :port
? Security Features:
• Path traversal protection
• Resource access control
• Permission-based management
• Secure file serving
? Tips & Best Practices:
• Use unique ports for each website
• Keep file names simple and lowercase
• Test locally before deploying
• Regular backups of web content
• Monitor server logs for issues
⚠️ Requirements:
• Minecraft Server 1.21+
• Java 17 or higher
• Open ports for web access
• Sufficient server memory
? Troubleshooting:
• Check port availability
• Verify file permissions
• Ensure correct file paths
• Monitor server logs
• Check firewall settings
? Supported File Types:
• HTML (.html)
• CSS (.css)
• JavaScript (.js)
• Images (.png, .jpg, .gif)
• Text files (.txt)
• And more!
? Updates & Maintenance:
• Regular plugin updates
• Security patches
• Feature additions
• Bug fixes
• Performance improvements
? Documentation:
Full documentation available at:
[Your Documentation URL]
? Support:
• GitHub Issues
• Discord Community
• Email Support
• Bug Reports
• Feature Requests
Made with ❤️ for the Minecraft community
评论 0
登录后参与评分
还没有评论,来抢沙发吧