Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@

## [Unreleased]

## [2.0.1] - 2026-10-09

插件功能與 2.0.0 相同,伺服器需求不變(Java 25、Paper 26.2),可直接替換 JAR。

### 變更

- 測試依賴:JUnit 5.14.4 → 6.1.3。只影響測試,產出的 JAR 不變;81 個測試不需修改即全數通過。
- 測試依賴:JUnit 5.14.4 → 6.1.3。只影響測試;除了版本號,JAR 內容與 2.0.0 相同。81 個測試不需修改即全數通過。

## [2.0.0] - 2026-10-09

Expand Down Expand Up @@ -57,6 +61,7 @@
- 核心功能的 characterization tests(JUnit 5 + Mockito,共 73 個),記錄目前的行為。
- 測試用的 `TestRegistryAccess`,讓 `Material.isAir()` 不需要啟動伺服器也能在測試中使用。

[Unreleased]: https://github.com/MrPippi/AutoPickup/compare/v2.0.0...HEAD
[Unreleased]: https://github.com/MrPippi/AutoPickup/compare/v2.0.1...HEAD
[2.0.1]: https://github.com/MrPippi/AutoPickup/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/MrPippi/AutoPickup/compare/v1.0.0...v2.0.0
[1.0.0]: https://github.com/MrPippi/AutoPickup/tree/6c3257c
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

A Paper Minecraft plugin (Java 25, Maven) that auto-pickups block drops directly into the player's inventory when mining. Supports per-player toggle, whitelist/blacklist item filtering with a GUI, and PlaceholderAPI integration.

- **Plugin version:** 2.0.0
- **Plugin version:** 2.0.1
- **Paper API:** 26.2.build.132-stable (API version `26.2`)
- **Java:** 25 (required — enforced by `maven-enforcer-plugin`)
- **Build output:** `target/AutoPickup-2.0.0.jar`
- **Build output:** `target/AutoPickup-2.0.1.jar`

---

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Paper 插件:玩家挖掘方塊時,掉落物自動進入背包。背包已
./mvnw clean package # Windows:mvnw.cmd clean package
```

產出 JAR:`target/AutoPickup-2.0.0.jar`
產出 JAR:`target/AutoPickup-2.0.1.jar`

> 建置前請將 `JAVA_HOME` 設為 JDK 25;enforcer 會拒絕其他版本。

Expand All @@ -50,7 +50,7 @@ Maven repositories:`https://repo.papermc.io/repository/maven-public/`、`https

## 安裝

1. 將 `AutoPickup-2.0.0.jar` 放入伺服器 `plugins/` 目錄。
1. 將 `AutoPickup-2.0.1.jar` 放入伺服器 `plugins/` 目錄。
2. 啟動或重載伺服器(`/reload confirm` 或重啟)。
3. 插件會自動建立 `plugins/AutoPickup/config.yml`、`gui.yml`、`lang.yml`。

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.autopickup</groupId>
<artifactId>AutoPickup</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<packaging>jar</packaging>
<name>AutoPickup</name>
<description>Auto-pickup block drops into player inventory when mining</description>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mrpippi/AutoPickupPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class AutoPickupPlugin extends JavaPlugin {

private static final String PLUGIN_AUTHOR = "AutoPickup";
private static final String PLUGIN_VERSION = "2.0.0";
private static final String PLUGIN_VERSION = "2.0.1";

private static final MiniMessage MINI_MESSAGE = MiniMessage.miniMessage();

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: AutoPickup
version: '2.0.0'
version: '2.0.1'
main: com.autopickup.AutoPickupPlugin
api-version: '26.2'
author: AutoPickup
Expand Down
Loading