Mirror Control
中文版本
Usage
!!mirrorDisplays help message and portable management!!mirror start <server_name>Start the mirror server (including sync operation)!!mirror restart <server_name>Restart the mirror server (including sync operation)!!mirror stop <server_name>Stop the mirror server!!mirror sync <server_name>Sync the mirror server
server_name should be similar to default in the configuration file
Configuration file structure
Please modify the configuration file before using this plugin *but after you first start
* means items you need to modify
config.json
|- permission (int 1->4)
| |- start
| |- sync
| |- stop
| |- restart
|
|- this_server (str dir)
| |- work_directory *
|
|- server
|- default * (Change to whatever you want, just don't leave it as 'default'. It's ugly.) | |
| |- name * (Any server nickname you want)
| |- location * (An absolute address)
| |- target_server_location * (Its server directory location)
- |- command * (Start command. Can simply be filled in with 'start.bat' or 'sh start.sh') |
- |- rcon
| |- enable * (boolean true)
| |- port *
| |- passwd *
|
|- ...
自述文件来源:https://raw.githubusercontent.com/charassss/Mirror-Control/master/readme.md