MC java开服教学

以1.21.11为例

1.下载1.21.11服务端
https://piston-data.mojang.com/v1/objects/64bb6d763bed0a9f1d632ec347938594144943ed/server.jar

2.下载JAVA21
Java 8, 11, 17, 21, 25 Download for Linux, Windows and macOS

3.设置启动命令
java -jar *.jar

4.设置服务器端口
在server.properties文件里
server-port=
后跟服务商给你的端口

5.启动服务器
java -jar Vanilla-release-1.21.11.jar
Starting net.minecraft.server.Main
[18:00:19] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, profilesHost=https://api.mojang.com, name=PROD]
[18:00:21] [ServerMain/INFO]: Loaded 1470 recipes
[18:00:21] [ServerMain/INFO]: Loaded 1584 advancements
[18:00:21] [Server thread/INFO]: Starting minecraft server version 1.21.11
[18:00:21] [Server thread/INFO]: Loading properties
[18:00:21] [Server thread/INFO]: Default game type: SURVIVAL
[18:00:21] [Server thread/INFO]: Generating keypair
[18:00:21] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:30017
[18:00:21] [Server thread/INFO]: Preparing level "world"
[18:00:22] [Server thread/INFO]: Loading 0 persistent chunks…
[18:00:22] [Server thread/INFO]: Preparing spawn area: 100%
[18:00:22] [Server thread/INFO]: Time elapsed: 12 m
s

6.连接服务器
在mc客户端输入服务器ip,连接

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇