English | 简体中文
A command generator for Grasscutter with other awesome extras
Any requests are welcome
-
Generate command
-
Multi command version support
-
Save & Share & Import
-
Remote command (Need OpenCommand Plugin)
-
Multilingual support
The script read the GET
params in URL, you can provide some default param to the user
params | value field | description |
---|---|---|
version |
1.6.1 1.4.2 GM 1.2.1 |
command version |
lang |
navigator.language |
language |
server |
encodeURIComponent(URL) |
remote server host |
import |
encodeURIComponent(URL) |
import command |
Examples
https://cmd.d2n.moe/new?version=1.4.2&server=https%3A%2F%2Fgenshinserver.xmmt.fun%3A25568
command version is
1.4.2
, remote server ishttps://genshinserver.xmmt.fun:25568
https://cmd.d2n.moe/new?lang=en-US&import=./share/artifact.gmh
Language is
English
, import command from./share/artifact.gmh
-
git -clone
-
cd ./src
,npm install
,npm run build
(Use Vite) -
Configure
Nginx
, reverse proxy/opencommand
/status
, specify the target forwarding server throughHeader/reqip
-
cd ./api
npm start
-
Configure
Nginx
, proxy/api
, forward the requests tohttp://127.0.0.1:1919
See /builder/
, need nodejs
This framework supports multiple languages, Please help us to translate the page into your language!
- UI Content:
/lang/yourlang.json
- Template content:
/data/yourlang/CommandList-ver.json