mirror of
https://gitee.com/cssfw/tmgsl.git
synced 2026-03-28 09:01:36 +08:00
16
README/Features_en.md
Normal file
16
README/Features_en.md
Normal file
@@ -0,0 +1,16 @@
|
||||
## Features
|
||||
#### Automatically Play Background Music Randomly
|
||||
TMGSL includes a built-in PHP script that automatically plays background music at random. Simply place your desired music files (mp3/ogg/wav formats) into the **music** folder.
|
||||
|
||||
#### Automatically Detect Server Gamemode, Max Players, and Map
|
||||
TMGSL can automatically identify the server's gamemode, maximum number of players, and current map, displaying them in the "Info" section on the far right.
|
||||
|
||||
## Index.html Configuration
|
||||
#### Basic Functions
|
||||
The main configuration of the webpage is located in the `body` section of **Index.html**.
|
||||
> You can refer to the comments within to modify it accordingly.
|
||||
|
||||
## music.php Configuration
|
||||
#### Basic Functions
|
||||
**music.php** contains the configuration for the content and reading of the music folder.
|
||||
> You can refer to the comments within to modify it accordingly.
|
||||
16
README/Features_zh.md
Normal file
16
README/Features_zh.md
Normal file
@@ -0,0 +1,16 @@
|
||||
## 功能
|
||||
#### 自动随机播放背景音乐
|
||||
TMGSL里面自带一个自动随机播放背景音乐的PHP脚本,只需要把你想要的音乐文件(mp3/ogg/wav格式)放入文件夹中的**music**文件夹
|
||||
|
||||
#### 自动识别服务器模式,最大人数,地图
|
||||
TMGSL可以自动识别服务器模式,最大人数,地图并显示在最右侧“信息”一栏
|
||||
|
||||
## Index.html配置
|
||||
#### 基本功能
|
||||
在**Index.html**的`body`一栏中,有网页的主要配置
|
||||
> 可自行查阅其中注释来配合修改
|
||||
|
||||
## music.php配置
|
||||
#### 基本功能
|
||||
在**music.php**中有配置音乐文件夹的内容与读取
|
||||
> 可自行查阅其中注释来配合修改
|
||||
28
README/README_en.md
Normal file
28
README/README_en.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# The MINT Gmod Server Loader (TMGSL)
|
||||
# Introduction
|
||||
**TMGSL** is the loading page for the MINT server in the game Gmod. Based on the template from [Gmodload](https://physgun.com/gmodload/).
|
||||
|
||||
# Usage
|
||||
Please follow the steps below to install this plugin:
|
||||
|
||||
1. Go to the [Releases page](https://github.com/MeowServer/HintServiceMeow/releases) and download the latest `TMGSL.tar.gz` file.
|
||||
2. If PHP is already installed on the server, place it directly into the web directory; if not, refer to the [PHP installation documentation](https://www.php.net/manual/zh/install.general.php).
|
||||
3. Paste these files into the web directory folder, then restart Nginx/Apache to complete the installation.
|
||||
|
||||
# Documentation
|
||||
Here are some useful resources to help you get started quickly:
|
||||
- [Feature Configuration](Features_en.md)
|
||||
- [Web Server Installation (LINUX)](https://cloud.tencent.com/developer/article/2605046)
|
||||
- [Web Server Installation (WINDOWS)](https://old.xp.cn/phpstudy-v8/)
|
||||
- [PHP Documentation](https://www.php.net/manual/zh/index.php)
|
||||
|
||||
# Frequently Asked Questions
|
||||
|
||||
### 1. Why does it not work after placing it in the web directory?
|
||||
- Ensure that **TMGSL** is installed correctly.
|
||||
- Check whether the **PHP** plugin is enabled.
|
||||
- Verify whether the web server (Nginx/Apache) has been restarted.
|
||||
|
||||
### 2. Why is there no background music?
|
||||
- Because modern browsers block autoplay by default, but it works within the GMOD game.
|
||||
- If background music cannot be played in GMOD, it may be due to a low version of the **PHP** plugin; consider using PHP version 7.3 or higher.
|
||||
30
README/README_zh.md
Normal file
30
README/README_zh.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# The MINT Gmod Server Loader(TMGSL)
|
||||
# 简介
|
||||
**TMGSL** 是gmod这款游戏中MINT服务器的加载页面。基于[Gmodload](https://physgun.com/gmodload/)中的模板
|
||||
|
||||
# 使用
|
||||
|
||||
请按照以下步骤安装该插件:
|
||||
|
||||
1. 进入 [发行页面](https://github.com/MeowServer/HintServiceMeow/releases),下载最新的 `TMGSL.tar.gz` 文件。
|
||||
2. 如果服务器已经安装了PHP,则直接放入Web目录,如果没有参考[PHP安装文档](https://www.php.net/manual/zh/install.general.php)
|
||||
3. 将这些文件粘贴到WEB目录文件夹中,然后重启Nginx/Apache完成安装。
|
||||
|
||||
# 文档
|
||||
|
||||
以下是一些有用的资源,帮助您快速上手:
|
||||
- [功能配置](Features_zh.md)
|
||||
- [WEB服务器安装(LINUX)](https://cloud.tencent.com/developer/article/2605046)
|
||||
- [WEB服务器安装(WINDOWS)](https://old.xp.cn/phpstudy-v8/)
|
||||
- [PHP文档](https://www.php.net/manual/zh/index.php)
|
||||
|
||||
# 常见问题
|
||||
|
||||
### 1. 为什么放入WEB目录后没有工作?
|
||||
- 请确保 **TMGSL** 已正确安装。
|
||||
- 检查是否有启动 **PHP** 插件。
|
||||
- 查看是否有重启WEB服务器(Nginx/Apache)。
|
||||
|
||||
### 2. 为什么没有背景音乐?
|
||||
- 因为现代浏览器默认禁止自动播放音乐,但是GMOD游戏内可以
|
||||
- 如果GMOD游戏内无法播放背景音乐,可能是 **PHP** 插件版本过低,考虑使用PHP7.3以上版本
|
||||
Reference in New Issue
Block a user