Skip to content

ServerLauncher - 一个服务器服务端管理工具,将服务端启动停止集成到一条命令,免得复制太多命令导致出错。

License

Notifications You must be signed in to change notification settings

xsxz01/ServerLauncher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServerLauncher

 

ServerLauncher

Github top language Github language count Repository size License Github issues Github forks Github stars

About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


🎯 About

A server launcher for starting and managing servers.

✨ Features

  • Start and manage the server with a single command
  • Support multiple servers
  • Easy to use
  • Use Rhai (A script as similar as Javascript with Lua) script to control the server

🚀 Plan

  • Custom startup commands
  • Custom stop commands
  • More features to come...

🚀 Technologies

The following tools were used in this project:

✅ Requirements

Before starting 🏁, you need to have Git and Node installed.

🏁 Install

  1. Install the binary executable cli.
cargo install ServerLauncher
  1. create the config file
mkdir  lua
touch lua/main.rhai
  1. And put it in the config file lua/main.rhai
fn start() {
    run_script("/data/BDZC/LogServer/", "start.sh", "");
}
fn stop() {
    run_script("/data/BDZC/LogServer/", "stop.sh", "");
}

start method: start the server
stop method: stop the server
run_script method: run the script,it has three parameters, the first is the path of the script, the second is the script name, the third is the script parameters.

🏁 Starting

# Clone this project
$ git clone https://github.com/xsxz01/ServerLauncher

# Access
$ cd ServerLauncher

# Build Binary Executable
$ cargo build

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤️ by Pang

 

Back to top

About

ServerLauncher - 一个服务器服务端管理工具,将服务端启动停止集成到一条命令,免得复制太多命令导致出错。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages