Files
onion-mc/.packwizignore
T
logan f949c169a2 feat(perf): add one-step tier setup script for existing players
Default Options only seeds configs when absent, so existing players never
got the tuned settings. build.py --ship now also writes the Deck/Mid/High
tier files to config/onion-perf/<tier>/, and onion-perf-setup.{sh,ps1,bat}
(installed into the instance folder) backs up and replaces the tier's
config files and merges only the tuned video keys into options.txt,
keeping keybinds, audio and vsync/max-FPS choices.

PLAYER-TUNING: point players at the script; bench B4 GC verdict (G1 for
everyone; ZGC/Shenandoah tested worse); 16 GB PCs 5-6 GB heap.
2026-10-18 15:31:20 -04:00

81 lines
2.5 KiB
Plaintext

# Server/runtime files - never track these in the pack index
libraries/
world*/
logs/
crash-reports/
eula.txt
options.txt
server.properties
user_jvm_args.txt
run.sh
*.jar
*.jar.log
run.bat
# Server/runtime config is opt-in. Everything under these directories is
# ignored; deliberately authored defaults are re-included at the bottom of
# this file. This repo doubles as a server directory, so a blanket un-ignore
# here would pull every runtime-generated config into the index.
config/*
defaultconfigs/*
kubejs/
local/
# Authoring/review material - belongs in the repo, never in the pack
analysis/
phase0/
ftbbackups3/
patchouli_books/
.sable/
*.json
*.log
*.pid
.pi/
resourcepacks/*.zip
shaderpacks/*.zip
start.sh
tools/
# C2ME runtime worldgen cache (regenerated at runtime)
cache/
# Immersive Paintings player-upload cache (regenerated at runtime)
immersive_paintings_cache/
# Scratch artifacts from the map-migration tooling - never ship these
sp-world/
xaero-migration-kit/
*.tar.gz
*.tgz
# --- Shipped config defaults ----------------------------------------------
# These must come AFTER every ignore above (last matching pattern wins),
# including the blanket "*.json" in the authoring section. Re-include only
# files we deliberately author and want enforced on install.
!config/petprotect.json
!config/akashictome-common.toml
# Paxi global datapack with cross-mod recipe/tag fixes (generated by
# analysis/audit/gen_fixes.py). Paxi's runtime load-order files stay ignored.
!config/paxi
config/paxi/*
!config/paxi/datapacks
config/paxi/datapacks/*
!config/paxi/datapacks/onion-fixes
!config/paxi/datapacks/onion-fixes/**
# Client perf defaults (analysis/client-perf/proposed-configs/build.py --ship).
# Default Options copies them into place client-side, only when the target is absent.
!config/defaultoptions
!config/defaultoptions/**
# Spawn tuning reverted 2026-10-18: bench B14 showed no measurable load reduction.
# ModernFix mixin overrides (build.py SHIP; enforced - ModernFix reads it before
# Default Options runs). dynamic_resources=true per bench B6.
!config/modernfix-mixins.properties
# Player tier overrides (build.py --ship) plus the per-machine setup script that
# applies a tier to an existing install (see PLAYER-TUNING.md §1). Must come after
# the blanket config/* and *.json patterns above (last matching pattern wins), and
# the directory itself must be re-included before anything under it.
!config/onion-perf
!config/onion-perf/**
!onion-perf-setup.sh
!onion-perf-setup.ps1
!onion-perf-setup.bat