Skip to content

Release 1.6.0#394

Merged
tastybento merged 36 commits into
masterfrom
develop
Apr 13, 2026
Merged

Release 1.6.0#394
tastybento merged 36 commits into
masterfrom
develop

Conversation

@tastybento
Copy link
Copy Markdown
Member

No description provided.

tastybento and others added 10 commits January 11, 2026 13:54
Drop Spigot + PowerMock + JUnit 4 in favor of Paper API, Mockito
mockStatic, and MockBukkit, matching the BSkyBlock blueprint. Source
fallout for Paper's Adventure-based AdvancementDisplay is handled via
PlainTextComponentSerializer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a language cycle button to the web library GUI that defaults to the
user's locale, and word-wraps each entry's description at 22 characters
so the tooltip is no longer absurdly wide.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Previously, clicking the admin panel's web library button before the
GitHub catalog finished downloading surfaced a "no library entries"
chat error. The button now renders as a barrier with a "Library
download requested..." lore while the catalog is empty, kicks off an
early async download on first render, and swaps in place to the
cobweb icon once entries are available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skip entries with missing fields instead of throwing NPE, and log a
warning with the raw JSON and the missing field name so the weblink
repo maintainer can identify and fix the bad entry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces all Bukkit &x color/format codes with their MiniMessage tag
equivalents across all 15 locale files. The artifactual space that
the old renderer auto-stripped after each &x code is also removed,
with spacing placed logically around words and placeholders.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Long reward descriptions no longer overflow the tooltip width.
wrapToWidth() measures visible length by stripping MiniMessage tags
and legacy colour codes before wrapping, so formatting is preserved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tastybento tastybento changed the title Release 1.5.3 Release 1.6.0 Apr 12, 2026
tastybento and others added 19 commits April 12, 2026 06:03
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…overage

Extract common BentoBox/MockBukkit/Mockito boilerplate into a reusable
abstract base class. Rewrite TryToCompleteTest to extend it and add 30
new tests covering OTHER_TYPE, STATISTIC_TYPE, timeout, rewards, and
level completion flows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…flows

Tests YAML import (file not found, success, no game mode, null user),
JSON file import (null world, not found, wipe existing, with challenges),
JSON string download (null world, existing data, success, empty, multiple),
and JSON export (already exists, success, empty data, console, prefix stripping).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Expand ChallengesManagerTest with 34 tests covering getStatisticData
(player-only and island aggregation), isBreachingTimeOut,
getLastCompletionDate, level queries, and challenge/level count metrics.

Add admin command test suite with shared AdminCommandTestBase and tests
for all 6 admin commands: ChallengesAdminCommand, CompleteCommand,
ResetCommand, ReloadChallenges, MigrateCommand, and ShowChallenges.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add ~60 new constants to Constants.java covering GUI keys, tip keys,
conversation keys, parameter placeholders, error keys, panel suffixes,
handler keys, and import manager keys. Update 21 source files to use
the constants instead of duplicated string literals.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Surefire's hardcoded <argLine> with --add-opens flags was overriding
JaCoCo's argLine property, preventing the agent from attaching to the
test JVM. Add @{argLine} late-binding reference so both the JaCoCo
agent and --add-opens flags are passed to the forked test process.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tests cover CommonPanel, CommonPagedPanel, ConversationUtils, AdminPanel,
ListChallengesPanel, GameModePanel, and MultiplePanel. Uses reflection-based
setup to coexist with existing PowerMock JUnit 4 tests. Adds JUnit 5,
mockito-junit-jupiter, and vintage engine dependencies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace Challenge.clone() with copy() factory method (S2975)
- Add assertions to testMigrateDatabase, testSave,
  testGetLatestUnlockedLevelSingleLevel, and
  testTabCompleteUserStringListOfStringNoArgs (S2699)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ockBukkit

Replace PowerMock with Mockito 5.11.0 mockStatic and MockBukkit for server
infrastructure. Upgrade to Paper API 1.21.11 and BentoBox 3.14.0. Port all
8 JUnit 4 test files to JUnit 5, add WhiteBox and AbstractChallengesTest
utilities, and update panel tests to use MockBukkit lifecycle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…786)

JUnit 5 tests do not require public visibility. Removes public from all
top-level test class declarations and @Test/@BeforeEach/@AfterEach method
signatures across 7 panel test files (98 changes total).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
tastybento and others added 7 commits April 12, 2026 11:38
…eners

Adds 106 new tests across 9 classes covering previously untested areas:
- ChallengeEventsTest: all 4 event POJOs (constructors, setters, handlers)
- ChallengesPlayerDataTest: completion tracking, timestamps, reset, levels, history, equals/hashCode
- 5 request handler tests: input validation, unknown-world/challenge cases, valid responses
- ResetListenerTest: all 5 event handlers x enabled/disabled/island-data config combinations
- SaveListenerTest: kick and quit both flush the player cache

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

@tastybento tastybento merged commit 0c8860f into master Apr 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant