Mod maison nosingleplayer 1.0.0 (bouton Solo désactivé) + atlas

This commit is contained in:
kisakay
2026-10-18 20:36:27 +02:00
parent d666a65dac
commit 11f5976dde
51 changed files with 1251 additions and 0 deletions
+7
View File
@@ -53,6 +53,13 @@ echo "== resourcepack/shader (Prism -> atlas files/) =="
cp -u "$HOME/.local/share/PrismLauncher/instances/26.3/minecraft/resourcepacks/FallPack_26.3_v3.1.zip" "atlas/root/servers/SurviePote-26.3/files/resourcepacks/" 2>/dev/null || true
cp -u "$HOME/.local/share/PrismLauncher/instances/26.3/minecraft/shaderpacks/Revelation-dev.zip" "atlas/root/servers/SurviePote-26.3/files/shaderpacks/" 2>/dev/null || true
echo "== mod maison nosingleplayer (build si besoin) =="
if [ ! -f mods/nosingleplayer/build/libs/nosingleplayer-1.0.0.jar ]; then
(cd mods/nosingleplayer && ./gradlew build 2>&1 | tail -n 2) || echo "BUILD nosingleplayer échoué (réseau/gradle requis)"
fi
cp -u mods/nosingleplayer/build/libs/nosingleplayer-1.0.0.jar "$ATLAS_MODS/" 2>/dev/null || true
# Note : environment=client (menu titre), inutile côté serveur.
echo "== regen distribution.json =="
(cd atlas && npm run faststart -- generate distro) 2>&1 | tail -n 2
echo OK.