config.yml written without comments

オープン
#2,078 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
backend

調査の方向性

まず、報告されている Paper と Spigot の再現手順を使用して、起動後の plugins/WorldGuard/config.yml と JAR 内の defaults/config.yml を比較します。起動時の設定の書き換えを追跡し、Spigot と新しい Paper でコメントが失われる理由を特定します。両方のプラットフォームで config.yml がコメント付きで書き換えられれば完了です。

索引モデルが issue の本文から書いたものです。

説明

status:pending type:bug
WorldEdit Version

7.3.1-6745

WorldGuard Version

7.0.10-2266

Platform Version

Spigot 1.20.6-4142

Confirmations
  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description

On server start-up, plugins/WorldGuard/config.yml is (re)written without comments at top of file. The comments are contained in the defaults/config.yml file in the JAR. The comments are (re)written on Paper 1.20.6, and on both Paper and Spigot with previous versions of WorldGuard.

Expected Behavior

Rewrite file with comments, regardless of platform.

Reproduction Steps
  1. Update to Spigot 1.20.6
  2. Update to WorldGuard build 2266
  3. Start server
  4. Compare files
Optional WorldGuard-Report

No response

Anything Else?

No response

主要言語
Java
スター
944
フォーク
686
平均マージ
4日 7時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EngineHub/WorldGuard のほかの issue

EngineHub/WorldGuard の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。