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
22 changes: 22 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
coverage:
precision: 2
round: down
range: "60...100"
status:
project:
default:
target: auto
threshold: 2%
patch:
default:
target: auto
threshold: 1%

comment:
layout: "condensed_header, condensed_tree, condensed_diff"
behavior: default
require_changes: yes
require_base: yes

ignore:
- "src/test/**"
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ jobs:
name: unit-test-coverage-report
path: plugin/target/site/jacoco
if-no-files-found: error
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: plugin/target/site/jacoco/jacoco.xml
flags: unittests
fail_ci_if_error: true

translation-tests:
name: Translation coverage
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ It runs timed season resets, sends reminder broadcasts, and provides `/season` s
- Optional companion plugin: [EzLifesteal](https://modrinth.com/plugin/ezlifesteal)
- Supported server software: Paper / Bukkit-compatible server
- Requires: Java 25, Minecraft 26.1+
- Plugin version: 2.0.3
- Plugin version: 2.1.0

## Quick setup (server owners)

Expand Down Expand Up @@ -92,7 +92,9 @@ season:

## For developers (optional)

EzSeasons exposes a Bukkit service API (`SeasonsApi`) for integrations.
EzSeasons exposes a Bukkit service API (`SeasonsApi`) for integrations. The API artifact is **pure Java** — it has no Bukkit/Paper dependency, so it stays compatible regardless of server version.

Integrated plugins receive lifecycle callbacks (`onRegister`, `onUnregister`, `onSeasonReset`) via the `SeasonsIntegration` interface, and can also listen to Bukkit events (`SeasonResetEvent`, etc.) which are included in the plugin JAR.

### Dependency options

Expand All @@ -115,7 +117,7 @@ You can consume the API artifact in two ways:
<dependency>
<groupId>com.skyblockexp.lifesteal</groupId>
<artifactId>ezseasons-api</artifactId>
<version>2.0.3</version>
<version>2.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -135,7 +137,7 @@ You can consume the API artifact in two ways:
<dependency>
<groupId>com.github.ez-plugins.EzSeasons</groupId>
<artifactId>ezseasons-api</artifactId>
<version>v2.0.3</version>
<version>v2.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ EzSeasons does **not** require EzLifesteal. It is fully standalone.
## Installation

1. Stop your server.
2. Download `EzSeasons-2.0.3.jar` from [Modrinth](https://modrinth.com/plugin/ezseasons).
2. Download `EzSeasons-2.1.0.jar` from [Modrinth](https://modrinth.com/plugin/ezseasons).
3. Copy the jar into your `plugins/` folder.
4. *(Optional)* Install [EzLifesteal](https://modrinth.com/plugin/ezlifesteal) if you want Lifesteal heart-reset behavior on each season reset.
5. Start the server once. EzSeasons generates `plugins/EzSeasons/config.yml` and the `messages/` folder.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ It schedules timed season resets, broadcasts announcements, sends configurable c
| `/season` command | Players can check the time remaining until the next reset |
| Admin subcommands | `reload`, `reset`, `setnext`, `clear-next`, `status` |
| Multi-language support | `en`, `es`, `fr`, `zh`, `ru`, `nl` |
| Developer API | Bukkit service + Bukkit events; no runtime class-loading tricks |
| Developer API | Pure-Java API artifact; `SeasonsIntegration` callbacks (`onRegister`, `onUnregister`, `onSeasonReset`); Bukkit events in plugin JAR |

---

Expand All @@ -34,7 +34,7 @@ It schedules timed season resets, broadcasts announcements, sends configurable c
|---|---|
| Minecraft / Paper | 26.1 or later |
| Java | 25 or later |
| Plugin version | 2.0.3 |
| Plugin version | 2.1.0 |

---

Expand Down
Loading
Loading