Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Host modded Minecraft servers (CurseForge, Modrinth).
.claude/skills/nousresearch-minecraft-modpack-server/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 95% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -20% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 122% | 0% |
| case-05 | ✓→✗ | ▼ Worse | 9% | 0% |
| case-07 | ✓→✓ | = Same ✓ | 83% | 0% |
Before starting setup, ask the user for:
Use sensible defaults if the user doesn't care, but always ask before generating the config.
bashmkdir -p ~/minecraft-server cd ~/minecraft-server wget -O serverpack.zip "<URL>" unzip -o serverpack.zip -d server ls server/
Look for: startserver.sh, installer jar (neoforge/forge), user_jvm_args.txt, mods/ folder. Check the script to determine: mod loader type, version, and required Java version.
sudo apt install openjdk-21-jre-headlesssudo apt install openjdk-17-jre-headlesssudo apt install openjdk-8-jre-headlessjava -versionMost server packs include an install script. Use the INSTALL_ONLY env var to install without launching:
bashcd ~/minecraft-server/server ATM10_INSTALL_ONLY=true bash startserver.sh # Or for generic Forge packs: # java -jar forge-*-installer.jar --installServer
This downloads libraries, patches the server jar, etc.
bashecho "eula=true" > ~/minecraft-server/server/eula.txt
Key settings for modded/LAN:
propertiesmotd=\u00a7b\u00a7lServer Name \u00a7r\u00a78| \u00a7aModpack Name server-port=25565 online-mode=true # false for LAN without Mojang auth enforce-secure-profile=true # match online-mode difficulty=hard # most modpacks balance around hard allow-flight=true # REQUIRED for modded (flying mounts/items) spawn-protection=0 # let everyone build at spawn max-tick-time=180000 # modded needs longer tick timeout enable-command-block=true
Performance settings (scale to hardware):
properties# 2 players, beefy machine: view-distance=16 simulation-distance=10 # 4-6 players, moderate machine: view-distance=10 simulation-distance=6 # 8+ players or weaker hardware: view-distance=8 simulation-distance=4
Scale RAM to player count and mod count. Rule of thumb for modded:
-Xms12G
-Xmx24G
-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:G1HeapWastePercent=5
-XX:G1MixedGCCountTarget=4
-XX:InitiatingHeapOccupancyPercent=15
-XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5
-XX:SurvivorRatio=32
-XX:+PerfDisableSharedMem
-XX:MaxTenuringThreshold=1bashsudo ufw allow 25565/tcp comment "Minecraft Server"
Check with: sudo ufw status | grep 25565
bashcat > ~/start-minecraft.sh << 'EOF' #!/bin/bash cd ~/minecraft-server/server java @user_jvm_args.txt @libraries/net/neoforged/neoforge/<VERSION>/unix_args.txt nogui EOF chmod +x ~/start-minecraft.sh
Note: For Forge (not NeoForge), the args file path differs. Check startserver.sh for the exact path.
Create backup script:
bashcat > ~/minecraft-server/backup.sh << 'SCRIPT' #!/bin/bash SERVER_DIR="$HOME/minecraft-server/server" BACKUP_DIR="$HOME/minecraft-server/backups" WORLD_DIR="$SERVER_DIR/world" MAX_BACKUPS=24 mkdir -p "$BACKUP_DIR" [ ! -d "$WORLD_DIR" ] && echo "[BACKUP] No world folder" && exit 0 TIMESTAMP=$(date +%Y-%m-%d_%H-%M-%S) BACKUP_FILE="$BACKUP_DIR/world_${TIMESTAMP}.tar.gz" echo "[BACKUP] Starting at $(date)" tar -czf "$BACKUP_FILE" -C "$SERVER_DIR" world SIZE=$(du -h "$BACKUP_FILE" | cut -f1) echo "[BACKUP] Saved: $BACKUP_FILE ($SIZE)" BACKUP_COUNT=$(ls -1t "$BACKUP_DIR"/world_*.tar.gz 2>/dev/null | wc -l) if [ "$BACKUP_COUNT" -gt "$MAX_BACKUPS" ]; then REMOVE=$((BACKUP_COUNT - MAX_BACKUPS)) ls -1t "$BACKUP_DIR"/world_*.tar.gz | tail -n "$REMOVE" | xargs rm -f echo "[BACKUP] Pruned $REMOVE old backup(s)" fi echo "[BACKUP] Done at $(date)" SCRIPT chmod +x ~/minecraft-server/backup.sh
Add hourly cron:
bash(crontab -l 2>/dev/null | grep -v "minecraft/backup.sh"; echo "0 * * * * $HOME/minecraft-server/backup.sh >> $HOME/minecraft-server/backups/backup.log 2>&1") | crontab -
allow-flight=true for modded — mods with jetpacks/flight will kick players otherwisemax-tick-time=180000 or higher — modded servers often have long ticks during worldgenpgrep -fa neoforge or pgrep -fa minecraft to check if runningtail -f ~/minecraft-server/server/logs/latest.log| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-07 | pass→pass | 11,319 | 9,302 | -18% | 1 | 1 | 0% | 1,950 | 3,567 | +83% | 0 | 0 | — |
case-01 | fail→pass | 8,634 | 5,587 | -35% | 1 | 1 | 0% | 1,526 | 2,974 | +95% | 0 | 0 | — |
case-02 | fail→fail | 19,616 | 4,910 | -75% | 1 | 1 | 0% | 3,741 | 2,933 | -22% | 0 | 0 | — |
case-03 | fail→fail | 19,922 | 4,977 | -75% | 1 | 1 | 0% | 3,738 | 2,874 | -23% | 0 | 0 | — |
case-04 | pass→pass | 15,349 | 6,298 | -59% | 1 | 1 | 0% | 2,672 | 3,265 | +22% | 0 | 0 | — |
case-05 | pass→fail | 14,628 | 5,238 | -64% | 1 | 1 | 0% | 2,652 | 2,880 | +9% | 0 | 0 | — |
case-06 | pass→pass | 15,705 | 15,844 | +1% | 1 | 1 | 0% | 2,742 | 4,753 | +73% | 0 | 0 | — |
case-08 | pass→pass | 7,601 | 3,045 | -60% | 1 | 1 | 0% | 1,334 | 2,572 | +93% | 0 | 0 | — |
case-09 | pass→pass | 5,991 | 3,892 | -35% | 1 | 1 | 0% | 1,085 | 2,714 | +150% | 0 | 0 | — |
case-10 | pass→pass | 8,996 | 3,092 | -66% | 1 | 1 | 0% | 1,598 | 2,540 | +59% | 0 | 0 | — |
case-11 | fail→pass | 21,390 | 4,812 | -78% | 1 | 1 | 0% | 3,615 | 2,903 | -20% | 0 | 0 | — |
case-12 | pass→pass | 2,805 | 2,683 | -4% | 1 | 1 | 0% | 483 | 2,485 | +414% | 0 | 0 | — |
case-13 | pass→pass | 9,958 | 7,624 | -23% | 1 | 1 | 0% | 1,696 | 3,474 | +105% | 0 | 0 | — |
case-14 | fail→pass | 10,407 | 10,518 | +1% | 1 | 1 | 0% | 1,664 | 3,702 | +122% | 0 | 0 | — |
case-15 | fail→fail | 12,158 | 10,440 | -14% | 1 | 1 | 0% | 1,950 | 3,751 | +92% | 0 | 0 | — |
case-16 | fail→fail | 12,888 | 8,285 | -36% | 1 | 1 | 0% | 2,211 | 3,488 | +58% | 0 | 0 | — |
case-17 | pass→pass | 13,682 | 5,279 | -61% | 1 | 1 | 0% | 2,574 | 2,980 | +16% | 0 | 0 | — |
case-18 | pass→pass | 3,318 | 2,591 | -22% | 1 | 1 | 0% | 500 | 2,479 | +396% | 0 | 0 | — |
case-19 | pass→pass | 15,201 | 7,713 | -49% | 1 | 1 | 0% | 2,758 | 3,519 | +28% | 0 | 0 | — |
case-20 | pass→pass | 10,890 | 5,914 | -46% | 1 | 1 | 0% | 2,087 | 3,353 | +61% | 0 | 0 | — |
case-21 | pass→pass | 6,565 | 4,646 | -29% | 1 | 1 | 0% | 1,189 | 2,815 | +137% | 0 | 0 | — |
case-22 | pass→pass | 6,797 | 4,110 | -40% | 1 | 1 | 0% | 1,079 | 2,718 | +152% | 0 | 0 | — |
case-23 | pass→pass | 6,789 | 4,777 | -30% | 1 | 1 | 0% | 1,189 | 2,759 | +132% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +9 percentage points is the difference between those two pass rates over the 23 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.