gofireworks

Untitled

Jan 16th, 2022
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.41 KB | None | 0 0
  1.   ~/apps/java-server  docker-compose up -d; docker logs -f --tail 1 java-survival  ✔  joshl@stronk
  2. Starting java-survival ... done
  3. ++ mc-image-helper get --json-path '$.latest.release' https://launchermeta.mojang.com/mc/game/version_manifest.json
  4. + VANILLA_VERSION=1.18.1
  5. + export VANILLA_VERSION
  6. + log 'Resolved version given LATEST into 1.18.1'
  7. + echo '[init] Resolved version given LATEST into 1.18.1'
  8. [init] Resolved version given LATEST into 1.18.1
  9. + cd /data
  10. + export ORIGINAL_TYPE=PAPER
  11. + ORIGINAL_TYPE=PAPER
  12. + isTrue false
  13. + local value=false
  14. + result=
  15. + case ${value} in
  16. + result=1
  17. + return 1
  18. + isTrue false
  19. + local value=false
  20. + result=
  21. + case ${value} in
  22. + result=1
  23. + return 1
  24. + versionLessThan 1.7
  25. + mc-image-helper compare-versions 1.18.1 lt 1.7
  26. + log 'Resolving type given PAPER'
  27. + echo '[init] Resolving type given PAPER'
  28. [init] Resolving type given PAPER
  29. + case "${TYPE^^}" in
  30. + exec /start-deployPaper
  31. + [[ -n '' ]]
  32. ++ jq '.builds[-1]'
  33. ++ curl -fsSL https://papermc.io/api/v2/projects/paper/versions/1.18.1 -H 'accept: application/json'
  34. + build=154
  35. + case $? in
  36. + '[' 0 '!=' 0 ']'
  37. ++ curl -fsSL https://papermc.io/api/v2/projects/paper/versions/1.18.1/builds/154 -H 'accept: application/json'
  38. ++ jq -r .downloads.application.name
  39. + export SERVER=paper-1.18.1-154.jar
  40. + SERVER=paper-1.18.1-154.jar
  41. + '[' 0 '!=' 0 ']'
  42. + '[' -f paper-1.18.1-154.jar ']'
  43. + log 'Removing old PaperMC versions ...'
  44. + echo '[init] Removing old PaperMC versions ...'
  45. [init] Removing old PaperMC versions ...
  46. + shopt -s nullglob
  47. + log 'Downloading PaperMC 1.18.1 (build 154) ...'
  48. + echo '[init] Downloading PaperMC 1.18.1 (build 154) ...'
  49. [init] Downloading PaperMC 1.18.1 (build 154) ...
  50. + 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'
  51. + '[' 0 '!=' 0 ']'
  52. + export TYPE=SPIGOT
  53. + TYPE=SPIGOT
  54. + export FAMILY=SPIGOT
  55. + FAMILY=SPIGOT
  56. + export SKIP_LOG4J_CONFIG=true
  57. + SKIP_LOG4J_CONFIG=true
  58. + exec /start-spiget
  59. + extraCurlArgs=(-v)
  60. + :
  61. + : 5
  62. + [[ -n '' ]]
  63. + exec /start-setupWorld
  64. + '[' SPIGOT = CURSEFORGE ']'
  65. + worldDest=/data/world
  66. + [[ -n '' ]]
  67. + exec /start-setupDatapack
  68. + out_dir=/data/world/datapacks
  69. + isTrue false
  70. + local value=false
  71. + result=
  72. + case ${value} in
  73. + result=1
  74. + return 1
  75. + [[ -n '' ]]
  76. + [[ -n '' ]]
  77. + exec /start-setupModpack
  78. + CURSE_URL_BASE=https://minecraft.curseforge.com/projects
  79. + isTrue false
  80. + local value=false
  81. + result=
  82. + case ${value} in
  83. + result=1
  84. + return 1
  85. + [[ -n '' ]]
  86. + [[ -n '' ]]
  87. + [[ -n '' ]]
  88. + [[ -n '' ]]
  89. + [[ -n '' ]]
  90. + : ''
  91. + [[ -n '' ]]
  92. + exec /start-setupModconfig
  93. + isTrue true
  94. + local value=true
  95. + result=
  96. + case ${value} in
  97. + result=0
  98. + return 0
  99. + updateArg=--skip-newer-in-destination
  100. + isTrue true
  101. + local value=true
  102. + result=
  103. + case ${value} in
  104. + result=0
  105. + return 0
  106. + subcommand=sync-and-interpolate
  107. + '[' -d /plugins ']'
  108. + case ${TYPE} in
  109. + mkdir -p /data/plugins
  110. + log 'Copying plugins over...'
  111. + echo '[init] Copying plugins over...'
  112. [init] Copying plugins over...
  113. + 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
  114. [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)
  115. [mc-image-helper] 16:49:07.297 DEBUG : ensuring destinationDirectory=/data/plugins
  116. + : /data/mods
  117. + '[' -d /mods ']'
  118. + : /data/config
  119. + '[' -d /config ']'
  120. + exec /start-setupServerProperties
  121. [init] Creating server.properties in /data/server.properties
  122. [init] Disabling whitelist functionality
  123. [init] Setting white-list to 'false' in /data/server.properties
  124. [init] WARNING: whitelist enabled but not enforced. Set ENFORCE_WHITELIST=TRUE or update 'enforce-whitelist' in server.properties to enforce the whitelist.
  125. [init] Setting enable-rcon to 'true' in /data/server.properties
  126. [init] Setting rcon.password to 'minecraft' in /data/server.properties
  127. [init] Setting rcon.port to '25575' in /data/server.properties
  128. [init] Setting motd to 'A Paper Minecraft Server powered by Docker' in /data/server.properties
  129. [init] DEBUG Dumping server.properties
  130. op-permission-level=4
  131. allow-nether=true
  132. level-name=world
  133. enable-query=false
  134. allow-flight=false
  135. announce-player-achievements=true
  136. server-port=25565
  137. rcon.port=25575
  138. query.port=25565
  139. level-type=DEFAULT
  140. enable-rcon=true
  141. force-gamemode=false
  142. level-seed=
  143. server-ip=
  144. max-tick-time=60000
  145. max-build-height=256
  146. spawn-npcs=true
  147. white-list=false
  148. spawn-animals=true
  149. hardcore=false
  150. snooper-enabled=true
  151. texture-pack=
  152. online-mode=true
  153. resource-pack=
  154. resource-pack-sha1=
  155. pvp=true
  156. difficulty=1
  157. enable-command-block=true
  158. player-idle-timeout=0
  159. gamemode=0
  160. max-players=20
  161. spawn-monsters=true
  162. generate-structures=true
  163. view-distance=10
  164. spawn-protection=16
  165. motd=A Paper Minecraft Server powered by Docker
  166. generator-settings=
  167. rcon.password=minecraft
  168. max-world-size=29999984
  169. broadcast-console-to-ops=true
  170. broadcast-rcon-to-ops=true
  171. enable-jmx-monitoring=false
  172. sync-chunk-writes=true
  173. enable-status=true
  174. entity-broadcast-range-percentage=100
  175. function-permission-level=2
  176. network-compression-threshold=256
  177. op-permission-level=4
  178. prevent-proxy-connections=false
  179. use-native-transport=true
  180. enforce-whitelist=false
  181. + versionLessThan 1.7.6
  182. + mc-image-helper compare-versions 1.18.1 lt 1.7.6
  183. + opsFile=ops.json
  184. + whitelistFile=whitelist.json
  185. + isTrue ''
  186. + local value=
  187. + result=
  188. + case ${value} in
  189. + result=1
  190. + return 1
  191. + '[' -n '' ']'
  192. + '[' -n '' ']'
  193. + isTrue ''
  194. + local value=
  195. + result=
  196. + case ${value} in
  197. + result=1
  198. + return 1
  199. + '[' -n '' ']'
  200. + '[' -n '' ']'
  201. + '[' -n '' ']'
  202. + canUseRollingLogs=true
  203. + versionLessThan 1.7
  204. + mc-image-helper compare-versions 1.18.1 lt 1.7
  205. + isFamily VANILLA
  206. + for f in "${@}"
  207. + [[ SPIGOT == \V\A\N\I\L\L\A ]]
  208. + return 1
  209. + isFamily VANILLA
  210. + for f in "${@}"
  211. + [[ SPIGOT == \V\A\N\I\L\L\A ]]
  212. + return 1
  213. + versionLessThan 1.18.1
  214. + mc-image-helper compare-versions 1.18.1 lt 1.18.1
  215. + isTrue false
  216. + local value=false
  217. + result=
  218. + case ${value} in
  219. + result=1
  220. + return 1
  221. + log 'Checking for JSON files.'
  222. + echo '[init] Checking for JSON files.'
  223. [init] Checking for JSON files.
  224. ++ find /data -maxdepth 1 -name '*.json'
  225. + JSON_FILES=
  226. + versionLessThan 1.14
  227. + mc-image-helper compare-versions 1.18.1 lt 1.14
  228. + [[ '' = false ]]
  229. + [[ '' = FALSE ]]
  230. + : 1G
  231. + : 1G
  232. + expandedDOpts=
  233. + '[' -n '' ']'
  234. + isTrue
  235. + local value=
  236. + result=
  237. + case ${value} in
  238. + result=1
  239. + return 1
  240. + isTrue ''
  241. + local value=
  242. + result=
  243. + case ${value} in
  244. + result=1
  245. + return 1
  246. + isTrue ''
  247. + local value=
  248. + result=
  249. + case ${value} in
  250. + result=1
  251. + return 1
  252. + isTrue ''
  253. + local value=
  254. + result=
  255. + case ${value} in
  256. + result=1
  257. + return 1
  258. + isTrue ''
  259. + local value=
  260. + result=
  261. + case ${value} in
  262. + result=1
  263. + return 1
  264. + [[ -n 1G ]]
  265. + log 'Setting initial memory to 1G and max to 1G'
  266. + echo '[init] Setting initial memory to 1G and max to 1G'
  267. [init] Setting initial memory to 1G and max to 1G
  268. + [[ -n 1G ]]
  269. + JVM_OPTS='-Xms1G '
  270. + [[ -n 1G ]]
  271. + JVM_OPTS='-Xmx1G -Xms1G '
  272. + mcServerRunnerArgs=(--stop-duration "${STOP_DURATION:-60}s" --named-pipe "${CONSOLE_IN_NAMED_PIPE:-/tmp/minecraft-console-in}")
  273. + [[ -n '' ]]
  274. + [[ SPIGOT == \C\U\R\S\E\F\O\R\G\E ]]
  275. + [[ SPIGOT == \C\U\R\S\E\F\O\R\G\E ]]
  276. + [[ -x run.sh ]]
  277. + '[' -f /data/bootstrap.txt ']'
  278. + log 'Starting the Minecraft server...'
  279. + echo '[init] Starting the Minecraft server...'
  280. [init] Starting the Minecraft server...
  281. + finalArgs=($JVM_XX_OPTS $JVM_OPTS $expandedDOpts -jar "$SERVER" "$@" $EXTRA_ARGS)
  282. + isTrue false
  283. + local value=false
  284. + result=
  285. + case ${value} in
  286. + result=1
  287. + return 1
  288. + isTrue ''
  289. + local value=
  290. + result=
  291. + case ${value} in
  292. + result=1
  293. + return 1
  294. + isTrue false
  295. + local value=false
  296. + result=
  297. + case ${value} in
  298. + result=1
  299. + return 1
  300. + exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx1G -Xms1G -jar paper-1.18.1-154.jar
  301. Downloading mojang_1.18.1.jar
  302. Applying patches
  303. Starting org.bukkit.craftbukkit.Main
  304. System Info: Java 17 (Eclipse OpenJ9 VM openj9-0.29.1) Host: Linux 5.10.0-10-amd64 (amd64)
  305. Loading libraries, please wait...
  306. 2022-01-16 16:49:40,486 ServerMain WARN Advanced terminal features are not available in this environment
  307. [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'
  308. [16:50:31 INFO]: Found new data pack file/bukkit, loading it automatically
  309. [16:50:34 INFO]: Reloading ResourceManager: Default, bukkit
  310. [16:50:41 INFO]: Loaded 7 recipes
  311. [16:51:02 INFO]: Starting minecraft server version 1.18.1
  312. [16:51:02 INFO]: Loading properties
  313. [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)
  314. [16:51:03 INFO]: Using 4 threads for Netty based IO
  315. [16:51:03 INFO]: Server Ping Player Sample Count: 12
  316. [16:51:03 INFO]: Default game type: SURVIVAL
  317. [16:51:03 INFO]: Generating keypair
  318. [16:51:10 INFO]: Starting Minecraft server on *:25565
  319. [16:51:11 INFO]: Using epoll channel type
  320. [16:51:11 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
  321. [16:51:11 INFO]: Paper: Using OpenSSL 1.1.x (Linux x86_64) cipher from Velocity.
  322. [16:51:11 INFO]: Preparing level "world"
  323. [16:52:26 INFO]: Preparing start region for dimension minecraft:overworld
  324. [16:52:30 INFO]: Preparing spawn area: 0%
  325. [16:52:30 INFO]: Time elapsed: 4202 ms
  326. [16:52:30 INFO]: Preparing start region for dimension minecraft:the_nether
  327. [16:52:33 INFO]: Time elapsed: 2111 ms
  328. [16:52:33 INFO]: Preparing start region for dimension minecraft:the_end
  329. [16:52:36 INFO]: Time elapsed: 2954 ms
  330. [16:52:36 INFO]: Starting remote control listener
  331. [16:52:36 INFO]: Thread RCON Listener started
  332. [16:52:36 INFO]: RCON running on 0.0.0.0:25575
  333. [16:52:36 INFO]: Running delayed init tasks
  334. [16:52:36 INFO]: Done (94.658s)! For help, type "help"
  335. [16:52:36 INFO]: Timings Reset
Advertisement
Add Comment
Please, Sign In to add comment