Update start.sh
Browse files31 unmodified lines3233343536374 unmodified lines424344454647484950515253545531 unmodified linesmkdir -p plugins/EaglercraftXServer# 3. Download Plugins using curl (Follows redirects and spoofs browser)echo "[System] Fetching EaglerXServer & EaglerXRewind..."curl -sL -A "Mozilla/5.0" -o plugins/EaglerXServer.jar "https://github.com/lax1dude/eaglerxserver/releases/download/v1.0.8/EaglerXServer.jar"4 unmodified linescurl -sL -A "Mozilla/5.0" -o plugins/ViaBackwards.jar "https://cdn.modrinth.com/data/NpvuJQoq/versions/8YdMHUIl/ViaBackwards-5.9.0-SNAPSHOT.jar"curl -sL -A "Mozilla/5.0" -o plugins/ViaRewind.jar "https://cdn.modrinth.com/data/TbHIxhx5/versions/r3AZ5yTY/ViaRewind-4.1.0-SNAPSHOT.jar"# 3.5 Anti-Corruption Check (Deletes the file if it downloaded an HTML error page)for jar in plugins/*.jar; doif ! jar tf "$jar" >/dev/null 2>&1; thenecho "[ERROR] $jar downloaded as a corrupted HTML page! Deleting it to prevent crashes..."rm -f "$jar"fidone# 4. Accept EULA and Set Base Propertiesecho "eula=true" > eula.txtecho "server-port=25565" > server.properties31 unmodified lines323334353637384 unmodified lines43444546474831 unmodified linesmkdir -p plugins/EaglercraftXServerrm -rf plugins/# 3. Download Plugins using curl (Follows redirects and spoofs browser)echo "[System] Fetching EaglerXServer & EaglerXRewind..."curl -sL -A "Mozilla/5.0" -o plugins/EaglerXServer.jar "https://github.com/lax1dude/eaglerxserver/releases/download/v1.0.8/EaglerXServer.jar"4 unmodified linescurl -sL -A "Mozilla/5.0" -o plugins/ViaBackwards.jar "https://cdn.modrinth.com/data/NpvuJQoq/versions/8YdMHUIl/ViaBackwards-5.9.0-SNAPSHOT.jar"curl -sL -A "Mozilla/5.0" -o plugins/ViaRewind.jar "https://cdn.modrinth.com/data/TbHIxhx5/versions/r3AZ5yTY/ViaRewind-4.1.0-SNAPSHOT.jar"# 4. Accept EULA and Set Base Propertiesecho "eula=true" > eula.txtecho "server-port=25565" > server.properties
start.sh+1-8