Compare commits
2 commits
2517b8392a
...
44928f037a
Author | SHA1 | Date | |
---|---|---|---|
44928f037a | |||
29ff0fbabc |
2 changed files with 36 additions and 0 deletions
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2024 hibobmaster
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
15
README.md
15
README.md
|
@ -1,2 +1,17 @@
|
|||
# 我的世界监控台
|
||||
用于查看我的世界服务器状态,并添加了重启功能
|
||||
|
||||
## 重启功能
|
||||
需要自行编写,一些shell脚本可参考
|
||||
|
||||
stop.sh
|
||||
```sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
mcrcon -H localhost -p "password" stop
|
||||
```
|
||||
|
||||
rcon客户端(mcrcon): https://github.com/Tiiffi/mcrcon
|
||||
|
||||
## 截图
|
||||
![demo](https://i.imgur.com/9fch4RN.jpg)
|
Loading…
Reference in a new issue