**feat(server): add local server initialization and datapack sync**

- Update **ReadMe.md** with:
  - Spark console command syntax correction
  - New **Adventure Platform Mod** and **Better Fabric Console** entries
  - Resolved TODO items: server template setup and datapack sync
- Add **bash/init-local-server.sh** to automate server template deployment
- Enhance **bash/export-serverpack.sh** with datapack synchronization via `rsync`
This commit is contained in:
2026-07-21 15:48:03 +03:00
parent 7ea4091e1c
commit fec88fe91b
10 changed files with 240 additions and 4 deletions

View File

@ -48,7 +48,7 @@ OptiFine Alternatives
| :-- | :-- | :-- |
| **[Iris Shaders](https://www.curseforge.com/minecraft/mc-mods/irisshaders)** | Shader support for Fabric | ✅ **Requires: [[Sodium]](#sodium)**<br>Get shaders from: [Modrinth Shaders](https://modrinth.com/discover/shaders) |
| **[Sodium](https://www.curseforge.com/minecraft/mc-mods/sodium)** | Drastically improves client performance | **Required by: [[Iris]](#iris-shaders)** |
| **[Spark](https://spark.lucko.me)** | Performance profiler for diagnosing lag and memory issues | `/spark profiler` to start/stop profiling |
| **[Spark](https://spark.lucko.me)** | Performance profiler for diagnosing lag and memory issues | Console: `spark profiler start --allow`, `spark profiler stop` |
---
@ -57,6 +57,7 @@ OptiFine Alternatives
| Mod | Purpose | Required For |
| :-- | :-- | :-- |
| **[Adventure Platform Mod](https://modrinth.com/mod/adventure-platform-mod)** | Kyori Adventure on Fabric | Required by **[[Better Fabric Console]](#better-fabric-console)** |
| **[Collective](https://www.curseforge.com/minecraft/mc-mods/collective)** | Library for shared code | Service module for **[[Serilum]](#serilum-mods)** mods |
| **[Fabric API](https://www.curseforge.com/minecraft/mc-mods/fabric-api)** | Core hooks for Fabric mods | Needed for **[[Forge Config API Port]](#forge-config-api-port)** & **[[Advanced XRay]](#-cheats)** & **[Tech Reborn](https://www.curseforge.com/minecraft/mc-mods/techreborn)** & **[Tom's Simple Storage Mod (Fabric)](https://www.curseforge.com/minecraft/mc-mods/toms-storage-fabric)**|
| **[Forge Config API Port](https://www.curseforge.com/minecraft/mc-mods/forge-config-api-port)** | Port of Forge's config system | Required by **[[Remove Reloading Screen]](#-improvements--enhancements)**.<br>**Requires: [[Fabric API]](#fabric-api)** |
@ -93,6 +94,7 @@ OptiFine Alternatives
| Mod | Description | Dependencies |
| :-- | :-- | :-- |
| **[Better Fabric Console](https://modrinth.com/mod/better-fabric-console)** 🥕 | **The** server console upgrade: MC 26 vanilla reads stdin via dumb `readLine()` — no history, no line editing, arrow keys print `^[[D` like it's 1995. This mod replaces all of that with a full JLine terminal: ↑/↓ command history, left/right editing, tab completion, syntax highlighting, readable colored logs. If you touch the server console more than once a week, this mod is non-negotiable | **Server-only.****Requires: [[Adventure Platform Mod]](#adventure-platform-mod)** & **[[Fabric API]](#fabric-api)** |
| **[Dynamic FPS](https://www.curseforge.com/minecraft/mc-mods/dynamic-fps)** | Reduces FPS when the game is not in focus. | |
| **[Remove Reloading Screen](https://www.curseforge.com/minecraft/mc-mods/rrls)** | Removes the red reload splash screen when changing settings | ✅ **Requires: [[Forge Config API Port]](#forge-config-api-port)** |
@ -158,8 +160,8 @@ OptiFine Alternatives
# TODO
- Обязвку для создания сервера добавить сюда в сборку под git
- При экспорте серверной сборки в локальный папку - синхронизировать датапаки по типу `rsync -a datapacks/ /home/dimti/Seafile/minecraft/installers/m2612/world/datapacks/`
- ~~Обязвку для создания сервера добавить сюда в сборку под git~~ → `server-template/` + `bash/init-local-server.sh`
- ~~При экспорте серверной сборки в локальный папку - синхронизировать датапаки~~ → сделано в `bash/export-serverpack.sh`
- При отправки обновленной сборки на NixOS-сервер - синхронизировать каким-нибудь образом датапаки
# Datapacks