我的世界服務(wù)器啟動失敗
PS C:UsersAdministratorDesktopServer> java -Xmx1024M -Xms1024M -jar server.jar nogui[15:41:01] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'[15:41:02] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498][15:41:02] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0][15:41:02] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0][15:41:02] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498][15:41:02] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0][15:41:02] [main/INFO]: Reloading ResourceManager: Default[15:41:03] [Worker-Main-13/INFO]: Loaded 7 recipes[15:41:03] [Worker-Main-13/INFO]: Loaded 927 advancements[15:41:05] [Server thread/INFO]: Starting minecraft server version 1.16.5[15:41:05] [Server thread/INFO]: Loading properties[15:41:05] [Server thread/INFO]: Default game type: SURVIVAL[15:41:05] [Server thread/INFO]: Generating keypair[15:41:05] [Server thread/INFO]: Starting Minecraft server on *:25565[15:41:05] [Server thread/INFO]: Using default channel type[15:41:08] [Server thread/ERROR]: Encountered an unexpected exceptioncom.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected value at line 2 column 3 path $ at com.google.gson.Gson.fromJson(Gson.java:902) ~[server.jar:?] at com.google.gson.Gson.fromJson(Gson.java:825) ~[server.jar:?] at acy.f(SourceFile:118) ~[server.jar:?] at zf.y(SourceFile:95) ~[server.jar:?] at zf.<init>(SourceFile:22) ~[server.jar:?] at zg.d(SourceFile:169) ~[server.jar:?] at net.minecraft.server.MinecraftServer.w(SourceFile:645) ~[server.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:257) ~[server.jar:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]Caused by: com.google.gson.stream.MalformedJsonException: Expected value at line 2 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[server.jar:?] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:590) ~[server.jar:?] at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[server.jar:?] at com.google.gson.Gson.fromJson(Gson.java:883) ~[server.jar:?] ... 8 more[15:41:08] [Server thread/ERROR]: This crash report has been saved to: C:UsersAdministratorDesktopServer.crash-reportscrash-2021-05-16_15.41.08-server.txt[15:41:08] [Server thread/INFO]: Stopping server[15:41:08] [Server thread/INFO]: Saving worlds[15:41:08] [Server thread/ERROR]: Exception stopping the serverjava.lang.NullPointerException: null at net.minecraft.server.MinecraftServer.a(SourceFile:572) ~[server.jar:?] at net.minecraft.server.MinecraftServer.t(SourceFile:599) ~[server.jar:?] at zg.t(SourceFile:567) ~[server.jar:?] at net.minecraft.server.MinecraftServer.w(SourceFile:707) ~[server.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:257) ~[server.jar:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]PS C:UsersAdministratorDesktopServer>大佬們幫幫忙
我的世界服務(wù)器啟動失敗無法上圖
將軟件上傳到服務(wù)器上的安裝目錄,,第一次運行官方服務(wù)端核心java -jar minecraft-1.15.2-server.jar按照慣例,,第一次肯定失敗,需要修改eula.txt文件的eula=true
修改完成后,,第二次運行官方服務(wù)端核心
這一次直接可以加上參數(shù)運行,,等待啟動完成,出現(xiàn)Done字樣就可以快樂玩耍了,。