SHTechCraft Minecraft Documentation
website·Indexed 30 days ago
https://blog.talexck.com/blog/Technical documentation for SHTechCraft Minecraft servers, including the collaborative building 'Block Campus' (方块校园) server using the WorldGit plugin, the Survival server running Fabric 26.1.2, and the Bingo event server. It covers server core selection, Java configuration, deployment, permissions, and detailed guides for custom plugins like WorldGit and GameVoting.
What's inside SHTechCraft
- WorldGit is a Minecraft plugin designed for collaborative construction. It adapts Git-style version control concepts—specifically branching, auditing/review, and merging—to Minecraft map editing. This system is used to protect the primary 'main world' while enabling multiple builders to work on different sections or versions of the map in parallel.
Overview of the GameVoting Plugin
GameVoting is a voting plugin designed for Minigames lobbies. It runs on Paper servers and integrates with CloudNet v4 to launch minigame sub-servers and teleport players who participate in the voting process to the target game server.Browse All WorldGit Branches
The 'View All Branches' menu provides a global overview of all existing branches in the system, including the total count, number of unmerged branches, and a paginated list showing owners, tags, status, and region info. Players can left-click any unmerged branch to teleport and preview it; non-members of that branch have read-only access.Manage the WorldGit build-review-merge workflow
WorldGit implements a version-control style workflow for Minecraft world editing. The core process consists of: selecting a region, creating a branch for isolated editing, submitting the work for review, and merging the approved changes back into the main world.SHTechCraft Block Campus Server Specifications
The SHTechCraft Block Campus server is a Paper-based Minecraft server designed for collaborative building. It uses a 'version-controlled workbench' approach to prevent unauthorized changes to the main world.# Key server.properties configuration server-port=25565 motd=Building SHTech... online-mode=true gamemode=creative difficulty=peaceful max-players=20 view-distance=16 simulation-distance=10 spawn-protection=0 white-list=falseInstall base dependencies for the Survival Server Fabric environment
The survival server utilizes the Fabric Mod ecosystem. The following base dependencies are required for the server and other mods to function correctly:
- Fabric API: The fundamental API for the Fabric ecosystem.
- Cloth Config: A configuration prerequisite for several mods.
- YetAnotherConfigLib (YACL): A configuration prerequisite for several mods.
SHTechCraft Survival Server Environment Overview
The SHTechCraft survival server is a long-term survival server running Minecraft version26.1.2using the Fabric ecosystem.Understand WorldGit Main World Protection scope
WorldGit's Main World Protection is designed to prevent players from bypassing the branch workflow to modify the main world directly. The system intercepts the following actions:
- Block placement and destruction (including multi-block placement).
- Axiom block package modifications.
- Use of water and lava buckets.
- Bone meal and fertilization.
- Liquid flow, spreading, decay, and generation.
- Piston pushing and pulling.
- Explosions.
- Hanging entities such as item frames and paintings.
- Armor stand operations.
- Spawn eggs.
- Certain natural and hostile mob spawning.
- Transitions from the main world into the Nether or the End.
Review Branches as an Administrator
Users with the
worldgit.admin.reviewpermission can access the Review Entry. The system categorizes branches into 'Pending Review' (first-time submissions) and 'Re-review Required' (main line updated since last review).Administrator Actions:
- Teleport to Branch: Inspect the build in its own world.
- Highlight Changes: Toggle visibility of modified blocks.
- Approve: Move the branch to the merge confirmation stage.
- Reject: Provide a reason via a sign and return the branch to the player for edits.
Conclude a Bingo game session
Follow these steps to properly end a Bingo session:
- Confirm final scores/results.
- Save the server logs.
- Create separate backups of any statistics files.
- Shut down the server.
- Process and clean up the world directory to prepare for the next round.
Manage WorldGit backups
WorldGit performs scheduled backups. Success is indicated in the logs by the message:[WorldGit] 世界备份完成: world-YYYYMMDD-HHMMSS. It is recommended to perform a manual backup before executing large-scale merges./wg admin backupSetup Triton on Ascend NPU (AutoDL)
To run Triton on Ascend NPUs within an AutoDL environment:
- Select a community image containing CANN 8.3 and PyTorch 2.7.1.
- Install the
triton-ascendpackage via pip. - Note that standard CUDA benchmarks (e.g.,
benchmark.py) will not work; you must implement a compatible NPU version (e.g.,benchmark_npu.py).
pip install triton-ascend