Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape space from slug part of filename #3245

Closed
maxencevm opened this issue Jan 12, 2025 · 2 comments
Closed

Escape space from slug part of filename #3245

maxencevm opened this issue Jan 12, 2025 · 2 comments

Comments

@maxencevm
Copy link

maxencevm commented Jan 12, 2025

Describe the problem

Tanks for creating and maintaining this project.

My part of filename of architectury need a space but I don't find a way to espace space

Sorry for my bad English

Container definition

services:
  minecraft_skyfactory5:
    container_name: minecraft_skyfactory5
    image: itzg/minecraft-server:java17-graalvm
    tty: true
    stdin_open: true
    user: 1007:1007
    restart: always
    ports:
      - "25565:25565"
    #env_file: env.conf
    environment:
      EULA: "TRUE"
      MEMORY: "6G"
      TYPE: "AUTO_CURSEFORGE"
      CF_API_KEY: "$$2a$$10$$buD5xLKRUvDYPpc8fEaBzOmjXC/21k0YpJ2QvIKptNlWaDqEKcloC"
      CF_SLUG: "skyfactory-5"
      MAX_PLAYERS: 5
      ONLINE_MODE: true
      SERVER_PORT: 25565
      RCON_PASSWORD: "NOVAGDAB4585"
      CURSEFORGE_FILES: |
        ftb-chunks-forge@2001
        architectury-api@[Forge 1.20(.1)]
        ftb-library-forge@2001
        ftb-teams-forge@2001
    volumes:
      - ./data:/data

Container logs

minecraft_skyfactory5  | [mc-image-helper] 01:48:22.888 ERROR : Invalid parameter provided for 'curseforge-files' command: Mod file reference is not valid: 1.20(.1)]
@itzg
Copy link
Owner

itzg commented Jan 12, 2025

You should be referencing the distinctive part of the filename like "v13.0.6". There's no need to include the modloader part of those names since that has already been identified by the modpack.

@maxencevm
Copy link
Author

Ok perfect. Tanks for your answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants