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
39 changes: 39 additions & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Publish Package

on:
release:
types:
- published

jobs:
publish-github-packages:
name: Publish to GitHub Packages
if: github.event_name == 'release'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout
uses: actions/checkout@v5

- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '25'
cache: maven
server-id: github
server-username: GITHUB_ACTOR
server-password: GITHUB_TOKEN

- name: Build and install MockBukkit dev/26.1.1
run: |
git clone --depth=1 --branch dev/26.1.1 https://github.com/MockBukkit/MockBukkit.git /tmp/MockBukkit
cd /tmp/MockBukkit && ./gradlew publishToMavenLocal -xtest -xjavadoc

- name: Publish Maven artifacts
run: mvn -B -ntp -DskipTests deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ It runs timed season resets, sends reminder broadcasts, and provides `/season` s

> This README is written for **server owners** first. API details are included near the end for plugin developers.

> EzSeasons >= 2.0.0 is build for Minecraft 26.1 & Java 25
> EzSeasons < 2.0.0 is build for Minecraft 1.8-26.1 & Java 17

## Download

- Download **EzSeasons** from Modrinth: [https://modrinth.com/plugin/ezseasons](https://modrinth.com/plugin/ezseasons)
- 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.1
- Plugin version: 2.0.2

## Quick setup (server owners)

Expand Down Expand Up @@ -112,7 +115,7 @@ You can consume the API artifact in two ways:
<dependency>
<groupId>com.skyblockexp.lifesteal</groupId>
<artifactId>ezseasons-api</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -132,7 +135,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.1</version>
<version>v2.0.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.skyblockexp.lifesteal</groupId>
<artifactId>ezseasons-parent</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</parent>

<artifactId>ezseasons-api</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can use either GitHub Packages (official) or JitPack.
<dependency>
<groupId>com.skyblockexp.lifesteal</groupId>
<artifactId>ezseasons-api</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -61,7 +61,7 @@ You can use either GitHub Packages (official) or JitPack.
<dependency>
<groupId>com.github.ez-plugins.EzSeasons</groupId>
<artifactId>ezseasons-api</artifactId>
<version>v2.0.1</version>
<version>v2.0.2</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.1.jar` from [Modrinth](https://modrinth.com/plugin/ezseasons).
2. Download `EzSeasons-2.0.2.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
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1 |
| Plugin version | 2.0.2 |

---

Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ jdk:
- openjdk25

install:
- mvn --batch-mode --no-transfer-progress clean install -DskipTests
- ./mvnw --batch-mode --no-transfer-progress clean install -DskipTests
Loading
Loading