1.2.0
Compatibility
Changes
NotItem 1.2.0
対応環境: Spigot / Paper 1.13 – 1.21.x、Java 8 以上(Spigot API 1.20.1 でビルド)
追加
/notitem add/removeの省略形(引数なしで手持ちのアイテムをallに、<world>のみ指定でそのワールドに)/notitem guiは省略時にallを開くnotitem.bypass権限(デフォルト OP)- 設定
scan-interval-ticks/message-cooldown-ms - シュルカーボックスの中身・防具・オフハンド・カーソルのチェック
- 旧バージョンの
config.yml/language.ymlの自動更新(更新前のファイルは.bakとして保存)
修正
- GUI を閉じると 54 件を超える禁止アイテムが失われる問題
- アイテムの取得・使用が一瞬通ってしまう問題(イベントをキャンセルするよう変更)
- 登録済みアイテムの追加・未登録アイテムの削除時のメッセージ
- ドットを含むワールド名が正しく扱われない問題
- 連打時に「削除しました」の通知が大量に出る問題
- ヘルプ表記の
|の前後に空白を追加
アップデート方法
jar を差し替えてサーバーを再起動するだけです。設定ファイルは初回起動時に自動で更新されます(自分で書き換えたメッセージは変更されません)。
注意
- 実サーバーでの検証は 1.20.1 ~ 26.2を中心に行っています。それ以外のバージョンは、Spigot API 1.13.2 / 1.16.5 / 1.19.4 / 1.21.4 に対するコンパイルを CI で確認している範囲です。
English
Requirements: Spigot / Paper 1.13 – 1.21.x, Java 8 or higher (built against Spigot API 1.20.1 - 26.2)
Added
- Shortcuts for
/notitem add/remove(no arguments = held item toall;<world>only = held item to that world) /notitem guiopensallby defaultnotitem.bypasspermission (OP by default)scan-interval-ticks/message-cooldown-msoptions- Armor, off-hand, cursor and shulker box contents are now checked
- Automatic migration of
config.yml/language.ymlfrom older versions (previous files are kept as.bak)
Fixed
- Restricted items beyond 54 were lost when closing the GUI
- Restricted items could be picked up or used for a moment (events are now cancelled)
- Wrong messages when adding an already listed item / removing an unlisted one
- World names containing dots were not handled correctly
- Too many "item removed" messages when clicking repeatedly
Updating
Replace the jar and restart the server. Configuration files are updated automatically on first start; customized messages are left untouched.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:z5l6ipTO:qtDRmuh3"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:z5l6ipTO:qtDRmuh3"
}

