Skip to content

Commit 0fb83a5

Browse files
authored
delete craftbukkit/spigot
1 parent 15ca09b commit 0fb83a5

File tree

1 file changed

+22
-72
lines changed

1 file changed

+22
-72
lines changed

Minecraft-server-auto-setup.bat

Lines changed: 22 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -82,39 +82,35 @@ echo:
8282
echo 請先選擇一個核心
8383
echo:
8484
echo 插件伺服器核心
85-
echo 1.Spigot
86-
echo 2.CraftBukkit
87-
echo 3.Paper (建議)
88-
echo 4.Purpur
85+
echo 1.Paper (建議)
86+
echo 2.Purpur
8987
echo:
9088
echo 分流伺服器核心
91-
echo 5.BungeeCord
92-
echo 6.Waterfall
93-
echo 7.Velocity
89+
echo 3.BungeeCord
90+
echo 4.Waterfall
91+
echo 5.Velocity
9492
echo:
9593
echo 模組伺服器核心
96-
echo 8.Fabric
97-
echo 9.Forge
94+
echo 6.Fabric
95+
echo 7.Forge
9896
echo:
9997
echo 其他類型核心
100-
echo 10.Folia
101-
echo 11.Vanilla(原版服)
98+
echo 8.Folia
99+
echo 9.Vanilla(原版服)
102100
echo:
103-
echo 12.使用自訂核心
101+
echo 10.使用自訂核心
104102
set choice=
105103
set /p choice= 請選擇一個(1~12):
106-
if '%choice%'=='1' goto dspigot
107-
if '%choice%'=='2' goto dcraftbukkit
108-
if '%choice%'=='3' goto dpaper
109-
if '%choice%'=='4' goto dpurpur
110-
if '%choice%'=='5' goto dbungeecord
111-
if '%choice%'=='6' goto dwaterfall
112-
if '%choice%'=='7' goto dvelocity
113-
if '%choice%'=='8' goto dfabric
114-
if '%choice%'=='9' goto dforge
115-
if '%choice%'=='10' goto dfolia
116-
if '%choice%'=='11' goto dvanilla
117-
if '%choice%'=='12' goto customcore
104+
if '%choice%'=='1' goto dpaper
105+
if '%choice%'=='2' goto dpurpur
106+
if '%choice%'=='3' goto dbungeecord
107+
if '%choice%'=='4' goto dwaterfall
108+
if '%choice%'=='5' goto dvelocity
109+
if '%choice%'=='6' goto dfabric
110+
if '%choice%'=='7' goto dforge
111+
if '%choice%'=='8' goto dfolia
112+
if '%choice%'=='9' goto dvanilla
113+
if '%choice%'=='10' goto customcore
118114
echo 輸入錯誤,請再試一次
119115
PAUSE
120116
cls
@@ -207,52 +203,6 @@ goto ngrok
207203
echo java -Xmx4096M -Xms1024M -jar server.jar nogui> StartServer.bat
208204
goto ngrok
209205

210-
:dcraftbukkit
211-
cls
212-
setlocal
213-
echo:
214-
echo 正在讀取最新版本資訊....
215-
curl -O https://raw.githubusercontent.com/MagicTeaMC/Minecraft-server-auto-setup/version/minecraft.txt >NUL 2>NUL
216-
set "file=./minecraft.txt"
217-
set /p "content="<"%file%"
218-
del minecraft.txt
219-
cls
220-
echo:
221-
echo 開始下載 CraftBukkit (MC version %content%)
222-
curl -O https://download.getbukkit.org/craftbukkit/craftbukkit-%content%.jar >NUL 2>NUL
223-
ren craftbukkit-%content%.jar server.jar
224-
cls
225-
echo:
226-
echo:
227-
echo:
228-
echo CraftBukkit (MC version %content%) 下載完成
229-
endlocal
230-
echo java -Xmx4096M -Xms1024M -jar server.jar nogui> StartServer.bat
231-
goto ngrok
232-
233-
:dspigot
234-
cls
235-
setlocal
236-
echo:
237-
echo 正在讀取最新版本資訊....
238-
curl -O https://raw.githubusercontent.com/MagicTeaMC/Minecraft-server-auto-setup/version/minecraft.txt >NUL 2>NUL
239-
set "file=./minecraft.txt"
240-
set /p "content="<"%file%"
241-
del minecraft.txt
242-
cls
243-
echo:
244-
echo 開始下載 Spigot (MC version %content%)
245-
curl -O https://download.getbukkit.org/spigot/spigot-%content%.jar >NUL 2>NUL
246-
ren spigot-%content%.jar server.jar
247-
cls
248-
echo:
249-
echo:
250-
echo:
251-
echo Spigot (MC version %content%) 下載完成
252-
endlocal
253-
echo java -Xmx4096M -Xms1024M -jar server.jar nogui> StartServer.bat
254-
goto ngrok
255-
256206
:dfabric
257207
cls
258208
setlocal
@@ -567,14 +517,14 @@ echo !a!>>$)
567517
move $ eula.txt
568518
cls
569519

520+
if '%choice%'=='3' goto allsetup
521+
if '%choice%'=='4' goto allsetup
570522
if '%choice%'=='5' goto allsetup
571523
if '%choice%'=='6' goto allsetup
572524
if '%choice%'=='7' goto allsetup
573525
if '%choice%'=='8' goto allsetup
574526
if '%choice%'=='9' goto allsetup
575527
if '%choice%'=='10' goto allsetup
576-
if '%choice%'=='11' goto allsetup
577-
if '%choice%'=='12' goto allsetup
578528

579529
md plugins >NUL 2>NUL
580530
:plugins

0 commit comments

Comments
 (0)