Skip to content

Commit 232a69e

Browse files
authored
Merge pull request #2 from gojue/update-mc
feat: rename and update references for MoLing to MoLing MineCraft
2 parents eced636 + 956e4d4 commit 232a69e

28 files changed

Lines changed: 294 additions & 277 deletions

.github/workflows/go-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
make clean
3434
TARGET_OS=${{ matrix.os }} TARGET_ARCH=${{ matrix.arch }} make env
3535
TARGET_OS=${{ matrix.os }} TARGET_ARCH=${{ matrix.arch }} make test
36-
- name: MoLing Build
36+
- name: MoLing MineCraft Build
3737
run: |
3838
make clean
3939
TARGET_OS=${{ matrix.os }} TARGET_ARCH=${{ matrix.arch }} make env

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: MoLing Release
1+
name: MoLing MineCraft Release
22
on:
33
push:
44
tags:
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
submodules: 'recursive'
2626
fetch-depth: 0
27-
- name: MoLing Build
27+
- name: MoLing MineCraft Build
2828
run: |
2929
make clean
3030
SNAPSHOT_VERSION=${{ github.ref_name }} TARGET_OS=${{ matrix.os }} TARGET_ARCH=${{ matrix.arch }} make env

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SHELL = /bin/bash
1111
.PHONY: env
1212
env:
1313
@echo ---------------------------------------
14-
@echo "MoLing Makefile Environment:"
14+
@echo "MoLing MineCraft Makefile Environment:"
1515
@echo ---------------------------------------
1616
@echo "SNAPSHOT_VERSION $(SNAPSHOT_VERSION)"
1717
@echo ---------------------------------------

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
English | [中文](./README_ZH_HANS.md) | [日本語](./README_JA_JP.md)
44

5-
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling/stargazers)
6-
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling/forks)
7-
[![CI](https://github.com/gojue/moling/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling/actions/workflows/go-test.yml)
8-
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling/releases)
5+
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling-minecraft/stargazers)
6+
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling-minecraft/forks)
7+
[![CI](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml)
8+
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling-minecraft/releases)
99

1010
---
1111

@@ -73,8 +73,8 @@ For example, to configure the Claude client, add the following configuration:
7373
```json
7474
{
7575
"mcpServers": {
76-
"MoLing": {
77-
"command": "/usr/local/bin/moling",
76+
"MoLing MineCraft": {
77+
"command": "/usr/local/bin/moling_mc",
7878
"args": []
7979
}
8080
}
@@ -100,38 +100,38 @@ Code, etc.
100100
#### Option 1: Install via Script
101101
##### Linux/MacOS
102102
```shell
103-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.sh)"
103+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.sh)"
104104
```
105105
##### Windows
106106

107107
> [!WARNING]
108108
> Not tested, unsure if it works.
109109
110110
```powershell
111-
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.ps1 | iex"
111+
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.ps1 | iex"
112112
```
113113

114114
#### Option 2: Direct Download
115-
1. Download the installation package from [releases page](https://github.com/gojue/moling/releases)
115+
1. Download the installation package from [releases page](https://github.com/gojue/moling-minecraft/releases)
116116
2. Extract the package
117117
3. Run the server:
118118
```sh
119-
./moling
119+
./moling_mc
120120
```
121121

122122
#### Option 3: Build from Source
123123
1. Clone the repository:
124124
```sh
125-
git clone https://github.com/gojue/moling.git
126-
cd moling
125+
git clone https://github.com/gojue/moling-minecraft.git
126+
cd moling_minecraft
127127
```
128128
2. Build the project (requires Golang toolchain):
129129
```sh
130130
make build
131131
```
132132
3. Run the compiled binary:
133133
```sh
134-
./bin/moling
134+
./bin/moling_mc
135135
```
136136

137137
### Usage

README_JA_JP.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
[English](./README.md) | [中文](./README_ZH_HANS.md) | 日本語
44

5-
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling/stargazers)
6-
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling/forks)
7-
[![CI](https://github.com/gojue/moling/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling/actions/workflows/go-test.yml)
8-
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling/releases)
5+
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling-minecraft/stargazers)
6+
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling-minecraft/forks)
7+
[![CI](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml)
8+
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling-minecraft/releases)
99

1010
---
1111

@@ -72,8 +72,8 @@ https://github.com/user-attachments/assets/229c4dd5-23b4-4b53-9e25-3eba8734b5b7
7272
```json
7373
{
7474
"mcpServers": {
75-
"MoLing": {
76-
"command": "/usr/local/bin/moling",
75+
"MoLing MineCraft": {
76+
"command": "/usr/local/bin/moling_mc",
7777
"args": []
7878
}
7979
}
@@ -98,38 +98,38 @@ MoLingはMCPクライアントを自動的に検出し、設定をインスト
9898
#### オプション1:スクリプトを使用してインストール
9999
##### Linux/MacOS
100100
```shell
101-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.sh)"
101+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.sh)"
102102
```
103103
##### Windows
104104

105105
> [!WARNING]
106106
> テストされていないため、動作するかどうかは不明です。
107107
108108
```powershell
109-
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.ps1 | iex"
109+
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.ps1 | iex"
110110
```
111111

112112
#### オプション2:直接ダウンロード
113-
1. [リリースページ](https://github.com/gojue/moling/releases)からインストールパッケージをダウンロード
113+
1. [リリースページ](https://github.com/gojue/moling-minecraft/releases)からインストールパッケージをダウンロード
114114
2. パッケージを解凍
115115
3. サーバーを実行:
116116
```sh
117-
./moling
117+
./moling_mc
118118
```
119119

120120
#### オプション3:ソースからビルド
121121
1. リポジトリをクローン:
122122
```sh
123-
git clone https://github.com/gojue/moling.git
124-
cd moling
123+
git clone https://github.com/gojue/moling-minecraft.git
124+
cd moling_minecraft
125125
```
126126
2. プロジェクトをビルド(Golangツールチェーンが必要):
127127
```sh
128128
make build
129129
```
130130
3. コンパイルされたバイナリを実行:
131131
```sh
132-
./bin/moling
132+
./bin/moling_mc
133133
```
134134

135135
### 使用方法

README_ZH_HANS.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
[English](./README.md) | 中文 | [日本語](./README_JA_JP.md)
44

5-
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling/stargazers)
6-
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling/forks)
7-
[![CI](https://github.com/gojue/moling/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling/actions/workflows/go-test.yml)
8-
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling/releases)
5+
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling-minecraft/stargazers)
6+
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling-minecraft/forks)
7+
[![CI](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml)
8+
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling-minecraft/releases)
99

1010
---
1111

@@ -70,8 +70,8 @@ https://github.com/user-attachments/assets/229c4dd5-23b4-4b53-9e25-3eba8734b5b7
7070
```json
7171
{
7272
"mcpServers": {
73-
"MoLing": {
74-
"command": "/usr/local/bin/moling",
73+
"MoLing MineCraft": {
74+
"command": "/usr/local/bin/moling_mc",
7575
"args": []
7676
}
7777
}
@@ -95,7 +95,7 @@ https://github.com/user-attachments/assets/229c4dd5-23b4-4b53-9e25-3eba8734b5b7
9595
#### 方法一: 脚本安装
9696
#### Linux/MacOS
9797
```shell
98-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.sh)"
98+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.sh)"
9999
```
100100

101101
##### Windows
@@ -104,31 +104,31 @@ https://github.com/user-attachments/assets/229c4dd5-23b4-4b53-9e25-3eba8734b5b7
104104
> 未测试,不确定是否正常。
105105
106106
```powershell
107-
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.ps1 | iex"
107+
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.ps1 | iex"
108108
```
109109

110110

111111
#### 方法二:直接下载
112-
1.[发布页面](https://github.com/gojue/moling/releases)下载安装包
112+
1.[发布页面](https://github.com/gojue/moling-minecraft/releases)下载安装包
113113
2. 解压安装包
114114
3. 运行服务器:
115115
```sh
116-
./moling
116+
./moling_mc
117117
```
118118

119119
#### 方法三:从源码编译
120120
1. 克隆代码库:
121121
```sh
122-
git clone https://github.com/gojue/moling.git
123-
cd moling
122+
git clone https://github.com/gojue/moling-minecraft.git
123+
cd moling_minecraft
124124
```
125125
2. 编译项目(需要Golang工具链):
126126
```sh
127127
make build
128128
```
129129
3. 运行编译后的程序:
130130
```sh
131-
./bin/moling
131+
./bin/moling_mc
132132
```
133133

134134
### 使用说明

cli/cmd/client.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*
17-
* Repository: https://github.com/gojue/moling
17+
* Repository: https://github.com/gojue/moling-minecraft
1818
*
1919
*/
2020

2121
package cmd
2222

2323
import (
24-
"github.com/gojue/moling/client"
24+
"github.com/gojue/moling-minecraft/client"
2525
"github.com/rs/zerolog"
2626
"github.com/spf13/cobra"
2727
"os"
@@ -30,11 +30,11 @@ import (
3030

3131
var clientCmd = &cobra.Command{
3232
Use: "client",
33-
Short: "Provides automated access to MoLing MCP Server for local MCP clients, Cline, Roo Code, and Claude, etc.",
33+
Short: "Provides automated access to MoLing MineCraft MCP Server for local MCP clients, Cline, Roo Code, and Claude, etc.",
3434
Long: `Automatically checks the MCP clients installed on the current computer, displays them, and automatically adds the MoLing MCP Server configuration to enable one-click activation, reducing the hassle of manual configuration.
3535
Currently supports the following clients: Cline, Roo Code, Claude
36-
moling client -l --list List the current installed MCP clients
37-
moling client -i --install Add MoLing MCP Server configuration to the currently installed MCP clients on this computer
36+
moling_mc client -l --list List the current installed MCP clients
37+
moling_mc client -i --install Add MoLing MCP Server configuration to the currently installed MCP clients on this computer
3838
`,
3939
RunE: ClientCommandFunc,
4040
}

cli/cmd/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414
//
15-
// Repository: https://github.com/gojue/moling
15+
// Repository: https://github.com/gojue/moling-minecraft
1616

1717
package cmd
1818

@@ -21,7 +21,7 @@ import (
2121
"context"
2222
"encoding/json"
2323
"fmt"
24-
"github.com/gojue/moling/services"
24+
"github.com/gojue/moling-minecraft/services"
2525
"github.com/rs/zerolog"
2626
"github.com/spf13/cobra"
2727
"os"

cli/cmd/perrun.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414
//
15-
// Repository: https://github.com/gojue/moling
15+
// Repository: https://github.com/gojue/moling-minecraft
1616

1717
package cmd
1818

1919
import (
20-
"github.com/gojue/moling/utils"
20+
"github.com/gojue/moling-minecraft/utils"
2121
"github.com/spf13/cobra"
2222
"path/filepath"
2323
)

0 commit comments

Comments
 (0)