Skip to content

Latest commit

 

History

History
112 lines (66 loc) · 8.01 KB

File metadata and controls

112 lines (66 loc) · 8.01 KB

Kā darbojas Jarock?

Vienkāršs servera skaidrojums

Minecraft: Java Edition 26.2 (enable "Set JAVA_HOME variable" in the Temurin installer) Ielādētājs: Fabric Galvenā platforma: Windows 10/11

Šis dokuments izskaidro, kas notiek pēc Jarock lejupielādes.

Technical fallback note: DedicatedPower is a Fabric-only mod: it is updated automatically from its latest GitHub release, while the other server mods are pinned and verified with SHA-512. Links In Chat is also included as a verified server-side Fabric 26.2 mod; it makes chat URLs clickable and adds /link and /linkwhisper, without requiring client installation. Welcome Message 2.8 with its required Collective library is included as a verified server-side Minecraft 26.2 mod for Fabric and NeoForge; it sends configurable join messages.

Do not set online-mode=false before the first server startup; let server.properties be created with online-mode=true first. Uzturēšanas piezīme: palaidējs tagad meklē saderīgu 64 bitu Java 25+ vidi, nevis paļaujas tikai uz pirmo java.exe failu PATH. Tas izmanto scripts/java-runtime.ps1, saglabā izvēlēto izpildāmo failu server/java-path.txt un pārbauda to pirms palaišanas. Java 8 var palikt instalēta.

1. Īsumā

Lietotājs instalē atbalstītu 64 bitu Java, lejupielādē šo repository un palaiž start-server.bat. Programma atrod savu mapi, pārbauda Java un ceļu, vajadzības gadījumā pieprasa Windows garo ceļu atbalstu, lejupielādē fiksēto Fabric installer un mods, kā arī pārbauda katru failu ar SHA-512.

Fabric izveido runtime mapē server/. Pirmā palaišana izveido server/eula.txt ar eula=false un apstājas. Lietotājam jāizlasa https://www.minecraft.net/eula, jāiestata eula=true, ja viņš piekrīt, un jāpalaiž vēlreiz. Geyser pārveido Bedrock datplūsmu, bet Floodgate apstrādā Bedrock autentifikāciju.

Jarock neiestata router, firewall vai port forwarding.

2. Faili un darbplūsma

Repository satur scripts, veidnes un manifest, bet nesatur pasauli vai ģenerētos .jar failus:

start-server.bat
scripts/bootstrap-server.ps1
scripts/configure-geyser.ps1
scripts/enable-long-paths.ps1
server/mods-manifest.ps1
server/server.properties.template
server/eula.txt.template
scripts/version.txt
CHANGELOG.md
TODO.md

Runtime tiek izveidots mapē server/. Git ignorē pasaules, logs, bibliotēkas, privātās atslēgas un vietējos sarakstus.

start-server.bat izmanto savu atrašanās vietu, nevis fiksētu ceļu, piemēram, C:\MinecraftServer, tāpēc tiek atbalstīti pieejami ceļi ar atstarpēm, Unicode, ! un ligzdotām mapēm. Garajiem ceļiem tiek pārbaudīts:

HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled

Ja nepieciešams, skripts pieprasa administratora tiesības un palaiž scripts\enable-long-paths.ps1. Izmaiņa ir visas ierīces līmenī, un vecākām programmām var būt vajadzīga Windows restartēšana.

3. EULA, Geyser un kļūdas

Pirmā palaišana izveido server/eula.txt ar eula=false un apstājas. Izlasi EULA, maini uz eula=true, ja piekrīti, un palaid vēlreiz.

Geyser pilno konfigurāciju izveido pirmās īstās servera palaišanas laikā. Pēc tam skripts failā:

server\config\Geyser-Fabric\config.yml

iestata:

auth-type: floodgate

Java parasti izmanto TCP 25565, bet Bedrock UDP 19132. Jarock neatver portus. key.pem ir privāts un to nedrīkst publicēt.

Pēc kļūdas izlasi ERROR: vai WARNING: un izpildi Suggested fix:. Ja Java apstājas, meklē pirmo Caused by: ierakstu failā server\logs\latest.log vai mapē server\crash-reports\. Atlikušie uzdevumi ir TODO.md.

Tehniska piezīme: Vienmēr izmantojiet repozitorija saknes mapē esošo start-server.bat. Neveiciet dubultklikšķi uz server.jar; Windows var izmantot Java 8 vai Java 21, bet Minecraft 26.2 nepieciešama 64 bitu Java 25+. Skatiet pilno rokasgrāmatu angļu valodā.

Better Multiplayer Sleep is a verified Minecraft 26.2 datapack. Jarock installs it into the configured world's datapacks folder for Fabric and NeoForge without replacing the world or other datapacks; use /reload after manual changes.

No Chat Reports is a verified Minecraft 26.2 server-side mod for Fabric and NeoForge. It prevents the server from forwarding signed chat-reporting data; vanilla clients may still show unsigned-chat warnings, and Jarock does not automatically change enforce-secure-profile.

Essential Commands 0.41.0 with its required ec-core 1.3.0 component is verified for Minecraft 26.2 on Fabric only. It adds useful server commands; no compatible NeoForge 26.2 build is available, so NeoForge does not install it.

InvView 1.4.21 is a verified Minecraft 26.2 server-side Fabric mod. It requires Fabric API and lets authorized operators inspect and manage online or offline player inventories and ender chests; no compatible NeoForge 26.2 build is available, so NeoForge does not install it.

OfflineCommands 1.0.3 is a verified Minecraft 26.2 server-side Fabric mod for running commands on offline players. No compatible NeoForge 26.2 build is available, so NeoForge does not install it.

Technical note: Async is an experimental server-side Minecraft 26.2 mod installed for both Fabric and NeoForge. It processes entities in parallel, requires Java 25+, and may cause crashes, incorrect entity behavior or incompatibilities. Test it with a backup before public use; disable or remove its jar if the server becomes unstable.

Droša apturēšana

Ierakstiet stop un atstājiet logu atvērtu. Pirms aizvēršanas gaidiet CLEAN SHUTDOWN COMPLETE un pēc tam SAFE TO CLOSE. Ja otrais ziņojums neparādās, pārbaudiet žurnālu un avārijas ziņojumu un vajadzības gadījumā atjaunojiet dublējumu. Technical fallback note: When stop is detected, Jarock prints a notice that the world is being saved, then prints the final SAFE TO CLOSE confirmation directly in the server console as soon as the save completes, in both gui and nogui modes. Keep the window open until that message appears.

Jarock atjaunināšana

Izlasiet scripts/version.txt, apturiet serveri un gaidiet SAFE TO CLOSE; pēc tam palaidiet scripts/update-jarock.bat. Tas meklē jaunāku tās pašas beta/stabilā kanāla versiju, lūdz apstiprinājumu un izveido atcelšanas dublējumu. Pasaule, runtime, modifikācijas, bibliotēkas un lokālie iestatījumi tiek saglabāti; atkarības labo tikai tad, ja tās trūkst vai ir nederīgas.

Pilnā pakotne un tās publicētā SHA-512 kontrolsumma tiek pārbaudīta pirms instalēšanas.

You can also choose U. Check for Jarock updates in parameter-manager.bat to open scripts/update-jarock.bat in a separate window without starting the server. The updater performs the check and asks Download and install it now? (y/N); Enter or N leaves the installation unchanged.

Atjauninājumu pārbaude palaišanas laikā

Startup update modes: AUTO_UPDATE_MODE=install checks for a compatible release and installs the verified package matching scripts/jarock-edition.ini automatically; AUTO_UPDATE_MODE=check checks for updates only and never installs; AUTO_UPDATE_MODE=never does not check for updates and does not install updates. The default is AUTO_UPDATE_MODE=install; choose check or never in parameter-manager.bat to override it.

Windows konsoles aizvēršanas aizsardzība: While Jarock is running, the classic Windows console may show a warning when X is clicked. Ierakstiet stop un gaidiet SAFE TO CLOSE. Nepiespiediet aizvēršanu pasaules saglabāšanas laikā. Jarock relaunches its launchers in the classic Windows Console Host when they are started from Windows Terminal, so the close-event protection works there; other pseudo-terminals without a marker (for example Alacritty) are not auto-detected, and Windows can still force-terminate a console process after its short handler timeout.