Skip to content

1.0-SNAPSHOT

Choose a tag to compare

@INotSleep INotSleep released this 12 Jul 21:27
· 9 commits to master since this release

You can define 2 types of packs:

  1. External pack: isUrl: true, url: url to pack, hash: hash of pack
  2. Internal pack: isUrl: false, fileName: name of pack

Internal packs must be in plugins/MultiVersionResourcePacks/packs folder.

Protocols:
To specify protocol version, you can use >=, <=, >, < and ==
Recommended to use only >=, > and ==, because protocols sorted from lowest to highest
If >, <, >=, <= finds any pack, it counties finding pack for next protocols.
If == finds any pack, it will stop finding and send player this pack

In settings.public-link you need to specify pack host external ip,
because plugin cannot know yours machine ip. Also it can be dangerous to show your ip to players,
so you can connect nginx, cloudflare, etc.

Default config:

packs:
  '>=754':
    hash: 8c96d8084fa706661d0a7cf9b084bef4161d520b
    url: https://mediafilez.forgecdn.net/files/5505/931/Faithful%2032x%20-%201.16.5.zip
    isUrl: true
  <700:
    fileName: myPack.zip
    isUrl: false
settings:
  port: 3000
  bind-ip: 0.0.0.0
  public-link: http://localhost:3000/
  httpHandlerThreads: 10