Console spam and unable to connect on Paper 1.7.10 (IMAGE SPECIFIC)
Describe the problem
When using this specific image, with TYPE=PAPER and VERSION=1.7.10, when the server starts, the console is spammed with 'Unknown command. Type "/help" for help.'
Symptoms
- Container logs are spammed with the "Unknown command" message.
- Players are unable to get past the "Logging in" screen.
docker exec <container> rcon-clihangs when executing on the container.
Other symptoms
- The thread "Server console handler" OOMs on occasion while the server is starting, followed by other threads crashing for OOM.
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Server console handler"
Troubleshooting
- Paper for 1.8.8 and 1.12.2 was tried, as well as Vanilla for 1.7.10, but none exhibited the issue.
- Three different computers with varying operating systems and hardware were tried, and all exhibited the issue.
- The jar extracted from a running itzg/minecraft-server container does not exhibit the issue.
- Injecting a different, working jar into the container using
CUSTOM_JAR_EXECstill causes the issue to be exhibited. - Using
EXEC_DIRECTLY=TRUEstill causes the issue to be exhibited. - RCON was disabled, but the server still exhibited the issue.
Hypotheses
- Newlines are being sent to the jar's command line interface in an infinite loop somewhere in the start scripts, hogging server resources.
- stdin is never empty of newlines, causing the command interpreter to fill up memory while reading them.
Container definition
docker run -p 25565:25565 -e EULA=TRUE -e TYPE=PAPER -e VERSION=1.7.10 --rm itzg/minecraft-server:latest
Container logs
[init] Running as uid=1000 gid=1000 with /data as 'drwxr-x--- 2 1000 1000 4096 Sep 19 20:08 /data'
[init] Image info: buildtime=2025-09-21T14:11:02.982Z,version=java21,revision=d1da61d0deef83a1e04ddc7e0cd15e8fd01d0fbf
[init] Resolving type given PAPER
[mc-image-helper] 18:54:28.738 INFO : Downloaded /data/paper-1.7.10-2025.jar
[init] Copying any plugins from /plugins to /data/plugins
[init] Copying any configs from /config to /data/config
[init] Creating server properties in /data/server.properties
[init] Disabling whitelist functionality
[mc-image-helper] 18:54:33.312 INFO : Created/updated 4 properties in /data/server.properties
[mc-image-helper] 18:54:35.555 INFO : Downloading /data/paper.yml from https://raw.githubusercontent.com/Shonz1/minecraft-default-configs/main/1.7.10/paper.yml
[init] Setting initial memory to 1G and max to 1G
[init] Starting the Minecraft server...
Downloading vanilla jar...
Patching vanilla jar...
WARNING: This Minecraft update alters the way in which saved data is stored.
Please ensure your server is in the correct online/offline mode state, as the changes made are PERMANENT
If you are running in offline mode, but your BungeeCord is in online mode, it is imperative that BungeeCord support is enabled in spigot.yml and BungeeCord's config.yml
By typing `yes` you acknowledge that you have taken the necessary backups and are aware of this conversion
Please type yes to continue starting the server. You have been warned :)
See http://www.spigotmc.org/wiki/uuid-conversion/ if you have any questions and remember BACKUP BACKUP BACKUP
=================================================================================
Starting server in 10 seconds
This PaperSpigot build only supports Minecraft 1.7.x and 1.8.x clients!
*** It is imperative that backups be taken before running this build on your server! ***
Please report issues directly to Paper, and always ensure you're up-to-date!
*** Any bug reports not running the very latest version of the software will be ignored ***
[Log4jPatcher] [INFO] Transforming org/apache/logging/log4j/core/lookup/JndiLookup
[Log4jPatcher] [INFO] Transforming org/apache/logging/log4j/core/pattern/MessagePatternConverter
[Log4jPatcher] [WARN] Unable to find noLookups:Z field in org/apache/logging/log4j/core/pattern/MessagePatternConverter
java.lang.NoSuchFieldException: modifiers
at java.base/java.lang.Class.getDeclaredField(Unknown Source)
at org.github.paperspigot.PaperSpigotConfig.stackableBuckets(PaperSpigotConfig.java:199)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.github.paperspigot.PaperSpigotConfig.readConfig(PaperSpigotConfig.java:84)
at org.github.paperspigot.PaperSpigotConfig.init(PaperSpigotConfig.java:62)
at org.github.paperspigot.PaperSpigotConfig.<clinit>(PaperSpigotConfig.java:40)
at net.minecraft.server.v1_7_R4.ItemBucket.<init>(ItemBucket.java:18)
at net.minecraft.server.v1_7_R4.Item.l(Item.java:114)
at net.minecraft.server.v1_7_R4.DispenserRegistry.b(SourceFile:358)
at net.minecraft.server.v1_7_R4.MinecraftServer.main(MinecraftServer.java:821)
at org.bukkit.craftbukkit.Main.main(Main.java:199)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at io.papermc.paperclip.Paperclip.main(Paperclip.java:58)
[18:54:53 INFO]: Starting minecraft server version 1.7.10
[18:54:53 INFO]: Loading properties
[18:54:53 WARN]: WARNING: By using this server you are indicating your agreement to Mojang's EULA (https://account.mojang.com/documents/minecraft_eula)
[18:54:53 WARN]: If you do not agree to the above EULA please stop this server and remove it from your system immediately.
[18:54:53 WARN]: The server will start in 10 seconds, you will only see this message and have to wait this one time.
[18:55:03 INFO]: Default game type: SURVIVAL
[18:55:03 INFO]: This server is running CraftBukkit version git-PaperSpigot-ab9e48b (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
[18:55:03 INFO]: Unable to find file banned-players.json, creating it.
[18:55:03 INFO]: Unable to find file banned-ips.json, creating it.
[18:55:03 INFO]: Unable to find file ops.json, creating it.
[18:55:03 INFO]: Unable to find file whitelist.json, creating it.
[18:55:03 INFO]: Debug logging is disabled
[18:55:03 INFO]: Server Ping Player Sample Count: 12
[18:55:03 INFO]: Using 4 threads for Netty based IO
[18:55:03 WARN]: java.lang.NoSuchFieldException: modifiers
[18:55:03 WARN]: at java.base/java.lang.Class.getDeclaredField(Unknown Source)
[18:55:03 WARN]: at org.github.paperspigot.PaperSpigotConfig.stackableBuckets(PaperSpigotConfig.java:199)
[18:55:03 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
[18:55:03 WARN]: at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[18:55:03 WARN]: at org.github.paperspigot.PaperSpigotConfig.readConfig(PaperSpigotConfig.java:84)
[18:55:03 WARN]: at org.github.paperspigot.PaperSpigotConfig.init(PaperSpigotConfig.java:62)
[18:55:03 WARN]: at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:148)
[18:55:03 WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:494)
[18:55:03 WARN]: at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)
[18:55:03 INFO]: Generating keypair
[18:55:03 INFO]: Starting Minecraft server on *:25565
[18:55:03 INFO]: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system unstability.
[18:55:03 INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[18:55:03 INFO]: Preparing level "world"
[18:55:03 INFO]: -------- World Settings For [world] --------
[18:55:03 INFO]: Nerfing mobs spawned from spawners: false
[18:55:03 INFO]: Anti X-Ray: true
[18:55:03 INFO]: Engine Mode: 1
[18:55:03 INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[18:55:03 INFO]: Replace Blocks: [1, 5]
[18:55:03 INFO]: Mob Spawn Range: 4
[18:55:03 INFO]: Cactus Growth Modifier: 100%
[18:55:03 INFO]: Cane Growth Modifier: 100%
[18:55:03 INFO]: Melon Growth Modifier: 100%
[18:55:03 INFO]: Mushroom Growth Modifier: 100%
[18:55:03 INFO]: Pumpkin Growth Modifier: 100%
[18:55:03 INFO]: Sapling Growth Modifier: 100%
[18:55:03 INFO]: Wheat Growth Modifier: 100%
[18:55:03 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[18:55:03 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[18:55:03 INFO]: Alternative Hopper Ticking: false
[18:55:03 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[18:55:03 INFO]: Random Lighting Updates: false
[18:55:03 INFO]: Structure Info Saving: true
[18:55:03 INFO]: Sending up to 5 chunks per packet
[18:55:03 INFO]: Max Entity Collisions: 8
[18:55:03 INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[18:55:03 INFO]: Max TNT Explosions: 100
[18:55:03 INFO]: View Distance: 10
[18:55:03 INFO]: Chunks to Grow per Tick: 650
[18:55:03 INFO]: Clear tick list: false
[18:55:03 INFO]: Experience Merge Radius: 3.0
[18:55:03 INFO]: Item Despawn Rate: 6000
[18:55:03 INFO]: Item Merge Radius: 2.5
[18:55:03 INFO]: Arrow Despawn Rate: 1200
[18:55:03 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[18:55:03 INFO]: Zombie Aggressive Towards Villager: true
[18:55:03 INFO]: -------- World Settings For [world] --------
[18:55:03 INFO]: Player blocking damage multiplier set to 0.5
[18:55:03 INFO]: Remove invalid mob spawner tile entities: true
[18:55:03 INFO]: Squids will spawn between Y: 45.0 and Y: 63.0
[18:55:03 INFO]: Max height for cactus growth 3. Max height for reed growth 3
[18:55:03 INFO]: Living Entity Despawn Ranges: Soft: 32 Hard: 128
[18:55:03 INFO]: WorldServer TickNextTickList cap set at 10000
[18:55:03 INFO]: WorldServer TickNextTickList cap always processes redstone: false
[18:55:03 INFO]: Keep spawn chunk loaded: true
[18:55:03 INFO]: World async lighting: false
[18:55:03 INFO]: Water over lava flow speed: 5
[18:55:03 INFO]: Inverted Redstone Lamps: false
[18:55:03 INFO]: Allow undead horse types to be leashed: true
[18:55:04 INFO]: -------- World Settings For [world_nether] --------
[18:55:04 INFO]: Nerfing mobs spawned from spawners: false
[18:55:04 INFO]: Anti X-Ray: true
[18:55:04 INFO]: Engine Mode: 1
[18:55:04 INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[18:55:04 INFO]: Replace Blocks: [1, 5]
[18:55:04 INFO]: Mob Spawn Range: 4
[18:55:04 INFO]: Cactus Growth Modifier: 100%
[18:55:04 INFO]: Cane Growth Modifier: 100%
[18:55:04 INFO]: Melon Growth Modifier: 100%
[18:55:04 INFO]: Mushroom Growth Modifier: 100%
[18:55:04 INFO]: Pumpkin Growth Modifier: 100%
[18:55:04 INFO]: Sapling Growth Modifier: 100%
[18:55:04 INFO]: Wheat Growth Modifier: 100%
[18:55:04 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[18:55:04 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[18:55:04 INFO]: Alternative Hopper Ticking: false
[18:55:04 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[18:55:04 INFO]: Random Lighting Updates: false
[18:55:04 INFO]: Structure Info Saving: true
[18:55:04 INFO]: Sending up to 5 chunks per packet
[18:55:04 INFO]: Max Entity Collisions: 8
[18:55:04 INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[18:55:04 INFO]: Max TNT Explosions: 100
[18:55:04 INFO]: View Distance: 10
[18:55:04 INFO]: Chunks to Grow per Tick: 650
[18:55:04 INFO]: Clear tick list: false
[18:55:04 INFO]: Experience Merge Radius: 3.0
[18:55:04 INFO]: Item Despawn Rate: 6000
[18:55:04 INFO]: Item Merge Radius: 2.5
[18:55:04 INFO]: Arrow Despawn Rate: 1200
[18:55:04 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[18:55:04 INFO]: Zombie Aggressive Towards Villager: true
[18:55:04 INFO]: -------- World Settings For [world_nether] --------
[18:55:04 INFO]: Player blocking damage multiplier set to 0.5
[18:55:04 INFO]: Remove invalid mob spawner tile entities: true
[18:55:04 INFO]: Squids will spawn between Y: 45.0 and Y: 63.0
[18:55:04 INFO]: Max height for cactus growth 3. Max height for reed growth 3
[18:55:04 INFO]: Living Entity Despawn Ranges: Soft: 32 Hard: 128
[18:55:04 INFO]: WorldServer TickNextTickList cap set at 10000
[18:55:04 INFO]: WorldServer TickNextTickList cap always processes redstone: false
[18:55:04 INFO]: Keep spawn chunk loaded: true
[18:55:04 INFO]: World async lighting: false
[18:55:04 INFO]: Water over lava flow speed: 5
[18:55:04 INFO]: Inverted Redstone Lamps: false
[18:55:04 INFO]: Allow undead horse types to be leashed: true
[18:55:04 INFO]: -------- World Settings For [world_the_end] --------
[18:55:04 INFO]: Nerfing mobs spawned from spawners: false
[18:55:04 INFO]: Anti X-Ray: true
[18:55:04 INFO]: Engine Mode: 1
[18:55:04 INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[18:55:04 INFO]: Replace Blocks: [1, 5]
[18:55:04 INFO]: Mob Spawn Range: 4
[18:55:04 INFO]: Cactus Growth Modifier: 100%
[18:55:04 INFO]: Cane Growth Modifier: 100%
[18:55:04 INFO]: Melon Growth Modifier: 100%
[18:55:04 INFO]: Mushroom Growth Modifier: 100%
[18:55:04 INFO]: Pumpkin Growth Modifier: 100%
[18:55:04 INFO]: Sapling Growth Modifier: 100%
[18:55:04 INFO]: Wheat Growth Modifier: 100%
[18:55:04 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[18:55:04 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[18:55:04 INFO]: Alternative Hopper Ticking: false
[18:55:04 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[18:55:04 INFO]: Random Lighting Updates: false
[18:55:04 INFO]: Structure Info Saving: true
[18:55:04 INFO]: Sending up to 5 chunks per packet
[18:55:04 INFO]: Max Entity Collisions: 8
[18:55:04 INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[18:55:04 INFO]: Max TNT Explosions: 100
[18:55:04 INFO]: View Distance: 10
[18:55:04 INFO]: Chunks to Grow per Tick: 650
[18:55:04 INFO]: Clear tick list: false
[18:55:04 INFO]: Experience Merge Radius: 3.0
[18:55:04 INFO]: Item Despawn Rate: 6000
[18:55:04 INFO]: Item Merge Radius: 2.5
[18:55:04 INFO]: Arrow Despawn Rate: 1200
[18:55:04 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[18:55:04 INFO]: Zombie Aggressive Towards Villager: true
[18:55:04 INFO]: -------- World Settings For [world_the_end] --------
[18:55:04 INFO]: Player blocking damage multiplier set to 0.5
[18:55:04 INFO]: Remove invalid mob spawner tile entities: true
[18:55:04 INFO]: Squids will spawn between Y: 45.0 and Y: 63.0
[18:55:04 INFO]: Max height for cactus growth 3. Max height for reed growth 3
[18:55:04 INFO]: Living Entity Despawn Ranges: Soft: 32 Hard: 128
[18:55:04 INFO]: WorldServer TickNextTickList cap set at 10000
[18:55:04 INFO]: WorldServer TickNextTickList cap always processes redstone: false
[18:55:04 INFO]: Keep spawn chunk loaded: true
[18:55:04 INFO]: World async lighting: false
[18:55:04 INFO]: Water over lava flow speed: 5
[18:55:04 INFO]: Inverted Redstone Lamps: false
[18:55:04 INFO]: Allow undead horse types to be leashed: true
[18:55:04 INFO]: Preparing start region for level 0 (Seed: 6544417944097485249)
[18:55:05 INFO]: Preparing spawn area: 8%
[18:55:06 INFO]: Preparing spawn area: 23%
[18:55:07 INFO]: Preparing spawn area: 40%
[18:55:08 INFO]: Preparing spawn area: 56%
[18:55:09 INFO]: Preparing spawn area: 75%
[18:55:10 INFO]: Preparing spawn area: 95%
[18:55:10 INFO]: Preparing start region for level 1 (Seed: 6544417944097485249)
[18:55:11 INFO]: Preparing spawn area: 15%
[18:55:12 INFO]: Preparing spawn area: 31%
[18:55:13 INFO]: Preparing spawn area: 69%
[18:55:14 INFO]: Preparing spawn area: 98%
[18:55:15 INFO]: Preparing start region for level 2 (Seed: 6544417944097485249)
[18:55:16 INFO]: Preparing spawn area: 62%
[18:55:16 INFO]: Done (12.977s)! For help, type "help" or "?"
[18:55:16 INFO]: Starting remote control listener
[18:55:16 INFO]: RCON running on 0.0.0.0:25575
[18:55:16 INFO]: Unknown command. Type "/help" for help.
[18:55:16 INFO]: Unknown command. Type "/help" for help.
[18:55:16 INFO]: Unknown command. Type "/help" for help.
...and so on and so on...
With that old of a version you should be using Java 8 I think. Refer to
https://docker-minecraft-server.readthedocs.io/en/latest/versions/java/
You're missing the -it argument which enabled interactive, pseudy TTY. Refer to
https://docker-minecraft-server.readthedocs.io/en/latest/#intro
With that:
docker run -p 25565:25565 -e EULA=TRUE -e TYPE=PAPER -e VERSION=1.7.10 --rm -it itzg/minecraft-server:java8
Thank you! I believe the tty option was the part I was missing. I was dumbfounded why this specific version with this specific pluginloader didn't work. The java version tag doesn't seem to matter in my case; my Paper 1.7.10 server works fine on latest.