Pipelek / AutoModpack

Still manually installing modpacks to play on some server? Let me speed up this boring process!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

AutoModpack
CF GitHub Modrinth
Supported on Fabric Supported on Quilt

Welcome to AutoModpack,

What is this? Basically, this is Minecraft modification with goal to make easier updates to your modpack. Your friends / players won't need to manually update all mods / modpack anymore. Thanks to this mod all this boring stuff is done automatically.

Showcase: https://youtu.be/lPPzaNPn8g8

Key features

  • Your players no longer have to update mods manually.
  • Modpack hosting.
  • Easy manage as admin (your player's mods, configs, shaderpacks, resourcepacks, etc.)
  • Sync modpack mods with server mods.
  • Dynamically change content of your modpack without triggering your friends/players.

How to use

First of all download the latest version of the mod from here.

Put it into the mods folder of your minecraft/server installation.

Launch the game your game/server.

NOTE: If game crashed at first launch don't worry. It crashed because you need to have installed fabric api / quilted fabric api, which is installed automatically before that crash.

- Client

On join the server who has this mod, modpack will be automatically downloaded and installed. You will only need to restart the game to properly load the mods.

- Server

Open port (default: 30037) on your server! TCP/UDP need to host modpack.

NOTE: if you can't open any port on your server, or you just care about server performance. Use Google Drive, upload there modpack.zip whose automatically generated on your minecraft server at ./AutoModpack/modpack.zip. And the link type into the config "external_modpack_host".

(Unfortunately when using Google Drive or other download service/server sync_mods will not work. (Working on it, if you know how to implement Google Drive upload feature, please let me know.) )

Add mods/configs whatever you want in your modpack to the ./AutoModpack/modpack/ directory.

Restart server and you are good to go! Enjoy!

I want to delete some mods from my modpack

  • Go to ./AutoModpack/modpack/ directory on your server.
  • Create file delmods.txt.
  • Inside this file put full names of mods you want to delete. (one full name per line!)

Config

./config/automodpack.properties

Use Cloth Config and Mod Menu mods to change settings in game

Client side

Name Default Value Description
danger_screen true Show danger screen before downloading updates
check_updates_button true Show "Check updates" button on Title Screen
delete_modpack_button true Show "Delete modpack" button on Title Screen

Server side

Name Default Value Description
modpack_host true Host http server for modpack. If this is disabled use external_modpack_host
sync_mods true Clone all your mods to modpack and delete all mods whose were deleted or updated
auto_exclude_server_side_mods true Excluding all server side mods from modpack to prevent some crashes on client
only_optional_modpack false Vanilla players will, can join if other mods on server are only server side
host_port 30037 This port will be used to host modpack
host_thread_count 2 Modpack host will be use this amount of threads.
host_external_ip -- Modpack host will be use this external ip instead of default one. (OPTIONAL)
host_external_ip_for_local_players -- Same as host_external_ip but only for players from local network. (OPTIONAL)
external_modpack_host -- Typed here http/s address will be used as external host server. This will automatically disable modpack_host. (OPTIONAL)

Commands

  • /automodpack - Check version of AutoModpack. (this mod)
  • /automodpack generate-modpack - Generate new modpack.zip file on server.
  • /automodpack modpack-host - Check if modpack is hosted.
  • /automodpack modpack-host start - Start modpack hosting.
  • /automodpack modpack-host stop - Stop modpack hosting.
  • /automodpack modpack-host restart - Restart modpack hosting.

FAQ

  • Which versions are supported?

1.19.x and 1.18.x on fabric/quilt modloader.

  • What is [CLIENT] MODS folder?

Basically (It's for server admins and have it purpose only if sync_mods is enabled) you can add there those mods you want to add to the modpack, but you don't want to load them on server

  • Do I must use official minecraft launcher?

No, you can use any launcher you want except for Feather Client its unsupported. (but launcher must be compatible with fabric/quilt modloader)

  • Do I must install this mod on both sides?

Yes, you need to install this mod on both sides.

  • Does it deleting existing mods which are not in modpack but the client has them?

No, it doesn't. It will only delete mods which are written out in delmods.txt in your modpack.

  • Does it automatically update my mods?

No, it doesn't, but if you want this cool feature take a look at AutoPlug. If you are using AutoPlug, I recommend you set sync_mods to true in AutoModpack config.

Common problems

  • I get errors every time I try to download modpack!

Check if in the server log after start where is a notification about the modpack host launch, there is a correct ip (the ip you are trying to connect to the server) If not change in the config host_external_ip to your correct server ip (without port)

Follow the same process if you have a problem with the local host ip, but to host_external_ip_for_local_players

Questions?

  • Contact me via discord Skidam#0001

Contributors are welcome! click.

About

Still manually installing modpacks to play on some server? Let me speed up this boring process!

License:MIT License


Languages

Language:Java 100.0%