更新于 2026-01-11 01:19:44
一个多语言的生存战争(SurvivalCraft)社区网站,提供游戏资源下载、联机服务器信息、社区交流等功能。
克隆项目
git clone <repository-url> cd scweb
启动开发服务器
使用PHP内置服务器:
php -S localhost:8000
或使用提供的批处理文件:
RUN80.BAT
RUN443.BAT
run8080.bat
访问网站
打开浏览器访问:
http://localhost:8000
http://localhost
https://localhost
http://localhost:8080
scweb/ ├── .github/ # GitHub配置 │ └── workflows/ # CI/CD配置 ├── BETA_TEST/ # 测试相关文件 │ ├── README.md │ ├── online_server.php │ ├── php_network_check.php │ └── ping_server.php ├── DeployServerConfiguration/ # 部署服务器配置 │ ├── README.md │ ├── RUN443.BAT │ ├── httpd-scweb.conf │ └── httpd.conf ├── error/ # 错误页面 │ ├── 400.html # 400错误页 │ ├── 403.html # 403错误页 │ ├── 404.html # 404错误页 │ └── ... # 其他HTTP错误页 ├── mod_server/ # 游戏mod服务器下载模块 │ ├── 156server/ # 156服务器配置 │ ├── 232server/ # 232服务器配置 │ └── 67server/ # 67服务器配置 ├── scweb_res/ # 静态资源目录 │ ├── favicon.ico # 网站图标 │ ├── getCaptcha.jpg # 验证码图片 │ ├── logo.png # 网站Logo │ ├── index/ # index.php专用资源 │ │ ├── index_languages.js # 首页多语言配置 │ │ ├── index_main.css # 首页主样式 │ │ └── index_script.js # 首页JavaScript │ └── online_server/ # online_server.php专用资源 │ ├── online_server_languages.js # 服务器页面多语言配置 │ └── online_server_main.css # 服务器页面主样式 ├── .gitmodules # Git子模块配置 ├── README.md # 项目说明 ├── RUN443.BAT # HTTPS服务器启动脚本 ├── RUN80.BAT # HTTP服务器启动脚本 ├── git_push_run.bat # Git推送运行脚本 ├── httpd-scweb.conf # Apache配置文件(443端口) ├── httpd-scweb80.conf # Apache配置文件(80端口) ├── index.php # PHP版首页 ├── online_server.php # PHP版服务器页面 ├── ping_server.php # 服务器状态检查 ├── push.py # 推送相关脚本 ├── run8080.bat # 8080端口服务器启动脚本 ├── tcp_server.php # TCP服务器 └── udp_server.php # UDP服务器
语言配置文件分别位于:
scweb_res/index/index_languages.js
scweb_res/online_server/online_server_languages.js
包含以下翻译内容:
支持以下分类的搜索:
网站支持多种屏幕尺寸:
supported
names
scweb_res/index/index_main.css
scweb_res/online_server/online_server_main.css
scweb_res/index/index_script.js
LanguageManager
SearchManager
Utils
git checkout -b feature/AmazingFeature
git commit -m 'Add some AmazingFeature'
git push origin feature/AmazingFeature
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情(如果存在)
感谢所有为生存战争社区做出贡献的开发者和玩家们!
最后更新:2025年12月
scweb
生存战争社区网站
一个多语言的生存战争(SurvivalCraft)社区网站,提供游戏资源下载、联机服务器信息、社区交流等功能。
🌟 项目特性
🚀 快速开始
环境要求
安装步骤
克隆项目
启动开发服务器
使用PHP内置服务器:
或使用提供的批处理文件:
RUN80.BATRUN443.BATrun8080.bat访问网站
打开浏览器访问:
http://localhost:8000http://localhosthttps://localhosthttp://localhost:8080📁 项目结构
🌍 多语言支持
支持语言
语言配置
语言配置文件分别位于:
scweb_res/index/index_languages.jsscweb_res/online_server/online_server_languages.js包含以下翻译内容:
切换语言
📝 主要功能
1. 首页 (index.php)
2. 联机服务器 (online_server.php)
3. 搜索功能
支持以下分类的搜索:
4. 服务器管理模块 (mod_server/)
5. 网络服务模块
🛠️ 技术栈
📱 响应式设计
网站支持多种屏幕尺寸:
🔧 开发指南
添加新语言
scweb_res/index/index_languages.jsscweb_res/online_server/online_server_languages.jssupported数组names对象修改样式
scweb_res/index/index_main.cssscweb_res/online_server/online_server_main.cssJavaScript功能
scweb_res/index/index_script.jsLanguageManager类SearchManager类Utils对象📊 性能优化
🤝 贡献指南
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)📄 许可证
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情(如果存在)
📞 联系方式
🙏 致谢
感谢所有为生存战争社区做出贡献的开发者和玩家们!
最后更新:2025年12月