Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/apps/java-server docker-compose up -d; docker logs -f --tail 1 java-survival ✔ joshl@stronk
- Starting java-survival ... done
- ++ mc-image-helper get --json-path '$.latest.release' https://launchermeta.mojang.com/mc/game/version_manifest.json
- + VANILLA_VERSION=1.18.1
- + export VANILLA_VERSION
- + log 'Resolved version given LATEST into 1.18.1'
- + echo '[init] Resolved version given LATEST into 1.18.1'
- [init] Resolved version given LATEST into 1.18.1
- + cd /data
- + export ORIGINAL_TYPE=PAPER
- + ORIGINAL_TYPE=PAPER
- + isTrue false
- + local value=false
- + result=
- + case ${value} in
- + result=1
- + return 1
- + isTrue false
- + local value=false
- + result=
- + case ${value} in
- + result=1
- + return 1
- + versionLessThan 1.7
- + mc-image-helper compare-versions 1.18.1 lt 1.7
- + log 'Resolving type given PAPER'
- + echo '[init] Resolving type given PAPER'
- [init] Resolving type given PAPER
- + case "${TYPE^^}" in
- + exec /start-deployPaper
- + [[ -n '' ]]
- ++ jq '.builds[-1]'
- ++ curl -fsSL https://papermc.io/api/v2/projects/paper/versions/1.18.1 -H 'accept: application/json'
- + build=154
- + case $? in
- + '[' 0 '!=' 0 ']'
- ++ curl -fsSL https://papermc.io/api/v2/projects/paper/versions/1.18.1/builds/154 -H 'accept: application/json'
- ++ jq -r .downloads.application.name
- + export SERVER=paper-1.18.1-154.jar
- + SERVER=paper-1.18.1-154.jar
- + '[' 0 '!=' 0 ']'
- + '[' -f paper-1.18.1-154.jar ']'
- + log 'Removing old PaperMC versions ...'
- + echo '[init] Removing old PaperMC versions ...'
- [init] Removing old PaperMC versions ...
- + shopt -s nullglob
- + log 'Downloading PaperMC 1.18.1 (build 154) ...'
- + echo '[init] Downloading PaperMC 1.18.1 (build 154) ...'
- [init] Downloading PaperMC 1.18.1 (build 154) ...
- + curl -fsSL -o paper-1.18.1-154.jar https://papermc.io/api/v2/projects/paper/versions/1.18.1/builds/154/downloads/paper-1.18.1-154.jar -H 'accept: application/java-archive'
- + '[' 0 '!=' 0 ']'
- + export TYPE=SPIGOT
- + TYPE=SPIGOT
- + export FAMILY=SPIGOT
- + FAMILY=SPIGOT
- + export SKIP_LOG4J_CONFIG=true
- + SKIP_LOG4J_CONFIG=true
- + exec /start-spiget
- + extraCurlArgs=(-v)
- + :
- + : 5
- + [[ -n '' ]]
- + exec /start-setupWorld
- + '[' SPIGOT = CURSEFORGE ']'
- + worldDest=/data/world
- + [[ -n '' ]]
- + exec /start-setupDatapack
- + out_dir=/data/world/datapacks
- + isTrue false
- + local value=false
- + result=
- + case ${value} in
- + result=1
- + return 1
- + [[ -n '' ]]
- + [[ -n '' ]]
- + exec /start-setupModpack
- + CURSE_URL_BASE=https://minecraft.curseforge.com/projects
- + isTrue false
- + local value=false
- + result=
- + case ${value} in
- + result=1
- + return 1
- + [[ -n '' ]]
- + [[ -n '' ]]
- + [[ -n '' ]]
- + [[ -n '' ]]
- + [[ -n '' ]]
- + : ''
- + [[ -n '' ]]
- + exec /start-setupModconfig
- + isTrue true
- + local value=true
- + result=
- + case ${value} in
- + result=0
- + return 0
- + updateArg=--skip-newer-in-destination
- + isTrue true
- + local value=true
- + result=
- + case ${value} in
- + result=0
- + return 0
- + subcommand=sync-and-interpolate
- + '[' -d /plugins ']'
- + case ${TYPE} in
- + mkdir -p /data/plugins
- + log 'Copying plugins over...'
- + echo '[init] Copying plugins over...'
- [init] Copying plugins over...
- + mc-image-helper --debug=TRUE sync-and-interpolate --skip-newer-in-destination --replace-env-file-suffixes=yml,yaml,txt,cfg,conf,properties,hjson,json,tml,toml --replace-env-excludes= --replace-env-exclude-paths= --replace-env-prefix=CFG_ /plugins /data/plugins
- [mc-image-helper] 16:49:07.282 DEBUG : Configured with SyncAndInterpolate(skipNewerInDestination=true, replaceEnv=ReplaceEnvOptions(prefix=CFG_, excludes=[], excludePaths=[], suffixes=[yml, yaml, txt, cfg, conf, properties, hjson, json, tml, toml]), src=/plugins, dest=/data/plugins)
- [mc-image-helper] 16:49:07.297 DEBUG : ensuring destinationDirectory=/data/plugins
- + : /data/mods
- + '[' -d /mods ']'
- + : /data/config
- + '[' -d /config ']'
- + exec /start-setupServerProperties
- [init] Creating server.properties in /data/server.properties
- [init] Disabling whitelist functionality
- [init] Setting white-list to 'false' in /data/server.properties
- [init] WARNING: whitelist enabled but not enforced. Set ENFORCE_WHITELIST=TRUE or update 'enforce-whitelist' in server.properties to enforce the whitelist.
- [init] Setting enable-rcon to 'true' in /data/server.properties
- [init] Setting rcon.password to 'minecraft' in /data/server.properties
- [init] Setting rcon.port to '25575' in /data/server.properties
- [init] Setting motd to 'A Paper Minecraft Server powered by Docker' in /data/server.properties
- [init] DEBUG Dumping server.properties
- op-permission-level=4
- allow-nether=true
- level-name=world
- enable-query=false
- allow-flight=false
- announce-player-achievements=true
- server-port=25565
- rcon.port=25575
- query.port=25565
- level-type=DEFAULT
- enable-rcon=true
- force-gamemode=false
- level-seed=
- server-ip=
- max-tick-time=60000
- max-build-height=256
- spawn-npcs=true
- white-list=false
- spawn-animals=true
- hardcore=false
- snooper-enabled=true
- texture-pack=
- online-mode=true
- resource-pack=
- resource-pack-sha1=
- pvp=true
- difficulty=1
- enable-command-block=true
- player-idle-timeout=0
- gamemode=0
- max-players=20
- spawn-monsters=true
- generate-structures=true
- view-distance=10
- spawn-protection=16
- motd=A Paper Minecraft Server powered by Docker
- generator-settings=
- rcon.password=minecraft
- max-world-size=29999984
- broadcast-console-to-ops=true
- broadcast-rcon-to-ops=true
- enable-jmx-monitoring=false
- sync-chunk-writes=true
- enable-status=true
- entity-broadcast-range-percentage=100
- function-permission-level=2
- network-compression-threshold=256
- op-permission-level=4
- prevent-proxy-connections=false
- use-native-transport=true
- enforce-whitelist=false
- + versionLessThan 1.7.6
- + mc-image-helper compare-versions 1.18.1 lt 1.7.6
- + opsFile=ops.json
- + whitelistFile=whitelist.json
- + isTrue ''
- + local value=
- + result=
- + case ${value} in
- + result=1
- + return 1
- + '[' -n '' ']'
- + '[' -n '' ']'
- + isTrue ''
- + local value=
- + result=
- + case ${value} in
- + result=1
- + return 1
- + '[' -n '' ']'
- + '[' -n '' ']'
- + '[' -n '' ']'
- + canUseRollingLogs=true
- + versionLessThan 1.7
- + mc-image-helper compare-versions 1.18.1 lt 1.7
- + isFamily VANILLA
- + for f in "${@}"
- + [[ SPIGOT == \V\A\N\I\L\L\A ]]
- + return 1
- + isFamily VANILLA
- + for f in "${@}"
- + [[ SPIGOT == \V\A\N\I\L\L\A ]]
- + return 1
- + versionLessThan 1.18.1
- + mc-image-helper compare-versions 1.18.1 lt 1.18.1
- + isTrue false
- + local value=false
- + result=
- + case ${value} in
- + result=1
- + return 1
- + log 'Checking for JSON files.'
- + echo '[init] Checking for JSON files.'
- [init] Checking for JSON files.
- ++ find /data -maxdepth 1 -name '*.json'
- + JSON_FILES=
- + versionLessThan 1.14
- + mc-image-helper compare-versions 1.18.1 lt 1.14
- + [[ '' = false ]]
- + [[ '' = FALSE ]]
- + : 1G
- + : 1G
- + expandedDOpts=
- + '[' -n '' ']'
- + isTrue
- + local value=
- + result=
- + case ${value} in
- + result=1
- + return 1
- + isTrue ''
- + local value=
- + result=
- + case ${value} in
- + result=1
- + return 1
- + isTrue ''
- + local value=
- + result=
- + case ${value} in
- + result=1
- + return 1
- + isTrue ''
- + local value=
- + result=
- + case ${value} in
- + result=1
- + return 1
- + isTrue ''
- + local value=
- + result=
- + case ${value} in
- + result=1
- + return 1
- + [[ -n 1G ]]
- + log 'Setting initial memory to 1G and max to 1G'
- + echo '[init] Setting initial memory to 1G and max to 1G'
- [init] Setting initial memory to 1G and max to 1G
- + [[ -n 1G ]]
- + JVM_OPTS='-Xms1G '
- + [[ -n 1G ]]
- + JVM_OPTS='-Xmx1G -Xms1G '
- + mcServerRunnerArgs=(--stop-duration "${STOP_DURATION:-60}s" --named-pipe "${CONSOLE_IN_NAMED_PIPE:-/tmp/minecraft-console-in}")
- + [[ -n '' ]]
- + [[ SPIGOT == \C\U\R\S\E\F\O\R\G\E ]]
- + [[ SPIGOT == \C\U\R\S\E\F\O\R\G\E ]]
- + [[ -x run.sh ]]
- + '[' -f /data/bootstrap.txt ']'
- + log 'Starting the Minecraft server...'
- + echo '[init] Starting the Minecraft server...'
- [init] Starting the Minecraft server...
- + finalArgs=($JVM_XX_OPTS $JVM_OPTS $expandedDOpts -jar "$SERVER" "$@" $EXTRA_ARGS)
- + isTrue false
- + local value=false
- + result=
- + case ${value} in
- + result=1
- + return 1
- + isTrue ''
- + local value=
- + result=
- + case ${value} in
- + result=1
- + return 1
- + isTrue false
- + local value=false
- + result=
- + case ${value} in
- + result=1
- + return 1
- + exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx1G -Xms1G -jar paper-1.18.1-154.jar
- Downloading mojang_1.18.1.jar
- Applying patches
- Starting org.bukkit.craftbukkit.Main
- System Info: Java 17 (Eclipse OpenJ9 VM openj9-0.29.1) Host: Linux 5.10.0-10-amd64 (amd64)
- Loading libraries, please wait...
- 2022-01-16 16:49:40,486 ServerMain WARN Advanced terminal features are not available in this environment
- [16:50:30 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
- [16:50:31 INFO]: Found new data pack file/bukkit, loading it automatically
- [16:50:34 INFO]: Reloading ResourceManager: Default, bukkit
- [16:50:41 INFO]: Loaded 7 recipes
- [16:51:02 INFO]: Starting minecraft server version 1.18.1
- [16:51:02 INFO]: Loading properties
- [16:51:02 INFO]: This server is running Paper version git-Paper-154 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 5c74af2)
- [16:51:03 INFO]: Using 4 threads for Netty based IO
- [16:51:03 INFO]: Server Ping Player Sample Count: 12
- [16:51:03 INFO]: Default game type: SURVIVAL
- [16:51:03 INFO]: Generating keypair
- [16:51:10 INFO]: Starting Minecraft server on *:25565
- [16:51:11 INFO]: Using epoll channel type
- [16:51:11 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
- [16:51:11 INFO]: Paper: Using OpenSSL 1.1.x (Linux x86_64) cipher from Velocity.
- [16:51:11 INFO]: Preparing level "world"
- [16:52:26 INFO]: Preparing start region for dimension minecraft:overworld
- [16:52:30 INFO]: Preparing spawn area: 0%
- [16:52:30 INFO]: Time elapsed: 4202 ms
- [16:52:30 INFO]: Preparing start region for dimension minecraft:the_nether
- [16:52:33 INFO]: Time elapsed: 2111 ms
- [16:52:33 INFO]: Preparing start region for dimension minecraft:the_end
- [16:52:36 INFO]: Time elapsed: 2954 ms
- [16:52:36 INFO]: Starting remote control listener
- [16:52:36 INFO]: Thread RCON Listener started
- [16:52:36 INFO]: RCON running on 0.0.0.0:25575
- [16:52:36 INFO]: Running delayed init tasks
- [16:52:36 INFO]: Done (94.658s)! For help, type "help"
- [16:52:36 INFO]: Timings Reset
Advertisement
Add Comment
Please, Sign In to add comment