Choosing Between Fabric And NeoForge Server Loaders
Cobblemon 1.8.4 provides official builds for both Fabric and NeoForge on Minecraft 1.21.1. Choosing the right loader before generating your world prevents migration issues because world saves and companion addons vary slightly across ecosystems. Confirm every planned mod matches your loader in our Version Compatibility Table.
- Fabric Server: Best for vanilla-plus SMPs and maximum tick efficiency. Fabric matches curated packs such as Cobblemon Official Modpack Fabric and Cobbleverse: Pokemon Adventure.
- NeoForge Server: Ideal when combining Cobblemon with larger tech or exploration modpacks. Core addons like Cobblemon: Mega Showdown, Radical Cobblemon Trainers, Cobbreeding, and CobbleDollars support both loaders on 1.21.1.
Both loaders require 64-bit Java 21 LTS. Install matching Fabric API or NeoForge runtime files alongside Cobblemon, launch once to generate config/cobblemon/ and eula.txt, accept the EULA, and stop the server before tuning. Explore active setups in our Cobblemon Servers hub.
Java 21 Memory Allocation And Startup Flags
Cobblemon tracks 905 implemented 3D species, 81 biome spawn tags, pasture entities, PC boxes, and Pokémon Showdown battles simultaneously. Allocating too little RAM causes constant garbage collection pauses, while assigning excessive heap beyond 16 GB increases pause latency. Match heap allocation strictly to player load.
| Player Tier | Recommended Heap | CPU Priority | Typical Workload |
|---|---|---|---|
| Small Friends SMP (2-8 Players) | 6 GB - 8 GB | 2+ Fast Cores | Base Cobblemon 1.8.4 plus lightweight QoL addons |
| Medium Community (10-25 Players) | 8 GB - 12 GB | 4 Fast Cores | Cobblemon plus Mega Showdown, Cobbreeding, and Trainers |
| Large Public Realm (30-60 Players) | 12 GB - 16 GB | 4-6 High-Clock Cores | Custom structures, economy shops, and mass outbreaks |
| Dedicated Network (60+ Players) | 14 GB - 16 GB Per Node | Single-Thread Clock Speed | Sharded proxy nodes with external MongoDB storage |
Use tuned G1GC flags under Java 21 with matching -Xms and -Xmx values, leaving at least 2 GB free for the operating system:
java -Xms10G -Xmx10G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -jar server-launcher.jar nogui
Because Minecraft's main tick loop remains largely single-threaded, a high-frequency CPU matters far more than pushing heap above 16 GB.
Tuning Core Settings Inside Cobblemon Main Config
Primary gameplay, spawning, and storage rules live in config/cobblemon/main.json. Save changes and restart the server, or run /cobblemonconfig reload as an operator for reloadable keys. Tuning spawn caps and save intervals prevents tick spikes during peak traffic.
| Config Key | Default Value | Recommended SMP Tuning | Operational Impact |
|---|---|---|---|
shinyRate | 8192.0 | 4096.0 or 8192.0 | Denominator for wild shiny odds; lower values raise shiny rates |
pokemonPerChunk | 1.0 | 0.6 - 0.85 | Caps wild Cobblemon density per active chunk around players |
ticksBetweenSpawnAttempts | 20.0 | 25.0 - 40.0 | Spaces out spawn passes when 20+ players explore at once |
maximumSpawnsPerPass | 4 | 2 - 3 | Reduces burst spawns when players teleport into fresh chunks |
maxPokemonLevel | 100 | 100 | Controls global maximum Pokémon level across the server |
pastureMaxPerChunk | 4 | 2 - 4 | Stops bases from stacking hundreds of roaming pasture entities |
pokemonSaveIntervalSeconds | 30 | 60 - 120 | Cuts disk write churn on realms with large PC databases |
exportSpawnConfig | false | false in production | Exports default spawn files for inspection; disable afterward |
enableDebugKeys | false | false in production | Prevents developer debug shortcuts on public servers |
Also review allowExperienceFromPvP for battle arenas, worldSpawningBlocklist to silence wild spawns inside hub worlds, infiniteHealerCharge for public Poké Centers, infiniteRideStamina for casual exploration, and storageFormat (with mongoDBConnectionString and mongoDBDatabaseName for multi-node networks). Verify biome spawn pools in the Cobblemon Pokédex.
Essential Server Performance Mods And World Pre-Generation
Live chunk generation is the top cause of TPS drops on Cobblemon servers because fast flying and aquatic mounts rapidly trigger ruin and fossil structure placement. Combine proven optimization mods with full pre-generation before launch.
- Lithium: Optimizes mob AI, block ticks, and chunk physics without altering Cobblemon spawning.
- FerriteCore: Cuts blockstate and model RAM usage significantly in modded 1.21.1 instances.
- ModernFix: Speeds up boot times and shrinks runtime memory overhead.
- Chunky: Pre-generates dimensions to a defined radius before players join, removing exploration lag spikes.
- Spark: Profiles live server ticks via
/spark profiler startso staff pinpoint exact bottlenecks instead of guessing.
Set a clean world border (6,000 to 10,000 blocks for medium servers) and run Chunky overnight:
/chunky radius 6000 /chunky world minecraft:overworld /chunky start
In server.properties, pair pre-generation with simulation-distance=6 and view-distance=8 to 10. Trimming simulation distance slashes active entity AI overhead dramatically while preserving long horizon views.
Managing Datapacks, Resource Packs, And Server Addons
Cobblemon leverages native datapacks and resource packs for custom species, trainers, and economy tweaks. Keep server data and client visuals synchronized so players never see invisible models or missing icons.
- Server Datapacks: Drop spawn overrides and packs such as MissingMons, CobbleDollar Shops, or Badges For Radical Cobblemon Trainers into
world/datapacks/, then run/reloador restart. - Hosted Resource Packs: Any pack adding custom 3D models or UI sprites (such as Cobblemon: AllTheMons, Radical Cobblemon Trainer Textures Plus, or CobbleDollars: Pokemon Dollars Icon) must load on every client. Host the zip over direct HTTPS, compute its SHA-1 hash, and configure
resource-pack=,resource-pack-sha1=, andrequire-resource-pack=trueinserver.properties. - Curated Addons: Multiplayer staples like Cobblemon Spawn Notification, Cobblemon Shiny Days, and Cobblemon Mass Outbreaks boost retention. Compare compatibility inside our Addon Comparison Tool or browse Cobblemon Addons and Cobblemon Modpacks.
Automated Backups, Storage Hygiene, And Crash Prevention
Player parties, PC boxes, Pokédex logs, and MoveDex unlocks reside inside your world's pokemon/ and pokedex/ storage folders. Protect player progress with disciplined backup and cleanup routines.
- Rolling Backups: Snapshot both
world/andconfig/cobblemon/every 6 hours, retaining off-site copies for at least 7 to 14 days. - Test Staging: Clone your live instance locally before updating Cobblemon or addons, confirming clean startup logs, PC access, and
/checkspawnsoutput first. - Native Despawning: Avoid aggressive entity-clear plugins that erase Cobblemon mid-battle or mid-catch. Tune
despawnerNearDistance,despawnerFarDistance, anddespawnerMaxAgeTicksinmain.jsonso wild spawns recycle safely.
Check troubleshooting answers in our Cobblemon FAQ and track server patches on Cobblemon Updates.