Skip to content

feat: add admin range bonus management commands (removebonus + purgebonus)#2988

Merged
tastybento merged 3 commits into
developfrom
feature/admin-range-removebonus
Jun 2, 2026
Merged

feat: add admin range bonus management commands (removebonus + purgebonus)#2988
tastybento merged 3 commits into
developfrom
feature/admin-range-removebonus

refactor: make range purgebonus async and confirmation-explicit

78bbe27
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 1, 2026 in 53s

Annotations

Check failure on line 73 in src/main/java/world/bentobox/bentobox/api/commands/admin/range/AdminRangePurgeBonusCommand.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "confirm" 3 times.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ6A0n67Qzzn1nxVxX_7&open=AZ6A0n67Qzzn1nxVxX_7&pullRequest=2988

Check warning on line 6 in src/test/java/world/bentobox/bentobox/api/commands/admin/range/AdminRangePurgeBonusCommandTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.mockito.ArgumentMatchers.any'.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ6A0n4zQzzn1nxVxX_5&open=AZ6A0n4zQzzn1nxVxX_5&pullRequest=2988

Check failure on line 81 in src/main/java/world/bentobox/bentobox/api/commands/admin/range/AdminRangePurgeBonusCommand.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to not always return the same value.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ6A0n67Qzzn1nxVxX_6&open=AZ6A0n67Qzzn1nxVxX_6&pullRequest=2988