From 7856b98ef8045bc527f406407c5bd9e08ce99473 Mon Sep 17 00:00:00 2001 From: seedim Date: Fri, 8 May 2026 21:56:38 +0300 Subject: [PATCH 1/8] Restructure dependency wiring and centralize repositories --- api/build.gradle.kts | 7 ------- build.gradle.kts | 5 ----- common/build.gradle.kts | 9 ++------- gradle/libs.versions.toml | 4 +++- paper/build.gradle.kts | 36 +++++++++++++++++++++++++++--------- settings.gradle.kts | 15 +++++++++++++++ sponge/build.gradle.kts | 24 +++++------------------- 7 files changed, 52 insertions(+), 48 deletions(-) diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 856b8d5..7d7cf2d 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -8,13 +8,6 @@ plugins { id("java") } -group = "xyz.mayahive.customdaytime" -version = "2.0.0-SNAPSHOT" - -repositories { - mavenCentral() -} - val javaTarget = 21 // Sponge targets a minimum of Java 21 java { toolchain.languageVersion.set(JavaLanguageVersion.of(javaTarget)) diff --git a/build.gradle.kts b/build.gradle.kts index 2ef89f1..6997dcc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,11 +9,6 @@ subprojects { group = "xyz.mayahive.customdaytime" version = "2.1.0" - repositories { - mavenCentral() - maven("https://repo.papermc.io/repository/maven-public/") - } - if (name != "api") { plugins.withId("java") { dependencies { diff --git a/common/build.gradle.kts b/common/build.gradle.kts index e293b6c..93d7743 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -5,19 +5,14 @@ */ plugins { - id("java") id("java-library") } -repositories { - mavenCentral() -} - dependencies { api(project(":api")) - implementation(libs.configurate.hocon) - implementation(libs.gson) + compileOnlyApi(libs.configurate.hocon) + compileOnlyApi(libs.gson) } val javaTarget = 21 // Sponge targets a minimum of Java 21 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2345307..eac6ca7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -13,6 +13,7 @@ lombok = "1.18.42" configurate = "4.2.0" gson = "2.13.2" bstats = "3.1.0" +minotaur = "2.+" # --- Build & Tooling --- shadow = "9.3.1" @@ -33,4 +34,5 @@ shadow = {id = "com.gradleup.shadow", version.ref = "shadow"} run-paper = {id = "xyz.jpenilla.run-paper", version.ref = "run-paper"} plugin-yml = {id = "de.eldoria.plugin-yml.paper", version.ref = "plugin-yml"} spongegradle = {id = "org.spongepowered.gradle.plugin", version.ref = "spongegradle"} -spongevanilla = {id = "org.spongepowered.gradle.vanilla", version.ref = "spongevanilla"} \ No newline at end of file +spongevanilla = {id = "org.spongepowered.gradle.vanilla", version.ref = "spongevanilla"} +minotaur = { id = "com.modrinth.minotaur", version.ref = "minotaur" } \ No newline at end of file diff --git a/paper/build.gradle.kts b/paper/build.gradle.kts index dfcfcce..4a26f19 100644 --- a/paper/build.gradle.kts +++ b/paper/build.gradle.kts @@ -9,22 +9,17 @@ plugins { alias(libs.plugins.run.paper) alias(libs.plugins.shadow) alias(libs.plugins.plugin.yml) -} - -repositories { - mavenCentral() - maven { - name = "papermc-repo" - url = uri("https://repo.papermc.io/repository/maven-public/") - } + alias(libs.plugins.minotaur) } dependencies { implementation(project(":common")) implementation(libs.bstats.bukkit) + implementation(libs.configurate.hocon) - compileOnly(libs.paper.api.get()) + compileOnly(libs.paper.api) + compileOnly(libs.gson) } tasks { @@ -70,13 +65,36 @@ tasks { dependsOn(shadowJar) } + jar { + enabled = false + } + shadowJar { + archiveBaseName.set("CustomDaytimePaper") + archiveClassifier.set("") relocate("org.bstats", "xyz.mayahive.libs.bstats") relocate("org.spongepowered.configurate", "xyz.mayahive.customdaytime.lib.configurate") relocate("net.kyori.option", "xyz.mayahive.customdaytime.lib.kyori.option") + relocate("io.leangen.geantyref", "xyz.mayahive.customdaytime.lib.geantyref") } } +modrinth { + token.set(System.getenv("MODRINTH_TOKEN")) + projectId.set("C7YliNqw") + versionNumber.set(version.toString()) + versionType.set("release") + uploadFile.set(tasks.shadowJar) + gameVersions.addAll("26.1", "26.1.1", "26.1.2") + loaders.addAll("paper", "folia", "purpur") + syncBodyFrom = rootProject.file("README.md").readText() + changelog.set(System.getenv("CHANGELOG").takeUnless { it.isNullOrBlank() } ?: "No changelog provided") +} + +tasks.modrinth { + dependsOn(tasks.modrinthSyncBody) +} + paper { name = "CustomDaytime" author = "Seedim" diff --git a/settings.gradle.kts b/settings.gradle.kts index 0937c90..a0d1cb4 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -9,6 +9,21 @@ pluginManagement { maven { url = uri("https://repo.spongepowered.org/repository/maven-public/") } + gradlePluginPortal() + } +} + +@Suppress("UnstableApiUsage") +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) + repositories { + mavenCentral() + maven("https://repo.papermc.io/repository/maven-public/") { + name = "papermc-repo" + } + maven("https://repo.spongepowered.org/repository/maven-public/") { + name = "spongepowered-repo" + } } } diff --git a/sponge/build.gradle.kts b/sponge/build.gradle.kts index 9e29095..e42f206 100644 --- a/sponge/build.gradle.kts +++ b/sponge/build.gradle.kts @@ -14,15 +14,11 @@ plugins { alias(libs.plugins.shadow) } -repositories { - mavenCentral() - maven("https://repo.spongepowered.org/maven/") { - name = "spongepowered-repo" - } -} - dependencies { api(project(":common")) + + compileOnly(libs.configurate.hocon) + compileOnly(libs.gson) } sponge { @@ -71,18 +67,8 @@ tasks.withType().configureEach { isPreserveFileTimestamps = false } -tasks { - assemble { - dependsOn(shadowJar) - } - - shadowJar { - dependencies { - exclude(dependency("io.leangen.geantyref:.*")) - exclude(dependency("net.kyori:.*")) - exclude(dependency("org.spongepowered:.*")) - } - } +tasks.assemble { + dependsOn(tasks.shadowJar) } minecraft { From fc7b52fcd83024ea1a9fdc7d202813ad5f80789e Mon Sep 17 00:00:00 2001 From: seedim Date: Fri, 8 May 2026 21:56:57 +0300 Subject: [PATCH 2/8] Add Modrinth publish and PR version-check workflows --- .github/workflows/publish.yml | 56 ++++++++++++++++++++++ .github/workflows/version-check.yml | 73 +++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100644 .github/workflows/publish.yml create mode 100644 .github/workflows/version-check.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..5b90207 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,56 @@ +name: Publish to Modrinth + +on: + release: + types: + - published + +permissions: + contents: read + +jobs: + publish: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 25 + + - name: Determine previous release tag + id: prev_tag + run: | + PREV=$(git describe --tags --abbrev=0 "${{ github.event.release.tag_name }}^" 2>/dev/null || true) + echo "tag=$PREV" >> "$GITHUB_OUTPUT" + + - name: Detect changed modules + if: steps.prev_tag.outputs.tag != '' + id: filter + uses: dorny/paths-filter@v3 + with: + base: ${{ steps.prev_tag.outputs.tag }} + filters: | + paper: + - 'paper/**' + - 'common/**' + - 'api/**' + - 'gradle/libs.versions.toml' + - 'build.gradle.kts' + - 'settings.gradle.kts' + + - name: Build all modules + run: ./gradlew build + + - name: Publish Paper + if: steps.prev_tag.outputs.tag == '' || steps.filter.outputs.paper == 'true' + env: + MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} + CHANGELOG: ${{ github.event.release.body }} + run: ./gradlew :paper:modrinth \ No newline at end of file diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml new file mode 100644 index 0000000..d495786 --- /dev/null +++ b/.github/workflows/version-check.yml @@ -0,0 +1,73 @@ +name: Verify version + +on: + pull_request: + branches: + - master + +permissions: + contents: read + +jobs: + version-check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Extract versions + id: versions + run: | + set -euo pipefail + extract() { + grep -E '^[[:space:]]*version[[:space:]]*=' "$1" | head -1 \ + | sed -E 's/.*"([^"]+)".*/\1/' + } + + PR_VERSION=$(extract build.gradle.kts) + if [ -z "$PR_VERSION" ]; then + echo "::error file=build.gradle.kts::Could not extract version from build.gradle.kts on PR branch." + exit 1 + fi + + BASE_FILE=$(git show "origin/${{ github.base_ref }}:build.gradle.kts") + BASE_VERSION=$(echo "$BASE_FILE" | grep -E '^[[:space:]]*version[[:space:]]*=' | head -1 \ + | sed -E 's/.*"([^"]+)".*/\1/') + if [ -z "$BASE_VERSION" ]; then + echo "::error::Could not extract version from build.gradle.kts on origin/${{ github.base_ref }}." + exit 1 + fi + + echo "pr=$PR_VERSION" >> "$GITHUB_OUTPUT" + echo "base=$BASE_VERSION" >> "$GITHUB_OUTPUT" + echo "PR: $PR_VERSION" + echo "Base: $BASE_VERSION" + + - name: Reject 'dev' in version + run: | + PR='${{ steps.versions.outputs.pr }}' + if echo "$PR" | grep -qi 'dev'; then + echo "::error file=build.gradle.kts::Version '$PR' contains 'dev' — must not be merged." + exit 1 + fi + + - name: Verify version is not lower + run: | + set -euo pipefail + PR='${{ steps.versions.outputs.pr }}' + BASE='${{ steps.versions.outputs.base }}' + + if [ "$PR" = "$BASE" ]; then + echo "Version unchanged ($BASE) — OK." + exit 0 + fi + + LOWER=$(printf '%s\n%s\n' "$PR" "$BASE" | sort -V | head -1) + if [ "$LOWER" != "$BASE" ]; then + echo "::error file=build.gradle.kts::PR version ($PR) is lower than base version ($BASE). Version must only go up." + exit 1 + fi + + echo "PR version $PR > base version $BASE — OK." \ No newline at end of file From 5d09aebc3b3d5f2aeb1765b627447f54f852251a Mon Sep 17 00:00:00 2001 From: seedim Date: Fri, 8 May 2026 22:18:14 +0300 Subject: [PATCH 3/8] Update copyright text --- api/build.gradle.kts | 17 +++++++++++--- .../customdaytime/api/CustomDaytime.java | 17 +++++++++++--- .../customdaytime/api/model/PlatformType.java | 17 +++++++++++--- .../customdaytime/api/model/WorldKey.java | 17 +++++++++++--- .../customdaytime/api/platform/Platform.java | 17 +++++++++++--- .../api/platform/PlatformLogger.java | 17 +++++++++++--- .../api/platform/PlatformScheduler.java | 17 +++++++++++--- .../api/platform/PlatformTask.java | 17 +++++++++++--- .../api/platform/PlatformWorld.java | 17 +++++++++++--- build.gradle.kts | 17 +++++++++++--- common/build.gradle.kts | 17 +++++++++++--- .../common/bootstrap/AbstractBootstrap.java | 17 +++++++++++--- .../common/cache/WorldCache.java | 17 +++++++++++--- .../common/context/CustomDaytimeContext.java | 17 +++++++++++--- .../customdaytime/common/event/Event.java | 17 +++++++++++--- .../customdaytime/common/event/EventBus.java | 17 +++++++++++--- .../common/event/EventListener.java | 17 +++++++++++--- .../event/listener/TimeSkipListener.java | 17 +++++++++++--- .../event/listener/WorldActivityListener.java | 17 +++++++++++--- .../listener/WorldLifeCycleListener.java | 17 +++++++++++--- .../common/event/type/TimeSkipCause.java | 17 +++++++++++--- .../common/event/type/TimeSkipEvent.java | 17 +++++++++++--- .../common/event/type/WorldLoadEvent.java | 17 +++++++++++--- .../type/WorldPlayerCountChangeEvent.java | 17 +++++++++++--- .../WorldSleepingPlayerCountChangeEvent.java | 17 +++++++++++--- .../common/event/type/WorldUnloadEvent.java | 17 +++++++++++--- .../common/registry/CommonEventRegistry.java | 17 +++++++++++--- .../service/CommonInitializerService.java | 17 +++++++++++--- .../common/service/ConfigService.java | 17 +++++++++++--- .../common/service/DebugService.java | 17 +++++++++++--- .../common/service/UpdateCheckerService.java | 17 +++++++++++--- .../service/WorldInitializationService.java | 17 +++++++++++--- .../common/world/WorldTimeController.java | 17 +++++++++++--- .../common/world/WorldTimeManager.java | 17 +++++++++++--- gradle/wrapper/gradle-wrapper.properties | 17 ++++++++++++++ gradlew | 23 +++++++++---------- paper/build.gradle.kts | 17 +++++++++++--- .../paper/CustomDaytimePaper.java | 17 +++++++++++--- .../paper/listener/BedActivityListener.java | 17 +++++++++++--- .../paper/listener/TimeSkipListener.java | 17 +++++++++++--- .../paper/listener/WorldActivityListener.java | 17 +++++++++++--- .../paper/listener/WorldListener.java | 17 +++++++++++--- .../paper/platform/PaperLogger.java | 17 +++++++++++--- .../paper/platform/PaperPlatform.java | 17 +++++++++++--- .../paper/platform/PaperScheduler.java | 17 +++++++++++--- .../paper/platform/PaperTask.java | 17 +++++++++++--- .../paper/platform/PaperWorld.java | 17 +++++++++++--- settings.gradle.kts | 17 +++++++++++--- sponge/build.gradle.kts | 17 +++++++++++--- .../sponge/CustomDaytimeSponge.java | 17 +++++++++++--- .../sponge/listener/SleepingListener.java | 17 +++++++++++--- .../listener/WorldActivityListener.java | 17 +++++++++++--- .../sponge/listener/WorldListener.java | 17 +++++++++++--- .../sponge/platform/SpongeLogger.java | 17 +++++++++++--- .../sponge/platform/SpongePlatform.java | 17 +++++++++++--- .../sponge/platform/SpongeScheduler.java | 17 +++++++++++--- .../sponge/platform/SpongeTask.java | 17 +++++++++++--- .../sponge/platform/SpongeWorld.java | 17 +++++++++++--- 58 files changed, 812 insertions(+), 180 deletions(-) diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 7d7cf2d..4103326 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ plugins { diff --git a/api/src/main/java/xyz/mayahive/customdaytime/api/CustomDaytime.java b/api/src/main/java/xyz/mayahive/customdaytime/api/CustomDaytime.java index bd24a09..752b481 100644 --- a/api/src/main/java/xyz/mayahive/customdaytime/api/CustomDaytime.java +++ b/api/src/main/java/xyz/mayahive/customdaytime/api/CustomDaytime.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.api; diff --git a/api/src/main/java/xyz/mayahive/customdaytime/api/model/PlatformType.java b/api/src/main/java/xyz/mayahive/customdaytime/api/model/PlatformType.java index cc3dff8..d239990 100644 --- a/api/src/main/java/xyz/mayahive/customdaytime/api/model/PlatformType.java +++ b/api/src/main/java/xyz/mayahive/customdaytime/api/model/PlatformType.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.api.model; diff --git a/api/src/main/java/xyz/mayahive/customdaytime/api/model/WorldKey.java b/api/src/main/java/xyz/mayahive/customdaytime/api/model/WorldKey.java index 15c30c1..335b73c 100644 --- a/api/src/main/java/xyz/mayahive/customdaytime/api/model/WorldKey.java +++ b/api/src/main/java/xyz/mayahive/customdaytime/api/model/WorldKey.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.api.model; diff --git a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/Platform.java b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/Platform.java index 3c4725a..31d5075 100644 --- a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/Platform.java +++ b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/Platform.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.api.platform; diff --git a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformLogger.java b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformLogger.java index 16442f5..9600115 100644 --- a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformLogger.java +++ b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformLogger.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.api.platform; diff --git a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformScheduler.java b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformScheduler.java index 038bf2e..872ec7f 100644 --- a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformScheduler.java +++ b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformScheduler.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.api.platform; diff --git a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformTask.java b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformTask.java index 6d902c8..7e823d1 100644 --- a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformTask.java +++ b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformTask.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.api.platform; diff --git a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformWorld.java b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformWorld.java index c7ad702..acffceb 100644 --- a/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformWorld.java +++ b/api/src/main/java/xyz/mayahive/customdaytime/api/platform/PlatformWorld.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.api.platform; diff --git a/build.gradle.kts b/build.gradle.kts index 6997dcc..4d2499e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ subprojects { diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 93d7743..e50e13e 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ plugins { diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/bootstrap/AbstractBootstrap.java b/common/src/main/java/xyz/mayahive/customdaytime/common/bootstrap/AbstractBootstrap.java index abd2700..234041d 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/bootstrap/AbstractBootstrap.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/bootstrap/AbstractBootstrap.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.bootstrap; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/cache/WorldCache.java b/common/src/main/java/xyz/mayahive/customdaytime/common/cache/WorldCache.java index 6786d2c..98158ef 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/cache/WorldCache.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/cache/WorldCache.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.cache; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/context/CustomDaytimeContext.java b/common/src/main/java/xyz/mayahive/customdaytime/common/context/CustomDaytimeContext.java index f27590b..d8fc5a5 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/context/CustomDaytimeContext.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/context/CustomDaytimeContext.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.context; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/Event.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/Event.java index 6b6e3c3..7cbfd43 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/Event.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/Event.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/EventBus.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/EventBus.java index 51e1470..1929897 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/EventBus.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/EventBus.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/EventListener.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/EventListener.java index c031b49..6d7f608 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/EventListener.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/EventListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/TimeSkipListener.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/TimeSkipListener.java index 1e42333..59f8bfa 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/TimeSkipListener.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/TimeSkipListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.listener; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/WorldActivityListener.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/WorldActivityListener.java index 8967f47..3737d9e 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/WorldActivityListener.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/WorldActivityListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.listener; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/WorldLifeCycleListener.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/WorldLifeCycleListener.java index 2e6430f..47b1c78 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/WorldLifeCycleListener.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/listener/WorldLifeCycleListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.listener; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/TimeSkipCause.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/TimeSkipCause.java index aef838f..84d8a12 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/TimeSkipCause.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/TimeSkipCause.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.type; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/TimeSkipEvent.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/TimeSkipEvent.java index 44376a4..f2060fa 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/TimeSkipEvent.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/TimeSkipEvent.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.type; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldLoadEvent.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldLoadEvent.java index 2ad474a..ff33e36 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldLoadEvent.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldLoadEvent.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.type; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldPlayerCountChangeEvent.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldPlayerCountChangeEvent.java index d45df32..5a8b496 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldPlayerCountChangeEvent.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldPlayerCountChangeEvent.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.type; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldSleepingPlayerCountChangeEvent.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldSleepingPlayerCountChangeEvent.java index a75c61b..06a3fbb 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldSleepingPlayerCountChangeEvent.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldSleepingPlayerCountChangeEvent.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.type; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldUnloadEvent.java b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldUnloadEvent.java index cf91383..6ed1b87 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldUnloadEvent.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/event/type/WorldUnloadEvent.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.event.type; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/registry/CommonEventRegistry.java b/common/src/main/java/xyz/mayahive/customdaytime/common/registry/CommonEventRegistry.java index 12b05e3..fb0f633 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/registry/CommonEventRegistry.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/registry/CommonEventRegistry.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.registry; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/service/CommonInitializerService.java b/common/src/main/java/xyz/mayahive/customdaytime/common/service/CommonInitializerService.java index 1747217..9de48c5 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/service/CommonInitializerService.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/service/CommonInitializerService.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.service; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/service/ConfigService.java b/common/src/main/java/xyz/mayahive/customdaytime/common/service/ConfigService.java index cdabaeb..9a1c446 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/service/ConfigService.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/service/ConfigService.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.service; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/service/DebugService.java b/common/src/main/java/xyz/mayahive/customdaytime/common/service/DebugService.java index 6efbb1b..c1d75fc 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/service/DebugService.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/service/DebugService.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.service; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/service/UpdateCheckerService.java b/common/src/main/java/xyz/mayahive/customdaytime/common/service/UpdateCheckerService.java index 0dd3b6e..fa2fd7e 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/service/UpdateCheckerService.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/service/UpdateCheckerService.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.service; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/service/WorldInitializationService.java b/common/src/main/java/xyz/mayahive/customdaytime/common/service/WorldInitializationService.java index 5f9653c..4247670 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/service/WorldInitializationService.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/service/WorldInitializationService.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.service; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/world/WorldTimeController.java b/common/src/main/java/xyz/mayahive/customdaytime/common/world/WorldTimeController.java index f01a194..3ff5bbb 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/world/WorldTimeController.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/world/WorldTimeController.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.world; diff --git a/common/src/main/java/xyz/mayahive/customdaytime/common/world/WorldTimeManager.java b/common/src/main/java/xyz/mayahive/customdaytime/common/world/WorldTimeManager.java index cc6b78a..e574173 100644 --- a/common/src/main/java/xyz/mayahive/customdaytime/common/world/WorldTimeManager.java +++ b/common/src/main/java/xyz/mayahive/customdaytime/common/world/WorldTimeManager.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.common.world; diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index dbc3ce4..5280cdc 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,3 +1,20 @@ +# +# Copyright (c) 2026 Seedim +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip diff --git a/gradlew b/gradlew index 0262dcb..7123723 100644 --- a/gradlew +++ b/gradlew @@ -1,21 +1,20 @@ #!/bin/sh # -# Copyright © 2015 the original authors. +# Copyright (c) 2026 Seedim # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# https://www.apache.org/licenses/LICENSE-2.0 +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . # ############################################################################## diff --git a/paper/build.gradle.kts b/paper/build.gradle.kts index 4a26f19..8da379b 100644 --- a/paper/build.gradle.kts +++ b/paper/build.gradle.kts @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ plugins { diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/CustomDaytimePaper.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/CustomDaytimePaper.java index 2d313f0..d7846fe 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/CustomDaytimePaper.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/CustomDaytimePaper.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/BedActivityListener.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/BedActivityListener.java index 6258da2..587cd69 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/BedActivityListener.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/BedActivityListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.listener; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/TimeSkipListener.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/TimeSkipListener.java index a416a24..e262b45 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/TimeSkipListener.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/TimeSkipListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.listener; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/WorldActivityListener.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/WorldActivityListener.java index d0cbe6a..45a8b25 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/WorldActivityListener.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/WorldActivityListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.listener; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/WorldListener.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/WorldListener.java index f7ee96d..afde0b2 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/WorldListener.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/listener/WorldListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.listener; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperLogger.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperLogger.java index f6cd8f4..be7f6d5 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperLogger.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperLogger.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.platform; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperPlatform.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperPlatform.java index 8acb8dd..b2553fb 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperPlatform.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperPlatform.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.platform; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperScheduler.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperScheduler.java index 41f7591..e23cfd4 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperScheduler.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperScheduler.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.platform; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperTask.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperTask.java index c1b901a..6682d19 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperTask.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperTask.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.platform; diff --git a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperWorld.java b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperWorld.java index 3699348..77cb9cf 100644 --- a/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperWorld.java +++ b/paper/src/main/java/xyz/mayahive/customdaytime/paper/platform/PaperWorld.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.paper.platform; diff --git a/settings.gradle.kts b/settings.gradle.kts index a0d1cb4..9366e79 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ pluginManagement { diff --git a/sponge/build.gradle.kts b/sponge/build.gradle.kts index e42f206..604f632 100644 --- a/sponge/build.gradle.kts +++ b/sponge/build.gradle.kts @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ import org.spongepowered.gradle.plugin.config.PluginLoaders diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/CustomDaytimeSponge.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/CustomDaytimeSponge.java index 0f6cd64..88d217d 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/CustomDaytimeSponge.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/CustomDaytimeSponge.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge; diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/SleepingListener.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/SleepingListener.java index 599fbd2..c763113 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/SleepingListener.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/SleepingListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge.listener; diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/WorldActivityListener.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/WorldActivityListener.java index 12bfe07..ff8f8bc 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/WorldActivityListener.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/WorldActivityListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge.listener; diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/WorldListener.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/WorldListener.java index 1d58445..3d720df 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/WorldListener.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/listener/WorldListener.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge.listener; diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeLogger.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeLogger.java index eb6b331..0b49aa3 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeLogger.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeLogger.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge.platform; diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongePlatform.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongePlatform.java index da805fa..fdc4ae7 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongePlatform.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongePlatform.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge.platform; diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeScheduler.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeScheduler.java index d8247ac..ef5afd7 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeScheduler.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeScheduler.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge.platform; diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeTask.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeTask.java index ccb1388..835f24c 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeTask.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeTask.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge.platform; diff --git a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeWorld.java b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeWorld.java index a1798c1..cb11c44 100644 --- a/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeWorld.java +++ b/sponge/src/main/java/xyz/mayahive/customdaytime/sponge/platform/SpongeWorld.java @@ -1,7 +1,18 @@ /* - * Copyright (c) 2026 Seedim - * This file is part of Custom Daytime, which is licensed under GPL-3.0. - * See the LICENSE file in the project root for full license text. + * Copyright (c) 2026 Seedim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package xyz.mayahive.customdaytime.sponge.platform; From 1a01822d8f7bbe706b1a41680eacffed4c7bca0e Mon Sep 17 00:00:00 2001 From: seedim Date: Fri, 8 May 2026 22:19:46 +0300 Subject: [PATCH 4/8] Update version from 2.1.0 to 2.1.1 --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 4d2499e..8db8d68 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,7 @@ subprojects { group = "xyz.mayahive.customdaytime" - version = "2.1.0" + version = "2.1.1" if (name != "api") { plugins.withId("java") { From 9526a4b8c5c83aa058ed33e727b18720cf0a6e56 Mon Sep 17 00:00:00 2001 From: seedim Date: Fri, 8 May 2026 22:32:24 +0300 Subject: [PATCH 5/8] Mark gradlew as executable --- gradlew | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 From 44acf1a3e9f42ec35292c4837244a352272bcff8 Mon Sep 17 00:00:00 2001 From: seedim Date: Fri, 8 May 2026 22:37:19 +0300 Subject: [PATCH 6/8] Drop redundant build step from publish workflow --- .github/workflows/publish.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5b90207..9a28018 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,9 +45,6 @@ jobs: - 'build.gradle.kts' - 'settings.gradle.kts' - - name: Build all modules - run: ./gradlew build - - name: Publish Paper if: steps.prev_tag.outputs.tag == '' || steps.filter.outputs.paper == 'true' env: From 426d04cb5ce7ec0cd0d37f53efc3f6dfb3605cf6 Mon Sep 17 00:00:00 2001 From: seedim Date: Fri, 8 May 2026 22:37:28 +0300 Subject: [PATCH 7/8] Add CI workflow that builds the project on PR and push --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9b62852 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +permissions: + contents: read + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 25 + + - name: Build + run: ./gradlew build \ No newline at end of file From 6ebdd6f2abdca33e5b89c0162657f50e3554494a Mon Sep 17 00:00:00 2001 From: seedim Date: Fri, 8 May 2026 22:42:41 +0300 Subject: [PATCH 8/8] Update version from 2.1.1 to 2.1.2 --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8db8d68..a8b6dc5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,7 @@ subprojects { group = "xyz.mayahive.customdaytime" - version = "2.1.1" + version = "2.1.2" if (name != "api") { plugins.withId("java") {