Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
fdc8316
Use Mock Bukkit WIP
tastybento Nov 16, 2025
a388902
Convert to Mokito 5
tastybento Nov 17, 2025
e832079
Working tests after conversion.
tastybento Nov 17, 2025
7bb5ee0
Added more tests
tastybento Nov 17, 2025
d135c2c
Tests pass individually but not all together. Static issues.
tastybento Nov 20, 2025
6930868
Remove static from DatabaseSetup to prevent test failures due to
tastybento Nov 20, 2025
a21efd2
Remove static and make the private constructor available for tests
tastybento Nov 20, 2025
dc0ecfd
Move all the database mocking into per-test and not per-class
tastybento Nov 20, 2025
6003cf1
Added more tests - Island related.
tastybento Nov 20, 2025
b7ba0b5
Added more tests
tastybento Nov 20, 2025
938d79b
oodles of more JUnit 5 tests
tastybento Nov 20, 2025
a319e1b
Blueprint tests added
tastybento Nov 20, 2025
8d6a071
Admin range tests
tastybento Nov 20, 2025
46f0cfa
More tests done
tastybento Nov 20, 2025
cd7dba7
Added team tests
tastybento Nov 21, 2025
499f9a3
Added event tests
tastybento Nov 21, 2025
0476409
Added flags and click listener tests
tastybento Nov 21, 2025
f90104f
Renamed the test setup classes
tastybento Nov 21, 2025
b49aa19
Added localization tests
tastybento Nov 21, 2025
fe818fb
Added MetaDataValueTest
tastybento Nov 21, 2025
676c77e
Added Panel tests
tastybento Nov 21, 2025
8c326ac
Added User tests
tastybento Nov 21, 2025
d05e529
Added Blueprint tests
tastybento Nov 22, 2025
75d6486
Test fixes
tastybento Nov 22, 2025
7c2aa03
Added Listener tests. Some have issues with weird not a mock error
tastybento Nov 22, 2025
f063c9a
Made more common setup code. Added List test.
tastybento Nov 22, 2025
bdeaca4
Added unfinished tests. Reorged imports
tastybento Nov 22, 2025
c676f9c
Fix test
tastybento Nov 22, 2025
170b5d1
Set the plugin for Util
tastybento Nov 22, 2025
a39fc81
Merge pull request #2772 from BentoBoxWorld/mokito-5-redo
tastybento Nov 22, 2025
bdfc6d6
Version 3.10.2
tastybento Nov 22, 2025
2aa0c21
Put back the Paper check
tastybento Nov 26, 2025
9550e93
Remove debug
tastybento Nov 26, 2025
6ad3d5c
Store deaths in just the overworld reference
tastybento Nov 26, 2025
fae4bcb
Implements ability for Player Heads to use CMD
BONNe Nov 27, 2025
8dfb904
Fixes null-pointer in test system.
BONNe Nov 27, 2025
4649548
Teleporting to nether and back works - just a hack test.
tastybento Nov 29, 2025
82d80ef
Pops the player to the nether an back when they make an island to force
tastybento Dec 1, 2025
9e44c63
Merge pull request #2778 from BentoBoxWorld/avoid_blank_nms_blocks
tastybento Dec 1, 2025
63f2b2f
Revert "Pops the player to the nether an back when they make an islan…
tastybento Dec 2, 2025
b53b532
Revert "Teleporting to nether and back works - just a hack test."
tastybento Dec 2, 2025
ddca51b
Fix bug with shift to using Bukkit API if distance isn't greater than
tastybento Dec 2, 2025
4552947
Merge pull request #2779 from BentoBoxWorld/bukkit_api_option_for_pas…
tastybento Dec 2, 2025
d09de1c
Merge pull request #2777 from BentoBoxWorld/issues/2774-player-head-cmd
tastybento Dec 12, 2025
87c3379
Adds a bukkit to adventure conversion. Could be useful.
tastybento Dec 12, 2025
f63005f
Merge pull request #2782 from BentoBoxWorld/adventure_component_utility
tastybento Dec 13, 2025
7bd0cc8
WIP - cracked the way to do it using Paper API only.
tastybento Dec 14, 2025
4767df0
Tested and works on 1.21.10 and 11
tastybento Dec 14, 2025
0b197dd
Verified and tested on 1.21.5 through to 1.21.11
tastybento Dec 14, 2025
adb35c4
Gradle conversion - compiles and tests
tastybento Dec 15, 2025
5c92971
Remove old file
tastybento Dec 15, 2025
681c9e7
Added documentation
tastybento Dec 15, 2025
1df2ac1
Revert "Added documentation"
tastybento Dec 15, 2025
bae6c82
Match name of file
tastybento Dec 15, 2025
a3166ab
Documentation redo
tastybento Dec 15, 2025
f6dc916
Added paperweight-userdev
tastybento Dec 15, 2025
8c20075
Add prevention of using paperweight during tests
tastybento Dec 15, 2025
4223095
Modify build workflow for SonarQube and Gradle
tastybento Dec 16, 2025
6a4a789
Add SonarCube to Gradle build
tastybento Dec 16, 2025
b642607
Merge branch 'gradle_conversion' of https://github.com/BentoBoxWorld/…
tastybento Dec 16, 2025
34b1b96
Fix for GitHub action build?
tastybento Dec 16, 2025
c2ccefb
Grant execute permission for gradlew
tastybento Dec 16, 2025
5fa23e0
Add missing gradle jar file
tastybento Dec 16, 2025
376c9b7
Merge branch 'gradle_conversion' of https://github.com/BentoBoxWorld/…
tastybento Dec 16, 2025
a964e4d
Merge branch 'gradle_conversion' in.
tastybento Dec 16, 2025
42f69d3
Adjust name of snapshot
tastybento Dec 16, 2025
b822ab3
Fix to enable javadoc building
tastybento Dec 16, 2025
765c5f4
Update publishing to match CodeMc's instructions.
tastybento Dec 16, 2025
6078b88
Version 3.11.0
tastybento Dec 16, 2025
663899f
Adjust creds for nexus upload
tastybento Dec 16, 2025
a5fcef6
Update build status badge in README.md
tastybento Dec 16, 2025
39c1779
Merge pull request #2783 from BentoBoxWorld/mojang_mapped
tastybento Dec 16, 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
35 changes: 14 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: Build
name: SonarQube
on:
push:
branches:
- develop
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,31 +16,25 @@ jobs:
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '21'
- name: Cache SonarCloud packages
java-version: 21
distribution: 'zulu' # Alternative distribution options are available
- name: Cache SonarQube packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=BentoBoxWorld_BentoBox
- name: Debug - List target directory
run: ls -la /home/runner/work/BentoBox/BentoBox/target
- run: mvn --batch-mode clean org.jacoco:jacoco-maven-plugin:prepare-agent install
- run: mkdir staging && cp target/*.jar staging
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: Package
path: staging
run: ./gradlew build sonar --info
44 changes: 0 additions & 44 deletions .github/workflows/modrinth-publish.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ $RECYCLE.BIN/
*.log
*.ctxt
.mtj.tmp/
*.jar
*.war
*.nar
*.ear
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BentoBox

[![Discord](https://img.shields.io/discord/272499714048524288.svg?logo=discord)](https://discord.bentobox.world)
[![Build Status](https://ci.codemc.org/buildStatus/icon?job=BentoBoxWorld/BentoBox)](https://ci.codemc.org/job/BentoBoxWorld/job/BentoBox/)
[![Build Status](https://ci.codemc.io/job/BentoBoxWorld/job/BentoBox-Gradle/badge/icon)](https://ci.codemc.io/job/BentoBoxWorld/job/BentoBox-Gradle/)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=BentoBoxWorld_BentoBox&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=BentoBoxWorld_BentoBox)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=BentoBoxWorld_BentoBox&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=BentoBoxWorld_BentoBox)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=BentoBoxWorld_BentoBox&metric=security_rating)](https://sonarcloud.io/dashboard?id=BentoBoxWorld_BentoBox)
Expand Down
Loading