Mod maison nosingleplayer 1.0.0 (bouton Solo désactivé) + atlas
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user