docker-minecraft-server: Modrinth support for Paper don't work as expected

Describe the problem

Hello,

unfortunately, it seems to be the modrinth auto-download functions is broken. Its also possible that i’m to dumb πŸ˜ƒ In the logs it seems that the files is downloaded. But unfortunately, its not work. I can’t find the plugin and it also be not active.

Another things is that the data crawler only see the older version of the plugin. The older one is 2.2.4 and the newer one 2.2.5.

Sry for bad english skills πŸ˜•

Container definition

version: "3"

services:
  mc:
    image: itzg/minecraft-server
    container_name: minecraft-server-neu
    ports:
        # Port 25565 should internally be as it is, otherwise container don't get "HEALTHY" status
      - 25565:1195
        # Port for dynmap webserver
      - 8123:8123
    environment:
      EULA: true
      DEBUG: true
      LOG_TIMESTAMP: true
      # Server type, version, build number and memory size 
      TYPE: Paper
      VERSION: 1.19.3
      PAPERBUILD: 404
      MEMORY: 16G
      # Docker spezifierd settings
      UID: 1001
      GID: 1001
      TZ: Europe/Berlin
      # Use AIKARs Flags for better performance with more users
      USE_AIKAR_FLAGS: true
      # Copy config files from ./config to ./data
      COPY_CONFIG_DEST: /data
      # All files get copyed, also if ./data/config is newer as ./data
      SYNC_SKIP_NEWER_IN_DESTINATION: false
      # Skip creation from server.properties settings
      SKIP_SERVER_PROPERTIES: false
      OVERRIDE_SERVER_PROPERTIES: false
      # All files get copyed, also if ./data/plugins is newer as ./plugins
      SYNC_SKIP_NEWER_IN_DESTINATION: false
      # Auto download plugins from spigot.com
      SPIGET_RESOURCES: 2661,64139,81490,59773,74134,74145,82349,76907,77050,4510,28140,19286,67436,44918,49388,74254
      # Remove old .jar mods after download a new version
      REMOVE_OLD_MODS_INCLUDE: "*.jar"
      REMOVE_OLD_MODS_DEPTH: 1
      # Auto download plugins from modrinth.com
      MODRINTH_PROJECTS: nobedexplosions,nobedexplosions:release
    tty: true
    stdin_open: true
    restart: unless-stopped
    volumes:
      - ./data:/data
        # Location for all files which should copyed to ./data folder, like configs
      - ./config:/config
        # Location for all plugins and files which are related to "plugins"
      - ./plugins:/plugins

networks:
  default:
    name: npm_default
    external: true

Container logs

+ modrinthProjects
+ : nobedexplosions,nobedexplosions:release
+ : true
+ : release
+ [[ -n nobedexplosions,nobedexplosions:release ]]
+ isFamily HYBRID FORGE FABRIC SPIGOT
+ for f in "${@}"
+ [[ SPIGOT == \H\Y\B\R\I\D ]]
+ for f in "${@}"
+ [[ SPIGOT == \F\O\R\G\E ]]
+ for f in "${@}"
+ [[ SPIGOT == \F\A\B\R\I\C ]]
+ for f in "${@}"
+ [[ SPIGOT == \S\P\I\G\O\T ]]
+ return 0
+ isFamily HYBRID FORGE
+ for f in "${@}"
+ [[ SPIGOT == \H\Y\B\R\I\D ]]
+ for f in "${@}"
+ [[ SPIGOT == \F\O\R\G\E ]]
+ return 1
+ loader=spigot
+ mc-image-helper modrinth --output-directory=/data --projects=nobedexplosions,nobedexplosions:release --game-version=1.19.3 --loader=spigot --download-optional-dependencies=true --allowed-version-type=release
[mc-image-helper] 14:01:36.734 DEBUG : Starting with projectRef=nobedexplosions
[mc-image-helper] 14:01:37.577 DEBUG : JSON FETCH: uri=https://api.modrinth.com/v2/project/nobedexplosions headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.4 (cmd=modrinth), x-fetch-session: 99226081-c811-4fec-9afb-4bfe9f37935d, accept: application/json, host: api.modrinth.com]
[mc-image-helper] 14:01:37.819 DEBUG : JSON FETCH: uri=https://api.modrinth.com/v2/project/7Oj5ApET/version?loaders=%5B%22spigot%22%5D&game_versions=%5B%221.19.3%22%5D headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.4 (cmd=modrinth), x-fetch-session: 38ce95df-d812-441a-93e9-c4fb21cd2417, accept: application/json, host: api.modrinth.com]
[mc-image-helper] 14:01:37.970 DEBUG : Starting with projectRef=nobedexplosions:release
[mc-image-helper] 14:01:37.997 DEBUG : JSON FETCH: uri=https://api.modrinth.com/v2/project/nobedexplosions headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.4 (cmd=modrinth), x-fetch-session: 7349d2e4-2983-4136-aced-d3144dbc2f86, accept: application/json, host: api.modrinth.com]
+ exec /start-setupModconfig
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue true
+ case "${1,,}" in
+ return 0

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Lol, this was very fast! πŸ₯‡ It’s amazing how fast you develop. I have tested the new image and its works very well. Thank you for the fast implementation of this feature πŸ’―

Wow this was fast! Im happy to tested the new version on release. Thank you for your damn good work! πŸ’―