Skip to content

Commit 644be36

Browse files
committed
2.2.0
1 parent 795e6e9 commit 644be36

File tree

6 files changed

+280
-61
lines changed

6 files changed

+280
-61
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/target
22
server.jar
33
eula.txt
4+
mcsast.config.json
45
.DS_Store

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[package]
22
name = "mcsast"
33
authors = ["MagicTeaMC <maoyue@maoyue.tw>"]
4-
description = "Minecraft server auto setup tool, simplified!"
4+
description = "Manage Paper / Purpur / Folia / Velocity server quickly and easily!"
55
version = "2.1.0"
6-
edition = "2021"
6+
edition = "2024"
77
license = "GPL-3.0"
88

99
[dependencies]
1010
clap = { version = "4.5.16", features = ["derive"] }
1111
colored = "2.1.0"
1212
inquire = "0.7.5"
1313
reqwest = { version = "0.12.7", features = ["blocking", "json"] }
14+
serde = { version = "1.0", features = ["derive"] }
1415
serde_json = "1.0.127"

README.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
1-
# MCSAST v2
1+
# MCSAST
22
[![Discord](https://img.shields.io/discord/891325967203729472?color=5865F2&label=discord&style=for-the-badge)](https://discord.gg/uQ4UXANnP2)
33

4-
Setup a new Paper / Purpur / Folia / Velocity server quickly and easily.
4+
Manage Paper / Purpur / Folia / Velocity server quickly and easily!
55
## Usage
66
Install via Cargo
77
```
88
cargo install mcsast
99
```
1010
Run with command
1111
```
12-
mcsast
12+
mcsast setup
1313
```
1414
Give information to us with terminal:
1515
<img width="1378" alt="image" src="https://github.com/user-attachments/assets/a4cdfe71-de7b-4aab-9fb7-cfd1052a7edb" />
1616

17+
## Commands
18+
### Setup a server
19+
```
20+
mcsast setup
21+
```
1722
If you want it to setup automantic, here is a command
1823
Note: Use `--mc-version=3.4.0-SNAPSHOT --eula=false` if you are installing Velocity
1924
```
20-
mcsast --software=paper --mc-version=1.21.1 --eula=true -y
25+
mcsast setup --software=paper --mc-version=1.21.1 --eula=true -y
26+
```
27+
### Update to latest build of current Minecraft version
28+
```
29+
mcsast update
30+
```
31+
### Upgrade Minecraft version
32+
```
33+
mcsast upgrade
34+
```
35+
or
2136
```
22-
## TODO
23-
- [ ] Update command
24-
- [ ] Modrinth support
25-
- [ ] Project config
37+
mcsast upgrade --version 1.21.6
38+
```

clean.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
rm -rf ./server.jar
2-
rm -rf ./eula.txt
2+
rm -rf ./eula.txt
3+
rm -rf ./mcsast.config.json

0 commit comments

Comments
 (0)