Skip to content

v1.0.0

Latest

Choose a tag to compare

@spa77k spa77k released this 07 Oct 06:01

English

What it does

  • Clears Bolt block protections after world regeneration: Removes stale Bolt block protections in a regenerated world from the console (does not touch entity protections or player trust settings).
  • Target worlds specified in config.yml: Only clears worlds explicitly listed under worlds in config.yml.
  • Safety checks:
    • Console and RCON only (players cannot run it).
    • Verifies that the world has actually regenerated by comparing old and new world UIDs.
    • Refuses by default unless the server whitelist is enabled and no players are online (require-whitelist and require-empty-server).
    • Confirms that remaining protections are zero after clearing.
  • Machine-readable output: Prints a single line (BOLT_RESET_OK ... or BOLT_RESET_ERROR ...) for easy integration with reset scripts.

Requirements

  • Paper 1.20.6 or later (tested on Paper 26.2 and Paper 26.3)
  • Bolt 1.2.22 or later
  • Java 21 or later

日本語

できること

  • ワールド再生成後にBoltのブロック保護を削除: ワールドを作り直したあとに残る古いBoltのブロック保護をコンソールから削除します(エンティティ保護やプレイヤーの共有設定には触れません)。
  • config.yml で対象ワールドを指定: config.yml の worlds に指定されたワールドのみ削除を許可します。
  • 安全確認:
    • コンソールおよびRCONからのみ実行可能(プレイヤーは実行不可)。
    • 新旧のワールドUIDを比較し、実際に再生成されたワールドでのみ実行。
    • 既定でホワイトリストが有効かつ接続プレイヤーが0人のときのみ実行(設定で変更可能)。
    • 削除後に保護の残存が0件であることを確認。
  • スクリプト向け出力: リセット用スクリプトで結果を判定しやすい機械可読な1行(BOLT_RESET_OK ... または BOLT_RESET_ERROR ...)を出力。

動作環境

  • Paper 1.20.6 以降(Paper 26.2・26.3 で動作確認済み)
  • Bolt 1.2.22 以降
  • Java 21 以降