Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
dcc0955
Bump version from 5.0.13 to 5.0.13-SNAPSHOT0
Feb 18, 2025
ff86263
Fixed NoSuchFieldError: Class org.bukkit.enchantments.Enchantment on …
Tigerpanzer02 Mar 4, 2025
48c1f81
Bump version from 5.0.13-SNAPSHOT0 to 5.0.13-SNAPSHOT1
Mar 4, 2025
d7ff2f4
Updated ScoreboardManager to match new ScoreboardApi
Tigerpanzer02 Mar 4, 2025
7bd250a
Bump version from 5.0.13-SNAPSHOT1 to 5.0.13-SNAPSHOT2
Mar 4, 2025
93ad28e
Updated ScoreboardManager to match new ScoreboardApi
Tigerpanzer02 Mar 4, 2025
eb8df06
Bump version from 5.0.13-SNAPSHOT2 to 5.0.13-SNAPSHOT3
Mar 4, 2025
7acf0be
Changed plot distribution on team mode tries to create only full plot…
Tigerpanzer02 Mar 8, 2025
4148306
Bump version from 5.0.13-SNAPSHOT3 to 5.0.13-SNAPSHOT4
Mar 8, 2025
ba3258e
Moved from gradle to maven to support java 8 language level again
Tigerpanzer02 Mar 13, 2025
24c5e60
Bump version from 5.0.13-SNAPSHOT4 to 5.0.13-SNAPSHOT5
Mar 13, 2025
46e5720
Moved from gradle to maven to support java 8 language level again
Tigerpanzer02 Mar 13, 2025
3a0d1b0
Bump version from 5.0.13-SNAPSHOT5 to 5.0.13-SNAPSHOT6
Mar 13, 2025
97753f0
Update citiziens repo
Tigerpanzer02 Mar 13, 2025
8351961
Bump version from 5.0.13-SNAPSHOT6 to 5.0.13-SNAPSHOT7
Mar 13, 2025
b2fe4db
MinimizeJar
Tigerpanzer02 Mar 13, 2025
d0a709e
Bump version from 5.0.13-SNAPSHOT7 to 5.0.13-SNAPSHOT8
Mar 13, 2025
38ed2e0
Fixed ${description} invalid
Tigerpanzer02 Mar 13, 2025
e18f8ce
Bump version from 5.0.13-SNAPSHOT8 to 5.0.13-SNAPSHOT9
Mar 13, 2025
54e2035
Updated CHANGELOG.md
Tigerpanzer02 Mar 13, 2025
f76df32
Bump version from 5.0.13-SNAPSHOT9 to 5.0.13-SNAPSHOT10
Mar 13, 2025
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
6 changes: 6 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ deploy webhooks to print changelog successfully

That's all, matcher will stop when detects next line started with `###` match

### 5.0.14 Release (13.03.2025)
* Changed plot distribution on team mode tries to create only full plots now
* Fixed plot distribution in same cases lets spectators into the plot as member
* Fixed game ending due to not enough players counted spectators
* Updated to minigamesbox 1.4.0

### 5.0.13 Release (18.02.2025)
* Fixed Progress must be between 0 and 1

Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts → .github/building/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ repositories {
}

dependencies {
implementation("plugily.projects:MiniGamesBox-Classic:1.3.16-SNAPSHOT1") { isTransitive = false }
implementation("plugily.projects:MiniGamesBox-Classic:1.3.17") { isTransitive = false }
compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
compileOnly("net.citizensnpcs:citizensapi:2.0.31-SNAPSHOT")
compileOnly("org.jetbrains:annotations:24.0.1")
}

group = "plugily.projects"
version = "5.0.13"
version = "5.0.13-SNAPSHOT4"
description = "BuildBattle"

java {
Expand Down
File renamed without changes.
File renamed without changes.
208 changes: 208 additions & 0 deletions .github/building/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ BuildBattle - Ultimate building competition minigame
~ Copyright (C) 2021 Plugily Projects - maintained by Tigerpanzer_02, 2Wild4You and contributors
~
~ 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 <http://www.gnu.org/licenses/>.
~
-->

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>plugily.projects</groupId>
<artifactId>buildbattle</artifactId>
<version>5.0.13-SNAPSHOT5</version>
<name>BuildBattle</name>

<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<repository>
<id>plugilyprojects</id>
<url>https://maven.plugily.xyz/releases</url>
</repository>
<repository>
<id>plugilyprojects-snapshots</id>
<url>https://maven.plugily.xyz/snapshots</url>
</repository>
<repository>
<id>jitpack</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>codemc-repo</id>
<url>https://repo.codemc.org/repository/maven-public/</url>
</repository>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>citizens-repo</id>
<url>http://repo.citizensnpcs.co/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.21.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>23.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>plugily.projects</groupId>
<artifactId>MiniGamesBox-Classic</artifactId>
<version>1.3.17-SNAPSHOT12</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.citizensnpcs</groupId>
<artifactId>citizensapi</artifactId>
<version>2.0.26-SNAPSHOT</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>ch.ethz.globis.phtree</groupId>
<artifactId>phtree</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.21.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.9.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.2</version>
<configuration>
<windowtitle>BuildBattle API docs for v${project.version}</windowtitle>
<description>Minecraft building minigame.
The goal is to build the best you can! You must compete with other players in this building game.
Who will be the best? Have fun using it! Leave a good rating if you really like it.
</description>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>com.zaxxer.hikari</pattern>
<shadedPattern>plugily.projects.buildbattle.database.hikari</shadedPattern>
</relocation>
<relocation>
<pattern>plugily.projects.minigamesbox</pattern>
<shadedPattern>plugily.projects.buildbattle.minigamesbox</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>

<!-- External beta versions discord deployer plugin -->
<plugin>
<groupId>plugily.projects</groupId>
<artifactId>betty-maven-plugin</artifactId>
<version>1.0.2</version>
<configuration>
<changelogFile>${project.basedir}/CHANGELOG.md</changelogFile>
</configuration>
</plugin>
<!-- External beta versions discord deployer plugin -->
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>3.5.3</version>
</extension>
</extensions>
</build>
<distributionManagement>
<repository>
<id>Release</id>
<url>https://maven.plugily.xyz/releases</url>
</repository>
<snapshotRepository>
<id>Snapshot</id>
<url>https://maven.plugily.xyz/snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>
File renamed without changes.
31 changes: 21 additions & 10 deletions .github/workflows/deploy-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ jobs:
steps:
- name: Checkout Latest Commit
uses: actions/checkout@v4.2.2
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Bump Version
id: bump
uses: Plugily-Projects/version-bump-action@v8
uses: Plugily-Projects/version-bump-action@v10
with:
github-token: ${{ secrets.github_token }}
auto-version-bump: true
Expand All @@ -34,10 +32,23 @@ jobs:
distribution: 'temurin'
java-version: '21'
java-package: jdk
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish with Gradle
run: ./gradlew publishMavenPublicationToSnapshotsRepository
env:
MAVEN_USERNAME: ${{ secrets.SNAPSHOTSUSERNAME }}
MAVEN_PASSWORD: ${{ secrets.SNAPSHOTSPASSWORD }}
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.8.2
- name: Cache
uses: actions/cache@v4.2.2
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: maven-
- name: Publish with Maven
uses: s4u/maven-settings-action@v3.1.0
with:
servers: |
[{
"id": "Snapshot",
"username": "${{ secrets.SNAPSHOTSUSERNAME }}",
"password": "${{ secrets.SNAPSHOTSPASSWORD }}"
}]
- run: mvn clean verify compile package site:site javadoc:javadoc javadoc:jar deploy -DaltDeploymentRepository=Snapshot::https://maven.plugily.xyz/snapshots -f pom.xml
31 changes: 21 additions & 10 deletions .github/workflows/deploy-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ jobs:
steps:
- name: Checkout Latest Commit
uses: actions/checkout@v4.2.2
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Bump Version
id: bump
uses: Plugily-Projects/version-bump-action@v8
uses: Plugily-Projects/version-bump-action@v10
with:
github-token: ${{ secrets.github_token }}
auto-version-bump: false
Expand All @@ -37,10 +35,23 @@ jobs:
distribution: 'temurin'
java-version: '21'
java-package: jdk
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish with Gradle
run: ./gradlew publishMavenPublicationToReleasesRepository
env:
MAVEN_USERNAME: ${{ secrets.RELEASESUSERNAME }}
MAVEN_PASSWORD: ${{ secrets.RELEASESPASSWORD }}
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.8.2
- name: Cache
uses: actions/cache@v4.2.2
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: maven-
- name: Publish with Maven
uses: s4u/maven-settings-action@v3.1.0
with:
servers: |
[{
"id": "Release",
"username": "${{ secrets.RELEASESUSERNAME }}",
"password": "${{ secrets.RELEASESPASSWORD }}"
}]
- run: mvn clean verify compile package site:site javadoc:javadoc javadoc:jar deploy -DaltDeploymentRepository=Release::https://maven.plugily.xyz/releases -f pom.xml
Loading