Skip to content
Back to search

STweaks

by Shulker-Studio

潜小贝服务器专用插件——原版BUG修复以及部分功能微调

  • 1 star
  • Updated
26.51.0

README26.51.0

STweaks

Server-side LeviLamina tweaks for bug fixes and configurable gameplay rules.

Build

xmake f -y -p windows -a x64 -m release
xmake

The packaged plugin is written to bin/STweaks.

Configuration

On first plugin load, STweaks creates config.json in its LeviLamina configuration directory. After editing it, run /stweaks reload as an administrator to apply the new configuration without reloading the plugin.

The configuration supports:

  • Feature switches for chunk, bundle, silverfish, portal, wither, explosion, and loot behavior.
  • Portal-mob allowlist and denylist policies using entity type IDs.
  • Multiple prioritized 3D AABB rules for wither summoning and explosions.
  • Per-explosion-rule block breaking, fire, and entity damage controls.
  • Configurable bonus loot rules with exact or ECMAScript regular-expression block matchers.
  • Loot conditions for player mining and Silk Touch, plus independent or single-selection permille drop chances.

The first matching AABB rule wins. Loot regular expressions are compiled while loading the configuration; invalid rules are ignored and reported in the server log.

License

CC0-1.0, based on the LeviLamina mod template.

Install STweaks

Run this in your server or client folder with lip:

lip install github.com/Shulker-Studio/STweaks@26.51.0
Download from GitHub