Skip to content

limitations

AdamCalculator edited this page Mar 17, 2024 · 1 revision

Limitations page

File sizes

// NOTE: for increase contact to mod developer.
long DYNAMIC_PACK_HTTPS_FILE_SIZE_LIMIT = megabyte(8); // kb -> mb -> 5MB (for files in resourcepack)
long MODRINTH_HTTPS_FILE_SIZE_LIMIT = megabyte(1024); // 1 GB (for .zip files from modrinth)
long MOD_MODTINTH_API_LIMIT = megabyte(8); // 8 MB of api
long GZIP_LIMIT = megabyte(50); // 50 MB of .gz file
long MOD_FILES_LIMIT = megabyte(8); // dynamicmcpack.repo.json and etc...

Trusted hosts for network

  • modrinth.com
  • github.io
  • github.com
  • githubusercontent.com

and all subdomains.

Protocols

  • HTTPs - allowed
  • other - no. (include http)

Paths

  • ../../ restricted
  • " " (space symbols) not works. Use underscore for replace
Clone this wiki locally