itzg-minecraft-server

itzg-minecraft-server

Docker 应用程序 from tatseo's Repository

概述

This docker image provides a Minecraft Server that will automatically download the latest stable version at startup. You can also run/upgrade to any specific version or the latest snapshot. It will also automatically download given modpacks. Every Variable you might want to change is added. For more information see the offical docs: hub.docker.com/r/itzg/minecraft-server/

运行时参数

网络
bridge
外壳
sh
特权
false
额外参数
--health-cmd='mc-health' --health-interval=5s --health-retries=20 --health-timeout=5s --health-start-period=1m

模板配置

Server Port TCPPorttcp
目标
25565
默认值
25565
价值
25565
Server Port UDPPortudp
目标
25565
默认值
25565
价值
25565
Server FilesPathrw
目标
/data
价值
/mnt/user/appdata/minecraft/
MemoryVariable

The image declares an initial and maximum Java memory-heap limit of 1 GB.

目标
MEMORY
默认值
1G
价值
1G
TimezoneVariable
目标
TZ
价值
Europe/Berlin
Server typeVariable

Options: - VANILLA - AUTO_CURSEFORGE - FTBA - MODRINTH - BUKKIT - SPIGOT - CANYON - FABRIC - FORGE - MAGMA - MAGMA_MAINTAINED - KETTING - MOHIST - CATSERVER - SPONGEVANILLA - LIMBO - CRUCIBLE - PAPER - QUILT

目标
TYPE
默认值
VANILLA
价值
VANILLA
Minecraft VersionVariable
目标
VERSION
默认值
LATEST
价值
LATEST
Message of the DayVariable
目标
MOTD
默认值
A Minecraft Docker Server
价值
A Minecraft Docker Server
DifficultyVariable

Options: - peaceful - easy - normal - hard

目标
DIFFICULTY
价值
easy
IconVariable

The url or file path for the icon image to use for the server. It will be downloaded, scaled, and converted to the proper format.

目标
ICON
Override IconVariable

The server icon which has been set doesn't get overridden by default. Set this to TRUE to override the icon

目标
OVERRIDE_ICON
默认值
FALSE
价值
FALSE
Hardcore ModeVariable

If set to true, players will be set to spectator mode if they die.

目标
HARDCORE
默认值
false
价值
false
World SeedVariable
目标
SEED
GamemodeVariable

Minecraft servers are configured to run in Survival mode by default. You can change the mode using MODE where you can either provide the standard numerical values or the shortcut values: creative survival adventure spectator(minecraft 1.8 or later)

目标
MODE
价值
survival
Server NameVariable
目标
SERVER_NAME
价值
A Docker Minecraft Server
Curseforge API KeyVariable

YOUR CurseForge (Eternal) API Key.

目标
CF_API_KEY
Curseforge URLVariable

Pass a page URL to the modpack or a specific file

目标
CF_PAGE_URL
Curseforge SlugVariable

Instead of a URL, the modpack slug can be provided.

目标
CF_SLUG
Curseforge Manual DownloadsPathrw

For mod, modpacks, and world files that are not allowed for automated download, the container path /downloads can be attached and matching files will be retrieved from there. The subdirectories mods, modpacks, and worlds will also be checked accordingly.

目标
/downloads
价值
/mnt/user/appdata/minecraft/downloads/
Max PlayersVariable
目标
MAX_PLAYERS
价值
20
Accept EULAVariable
目标
EULA
默认值
TRUE
价值
TRUE
Snooper EnableVariable

If set to false, the server will not send data to snoop.minecraft.net server.

目标
SNOOPER_ENABLED
默认值
true
价值
false
Spawn ProtectionVariable

Sets the area that non-ops can not edit (0 to disable)

目标
SPAWN_PROTECTION
价值
0
World GenerationVariable

For some of the level types, GENERATOR_SETTINGS can be used to further customize the world generation as described here.

目标
GENERATOR_SETTINGS
World TypeVariable

By default, a standard world is generated with hills, valleys, water, etc. A different level type can be configured by setting LEVEL_TYPE to an expected type listed here.

目标
LEVEL_TYPE
价值
minecraft:default
PVP ModeVariable

By default, servers are created with player-vs-player (PVP) mode enabled.

目标
PVP
价值
true
SavegameVariable

You can either switch between world saves or run multiple containers with different saves by using the LEVEL option

目标
LEVEL
价值
world
Server ConsoleVariable

If you would like to docker attach to the Minecraft server console with color and interactive capabilities, then set to true

目标
EXEC_DIRECTLY
默认值
false
价值
true
Stop Announce DelayVariable

To allow time for players to finish what they're doing during a graceful server shutdown, set STOP_SERVER_ANNOUNCE_DELAY to a number of seconds to delay after an announcement is posted by the server.

目标
STOP_SERVER_ANNOUNCE_DELAY
价值
30
Fabric Launcher VersionVariable
目标
FABRIC_LAUNCHER_VERSION
Fabric Loader VersionVariable
目标
FABRIC_LOADER_VERSION
Forge VersionVariable
目标
FORGE_VERSION

下载统计数据

419,968,126
下载总数
2,070,574
本月
1,781,737
平均每月

长期下载总量

加载图表...

详细信息

存储库
itzg/minecraft-server
最后更新2026-04-16
初见2020-09-10

在Unraid 上运行 itzg-minecraft-server 。

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