Dye wool and carpets in colored cauldrons with tiered water costs

This commit is contained in:
2026-09-12 13:47:11 +03:00
parent 3048e310a9
commit cae34a70d5
6 changed files with 51 additions and 7 deletions
+3 -1
View File
@@ -1,11 +1,13 @@
param(
[string]$ServerDirectory = 'C:/Users/ScarPC/Documents/NeoForge Server 26.2',
[string]$Java = 'java',
[int]$Port = 25639
[int]$Port = 25639,
[string]$PlusDirectory = ''
)
$ErrorActionPreference = 'Stop'
$repo = Split-Path $PSScriptRoot -Parent
$plus = Join-Path (Split-Path $repo -Parent) 'AstraPlus'
if ($PlusDirectory) { $plus = (Resolve-Path -LiteralPath $PlusDirectory).Path }
$run = Join-Path $repo ('build/verification-' + (Get-Date -Format 'yyyyMMdd-HHmmss') + '-' + [guid]::NewGuid().ToString('N').Substring(0,6))
New-Item -ItemType Directory -Path (Join-Path $run 'mods') -Force | Out-Null
$plusVersion = [regex]::Match((Get-Content "$plus/build.gradle.kts" -Raw), '(?m)^version = "([^"]+)"').Groups[1].Value