diff --git a/.gitignore b/.gitignore index 644a053..41b3e04 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,39 @@ -saves/ -Server/world/ -Server/logs/ -Server/eula.txt -options.txt -logs/ -Server/crash-reports/ +# Whitelist-only: игнорируем всё в корне инстанса, кроме перечисленного ниже +/* + +!.gitignore + +# --- Клиент (корень инстанса) --- +!/config/ +!/mods/ +!/resourcepacks/ +!/shaderpacks/ + +!/manifest.json +!/minecraftinstance.json +!/modlist.html +!/PupaMLupa.json +!/TLauncherAdditional.json +!/.curseclient + +!/config/** +!/mods/** +!/resourcepacks/** +!/shaderpacks/** + +# --- Сервер --- +!/Server/ + +/Server/* +!/Server/config/ +!/Server/mods/ +!/Server/install_java.ps1 +!/Server/install_java.sh +!/Server/start.bat +!/Server/start.ps1 +!/Server/start.sh +!/Server/variables.txt +!/Server/manifest.json + +!/Server/config/** +!/Server/mods/**