MinecraftBasicServer

MinecraftBasicServer

Docker 应用程序 from ich777's Repository

概述

This is a Basic Minecraft Server, with the basic configuration it will download and install a Vanilla Minecraft. You can also install a FTB (FeedTheBeast), Bukkit, Spigot,... server. Start the container for the first time let it do it's work and shut it down. After that copy over your favorite server executable (don't forget to set the Serverfile name to the same as you copied over) and start the container again. JAVA RUNTIME: Enter your prefered Runtime 'basicjre'=jre8, 'jre11'=jre11, 'jre15'=jre15 Don't change unless you are knowing what you are doing! Please keep in mind if you change the runtime you have to delete the old runtime before UPDATE: If you set the variable GAME_V to 'latest' the container will check on every restart if there is a newer version available (if set to 'latest' the variable JAR_NAME has to be 'server'). ATTENTION: Don't forget to accept the EULA down below and don't forget to edit the 'server.properties' file the server is by default configured to be a LAN server and to be not snooped. WEB CONSOLE: You can connect to the Minecraft console by opening your browser and go to HOSTIP:9011 (eg: 192.168.1.1:9011) or click on WebUI on the Docker page within Unraid.

运行时参数

网络用户界面
http://[IP]:[PORT:8080]/
网络
bridge
外壳
bash
特权
false
额外参数
--restart=unless-stopped

模板配置

ServerFilesPathrw

Container Path: /serverdata/serverfiles

目标
/serverdata/serverfiles
价值
/mnt/cache/appdata/minecraft
Serverfile nameVariable

Enter your executable jar file (Minecraft Serverfile) withouat the .jar extension.

目标
JAR_NAME
价值
server
Game versionVariable

If you set the variable GAME_V to 'latest' the container will check on every restart if there is a newer version available (if set to 'latest' the variable JAR_NAME has to be 'server' - available options are 'latest', 'custom' or simply leave empty).

目标
GAME_V
价值
latest
Extra Game ParametersVariable

Enter your extra startup parameters otherwise leave blank!

目标
GAME_PARAMS
Extra JVM ParametersVariable

Enter your extra startup parameters for the JVM otherwise leave blank! (Only change if you know what you are doing!!!)

目标
EXTRA_JVM_PARAMS
XMS SizeVariable

Enter your XMS size in MB (XMS=The initial and minimum heap size. It is recommended to set the minimum heap size equivalent to the maximum heap size in order to minimize the garbage collection.)

目标
XMS_SIZE
价值
1024
XMX SizeVariable

Enter your XMX size in MB (XMX=The maximum heap size. The performance will decrease if the max heap value is set lower than the amount of live data. It will force frequent garbage collections in order to free up space.)

目标
XMX_SIZE
价值
1024
TCP - Game PortPorttcp

Container Port: 25565

目标
25565
价值
25565
TCP2 - RCONPorttcp

Not required if not needed

目标
25575
价值
25575
TCP - WebConsolePorttcp

WebConsole (by default, you can connect to the Minecraft console by opening your browser and go to HOSTIP:9011 - eg: 192.168.1.1:9011 - or click on WebUI on the Docker page within Unraid).

目标
8080
价值
9011
Accept EULAVariable

Head over to: https://account.mojang.com/documents/minecraft_eula to read the EULA. (If you accept the EULA change the value to 'true' without quotes).

目标
ACCEPT_EULA
默认值
false
价值
false
Runtime NameVariable

Enter your prefered Runtime: 'basicjre'=jre8, 'jre11'=jre11, 'jre15'=jre15, 'jre16'=jre16, 'jre17'=jre17, 'jre21=jre21' Don't change unless you are knowing what you are doing!

目标
RUNTIME_NAME
价值
jre25
UIDVariable

Container Variable: UID

价值
99
GIDVariable

Container Variable: GID

价值
100

下载统计数据

995,154
下载总数
140
本月
171
平均每月

长期下载总量

加载图表...

详细信息

存储库
ghcr.io/ich777/minecraftbasicserver
最后更新2025-11-11
初见2019-05-25

在Unraid 上运行 MinecraftBasicServer 。

MinecraftBasicServer 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。