1. The #1 Fatal Mistake: Client Export vs. Dedicated Server Pack
When you browse CurseForge or Modrinth and hit the big orange “Download” button on a modpack page, you are downloading a Client Profile Zip. This archive is designed solely for the CurseForge or Prism launcher on a player's desktop computer. It does not contain Minecraft server binaries, Forge libraries, or launch scripts.
If you upload this client zip directly to your Pterodactyl server and press Start, the server will immediately terminate with an error such as:
Error: Unable to access jarfile server.jar OR Could not find or load main class net.minecraft.bundler.MainTo run a modpack on a server, you must obtain or construct a Dedicated Server Pack:
- CurseForge: Navigate to the modpack's “Files” tab. Scroll down to “Additional Files” and look for Server Files or Server Pack. Download that zip instead.
- Modrinth: Select the version you want, look at the bottom of the version card, and verify if a “Server” download is provided.
- Custom Modpacks: If the pack creators did not publish a pre-built server pack, you must download the official Forge/Fabric installer for that Minecraft version, run the installer on your local machine choosing “Install Server”, and then copy your mods and config folders into that generated directory.
2. Java Runtime Version Compatibility Matrix (2026 Reference)
Minecraft runs on the Java Virtual Machine (JVM). Modern mod loaders are exceptionally strict regarding JVM byte-code versions. Choosing Java 17 for a Minecraft 1.12.2 pack will cause an instant crash, just as attempting to run Minecraft 1.21 on Java 17 will result in a UnsupportedClassVersionError: 65.0.
Before uploading any files, open your Pterodactyl panel, navigate to the Startup tab, and match your server's Docker Image / Java Version to this verified matrix:
| Minecraft Version | Required Java Runtime | Supported Mod Loaders | Popular Modpack Examples |
|---|---|---|---|
| 1.7.10 – 1.12.2 | Java 8 (OpenJDK 8) | Forge Legacy | RLCraft, SevTech: Ages, Tekkit Classic, SkyFactory 4 |
| 1.16.5 | Java 8 or Java 11 | Forge, Fabric | All The Mods 6 (ATM6), Medieval MC [1.16] |
| 1.17 – 1.17.1 | Java 16 (OpenJDK 16) | Forge, Fabric | Early Caves & Cliffs transition packs |
| 1.18 – 1.20.4 | Java 17 (OpenJDK 17) | Forge, NeoForge, Fabric, Quilt | All The Mods 8 & 9, Better MC [1.20], DawnCraft |
| 1.20.5, 1.21+ (Modern) | Java 21 (OpenJDK 21) | NeoForge 21+, Fabric 0.15+, Quilt | ATM10, Prominence II, Cobblemon 1.21, Modern Vanilla+ |
SERVER_JARFILE matches your actual executable JAR or launch script (e.g., run.sh, forge.jar, or fabric-server-launch.jar).3. Eliminating Client-Side Only Mods Before Uploading
When converting a single-player mod list into a dedicated multiplayer server, you must remove all client-side-only modifications. A dedicated server runs in a “headless” environment without an audio driver, GPU rendering pipeline, or graphical display.
If a client-only mod is detected on startup, Forge or Fabric will attempt to invoke classes like net.minecraft.client.gui.screens.Screen, resulting in an unrecoverable crash:
java.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/EntityRendererProviderCommon Client-Only Mods to Delete from the Server:
- • Sodium, Rubidium, Embeddium
- • Iris Shaders, Oculus
- • Continuity, Indium (unless server-side required)
- • Dynamic Lights, LambDynamicLights
- • AmbientSounds, Sound Physics Remastered
- • Controlling, Searchables, Jade/Waila (client UI)
- • AppleSkin (client HUD components)
- • Reese's Sodium Options
Note: Minimap mods like JourneyMap or Xaero's Minimap have two components. Many modern versions require the JAR on both client and server to sync radar permissions. If the server logs indicate a crash related to minimaps, check the mod documentation to download the specific “Universal” or “Server” build.
4. The High-Speed SFTP Packaging & Upload Workflow
A large modpack like ATM9 contains between 15,000 and 40,000 individual files when including Forge libraries, config definitions, and KubeJS scripts. Attempting to drag-and-drop the uncompressed folder via FileZilla or WinSCP will take over 2 hours and frequently stall due to SFTP session timeouts.
Follow this 4-step industry best practice to upload entire modpacks in under 90 seconds:
Step 4.1: Compress Your Modpack into a Single Archive
On your desktop, select the following essential folders and files: mods, config, defaultconfigs, kubejs (if present), libraries, scripts, and your server launch files (run.sh / run.bat / user_jvm_args.txt). Right-click and compress them into a single server-modpack.tar.gz or .zip file.
Step 4.2: Retrieve Pterodactyl SFTP Credentials
Log into your Pterodactyl panel. Navigate to Settings. Under the SFTP Details card, copy the Server Address (e.g., stan-1.visihost.in:2022) and your Username (e.g., admin.a84df1b2). Your password is the exact same password you use to log into the web panel.
Step 4.3: Transfer the Single Archive via FileZilla / WinSCP
Open FileZilla, enter your Host, Username, Password, and Port 2022. Hit Quickconnect. Once connected to the root directory (/home/container), drag your single server-modpack.zip into the remote directory. A 1GB archive will transfer in approximately 30 to 60 seconds over broadband.
Step 4.4: Unarchive Directly on the Server via Pterodactyl
Return to the Pterodactyl web panel, open the Files tab, find your uploaded server-modpack.zip, click the three dots on the right, and select Unarchive. The server's enterprise NVMe storage will extract all 30,000 files in under 3 seconds with absolute file integrity.
5. Configuring Forge & NeoForge 1.17+ Launch Scripts (run.sh)
Starting in Minecraft 1.17+, Forge and NeoForge eliminated the monolithic forge-1.20.1-universal.jar. Instead, servers are booted through a Java argument file pointing to an extensive libraries hierarchy, orchestrated by a shell script named run.sh (or run.bat on Windows).
Many users try to force Pterodactyl to launch an executable JAR that no longer exists. To configure modern Forge or NeoForge on Pterodactyl:
- Open the Startup tab in Pterodactyl.
- Verify if your server egg supports shell scripts. If using a generic Forge egg, set the Startup Command to execute
bash run.shor setSERVER_JARFILEtolibraries/net/minecraftforge/forge/.../unix_args.txtdepending on your host's egg configuration. - Open
user_jvm_args.txtin the Pterodactyl file editor. This file allows you to define JVM memory arguments without breaking the panel's environment flags. Add your Aikar Garbage Collection flags here.
-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch6. Accepting the EULA & First Boot Diagnostics
Navigate to the Console tab and hit Start. During the initial initialization, the server will create basic configuration files and pause with an EULA agreement requirement:
[Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.Go to the Files tab, open eula.txt, change eula=false to eula=true, and click Save Content. Restart the server. Watch the console as Forge/Fabric builds the mod registries, parses recipes, and constructs dimension datamaps. This first boot can take 3 to 7 minutes depending on modpack size.
7. Troubleshooting Real-World Crash Errors
When a modded server fails to start, don't panic. Open the crash-reports folder or examine the latest log in logs/debug.log. Here is how to diagnose the four most frequent errors:
Crash 1: java.lang.OutOfMemoryError: Java heap space
Cause: The server was allocated less memory than the minimum heap required for the modpack to load its block registries and entity models.
Fix: Increase the RAM in your host panel. Large packs like ATM9 or Better MC require at least 8GB to 12GB of RAM. If you are on a 4GB plan, you must either upgrade to a high-RAM plan or remove resource-heavy world-generation mods.
Crash 2: ModLoadingException: Mod requires version X of dependency Y
Cause: A mod was manually added without its required library (e.g. Cloth Config, Architectury API, or Curios API), or the version installed is outdated.
Fix: Read the console line directly above the crash. It will state explicitly: “Mod X requires Architectury API 9.2.14 or above, found 9.1.0”. Download the exact required library JAR and place it in the mods directory.
Crash 3: Address already in use: bind
Cause: You manually specified a port in server.properties that is either occupied by another customer on the node or not allocated to your Docker container.
Fix: Open server.properties. Ensure server-port is set to the exact Primary Port assigned to your server in the Network tab of Pterodactyl. Never arbitrarily type 25565 if your allocation is 25605.
Crash 4: Incompatible server software or corrupted jar
Cause: Attempting to run a Forge modpack on PaperMC, Purpur, or Spigot.
Fix: Plugins (.jar files designed for Bukkit/Spigot/Paper) and Mods (.jar files designed for Forge/Fabric) are not the same thing. You cannot drop Forge mods into a Paper server. Ensure your server is installed with the Forge, NeoForge, or Fabric egg.
8. Modpack Hardware Sizing & RAM Recommendations
Unlike vanilla Minecraft which is primarily CPU single-core bound, modpacks place severe demands on both single-core clock speeds and RAM allocation. The table below outlines realistic memory specifications based on real server telemetry:
| Modpack Type | Active Mods | Min RAM (2-4 Players) | Recommended RAM (8+ Players) | Recommended VisiHost Plan |
|---|---|---|---|---|
| Lightweight / Vanilla+ (Cobblemon, Crucial 2) | 30 – 80 | 4 GB | 6 GB | Spark (4GB) / Pulse (6GB) |
| Medium Adventure / Tech (Create: Above & Beyond) | 100 – 180 | 6 GB | 8 GB | Blaze (8GB) |
| Heavy Kitchen-Sink (ATM9, Better MC, DawnCraft) | 250 – 400+ | 8 GB – 10 GB | 12 GB – 16 GB | Phantom (12GB) / Titan (16GB) |
| Extreme Public Network (GreedyCraft, ATM10) | 450+ | 16 GB | 24 GB – 32 GB | Overlord (24GB+) Enterprise |
9. Frequently Asked Questions (FAQ)
Can I install modpacks using the Pterodactyl 1-click installer?
Yes. On VisiHost, our Pterodactyl panel features a built-in egg and modpack repository that allows 1-click deployments for popular packs like All The Mods, StoneBlock, and Better MC. However, custom modpacks created in curseforge or private friend packs still require the SFTP upload method detailed above.
How do I update a modpack on my server without losing player progress?
Always take a full server backup first. Then, delete the existing mods, config, and kubejs folders. Upload the new version's mods, config, and kubejs folders. Never overwrite the world (level) folder or server.properties to preserve builds and player inventories.
Why does the server say “Kicked whilst connecting: Mod rejections” when players join?
This indicates a mod version mismatch between the player's local Minecraft client and the server. Both the player and the server must be running the exact identical version of the modpack. Review the client-side log to identify which specific mod version was rejected.
Deploy Heavy Modpacks with Zero Lag on AMD EPYC & Ryzen Fleets
Experience instant NVMe extraction, unmetered DDR4/DDR5 RAM allocations, pre-configured Java 8 to 21 Docker images, and ultra-low ping across India and South Asia starting from just ₹44/month.