1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
networks:
1panel-network:
external: true
services:
mc:
image: henryhe613/cursed-walking:v1.0.1
container_name: mc-cursedwalking
tty: true
stdin_open: true
networks:
- 1panel-network
ports:
- "0.0.0.0:25565:25565"
- "0.0.0.0:25575:25575" # 如果不需要rcon可以注释掉
environment:
- HTTP_PROXY=http://xray:1081 # 配置代理。加快下载
- HTTPS_PROXY=http://xray:1081
- NO_PROXY=127.0.0.1,localhost,xray
volumes:
- ./data:/minecraft
working_dir: /minecraft
command: bash start.sh
rcon-web: # 可选
image: itzg/rcon
container_name: mc-cursedwalking-rcon
networks:
- 1panel-network
environment:
RWA_USERNAME: admin
RWA_PASSWORD: admin
RWA_ADMIN: "TRUE"
RWA_RCON_HOST: mc-cursedwalking
RWA_RCON_PASSWORD: "changethis" # 记得改为自己设置的password
ports:
- "0.0.0.0:4326:4326"
- "0.0.0.0:4327:4327"

第一次启动会自动下载cursed-walking整合包,所以需要在第一次启动后手动将elua.txt``文件中改为true