Commit Graph

785 Commits

Author SHA1 Message Date
tastybento
90bb3d68b7
Merge pull request #375 from BentoBoxWorld/hide_reward_items
Add switch to hide reward items from the GUI list.
2025-02-12 19:30:13 +09:00
tastybento
2edf1a7d59 Fix bug with cloning and Boolean vs booleans 2025-02-12 17:52:04 +09:00
tastybento
9849c95ba3 Add switch to hide reward items from the GUI list.
The admin may want to hide the rewards and just use the reward
description. If the number of rewards is very long, it can be a problem
to list them all.
2025-02-12 17:19:12 +09:00
tastybento
0fcdb06be3
Merge pull request #374 from BentoBoxWorld/permission_waiver
Add permission [gamemode].challenges.waiver-add.x to addon
2025-02-12 16:33:00 +09:00
tastybento
005fc33df1 Add permission [gamemode].challenges.waiver-add.x to addon
Enables per-player permission waivers.
2025-02-12 16:32:43 +09:00
tastybento
dc7309ba99 Reduce size of success notice to fit on screen 2025-02-12 08:41:27 +09:00
tastybento
f6ae07adbc Fix naming of individual materials 2025-02-12 08:18:12 +09:00
tastybento
5f8aebadf1
Merge pull request #373 from BentoBoxWorld/better_icons_for_entities
Better icons for entities
2025-02-10 05:09:09 -08:00
tastybento
23ed293049 Unified icons and made non-alive entities available for selection 2025-02-10 05:07:24 -08:00
tastybento
80b0fb4a90 Unify entity icons across all GUIs 2025-02-10 04:57:34 -08:00
tastybento
9be26141c5 Improve the icons for picking entities 2025-02-10 04:29:53 -08:00
tastybento
0bd1c793f8
Merge pull request #372 from BentoBoxWorld/multi_statistics
Enable challenges to have multiple statistic requirements
2025-02-10 03:24:47 -08:00
tastybento
183368bedb Remove unused enums and todo comment 2025-02-10 03:02:35 -08:00
tastybento
b63838f4be Reduce duplication in the constructor 2025-02-10 03:02:04 -08:00
tastybento
c5334acc87 Enable challenges to have multiple statistic requirements
This enables things like a challenge to kill 10 creepers, 10 zombies,
and 10 skeletons.
2025-02-10 02:47:06 -08:00
tastybento
cf4dcaf630
Merge pull request #371 from BentoBoxWorld/dupe_reduction
Reduce code duplication by abstracting classes
2025-02-07 11:18:21 -08:00
tastybento
fb690588ff Fix placeholders 2025-02-07 11:17:52 -08:00
tastybento
f88d5a80e4 Fix error with Mode - now the enum is correctly shared 2025-02-07 10:50:06 -08:00
tastybento
b5a9296cfa Reduce code duplication by abstracting classes 2025-02-07 08:28:27 -08:00
tastybento
93f7fd1561 Version 1.5.0 2025-02-06 21:54:24 -08:00
tastybento
7935c62738
Merge pull request #368 from BentoBoxWorld/add_tags
Add tags
2025-02-06 21:52:55 -08:00
tastybento
c3397a1d26 Tighten up minimum dependencies 2025-02-06 21:47:40 -08:00
tastybento
435764a615 Add NPE protection 2025-02-06 21:44:23 -08:00
tastybento
8cddb628eb Bug fixes 2025-02-06 20:41:16 -08:00
tastybento
25dca4c469 Refactor to remove duplicate code 2025-02-06 12:54:00 -08:00
tastybento
a6f2dc02d4 Reorg imports 2025-02-06 12:31:17 -08:00
tastybento
3859260ac3 Remove items already selected in the tags chooser. Remove debug. 2025-02-06 12:30:36 -08:00
tastybento
51363345be
Merge pull request #369 from BentoBoxWorld/tastybento-patch-1
Update en-US.yml
2025-02-06 11:33:37 -08:00
tastybento
1230869d9e
Update en-US.yml 2025-02-06 11:27:47 -08:00
tastybento
63b7af85f0 Fix list of entity groups in remove icon 2025-02-06 07:39:54 -08:00
tastybento
a06dfd73d8 Fixed/improved the challenge requirements list 2025-02-05 18:57:23 -08:00
tastybento
88a5ceec32 Added entity groups. Still a lot of bugs but it basically works. 2025-02-04 20:20:27 -08:00
tastybento
a969008450 Added support for Block Groups, AKA Material Tags 2025-02-03 18:40:10 -08:00
tastybento
a65b1ecbc5 Version 1.5.0 2025-02-02 08:45:30 -08:00
tastybento
6c52618f05 Fix repo URL typo 2024-11-16 19:30:20 -08:00
tastybento
dc8942aaa4
Update to 1.21.3 (#365) 2024-11-09 11:19:12 -08:00
tastybento
52864d6329
326 ordering bug (#364)
* Possible fix for #326

* Add a ConversationAbandonedListener
2024-10-23 21:25:14 -07:00
tastybento
12f3933ce3
Adds protection around nulls. (#361) 2024-10-23 21:24:41 -07:00
tastybento
17dc22ed66
Possible fix for #326 (#363) 2024-10-23 20:46:30 -07:00
tastybento
2843a8e3ed Fix YAML #359 2024-09-07 18:05:56 -07:00
tastybento
d8fb2de177
Merge branch 'master' into develop 2024-09-03 15:01:18 -07:00
gitlocalize-app[bot]
9cf7107c04
Spanish translation (#357)
* Translate es.yml via GitLocalize

* Translate es.yml via GitLocalize

* Translate es.yml via GitLocalize

---------

Co-authored-by: Christhian Arias <droidenauta@gmail.com>
Co-authored-by: tastybento <tastybento@wasteofplastic.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
2024-09-03 14:50:04 -07:00
gitlocalize-app[bot]
eacf76e8a3
Czech - needs placeholder fixing (#356)
* Translate cs.yml via GitLocalize

* Translate cs.yml via GitLocalize

* Translate cs.yml via GitLocalize

* Update cs.yml

Fix placeholders

---------

Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: tastybento <tastybento@wasteofplastic.com>
Co-authored-by: Lishak <testrgamess@gmail.com>
Co-authored-by: tastybento <tastybento@users.noreply.github.com>
2024-09-03 14:30:10 -07:00
gitlocalize-app[bot]
20b71d7cf3
Translate fr.yml via GitLocalize (#355)
Co-authored-by: tastybento <tastybento@wasteofplastic.com>
2024-09-03 14:04:50 -07:00
tastybento
e4319b2fb7 Update Java version for Gihub Action 2024-08-21 08:21:22 -07:00
gitlocalize-app[bot]
59edce4d0d
German translation (#353)
* Translate de.yml via GitLocalize

* Translate de.yml via GitLocalize

---------

Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: tastybento <tastybento@wasteofplastic.com>
2024-08-21 07:59:43 -07:00
tastybento
7ddf865430 Give some info on where to find the files if a connection to Github
is not possible.
2024-08-10 10:32:10 -07:00
tastybento
f811c7ca1d Update to latest BentoBox API and Shade plugin versions 2024-08-10 10:26:33 -07:00
tastybento
253428b223 Version 1.3.2
Java version 21
2024-08-10 10:18:30 -07:00
tastybento
4438c36b61
Release 1.3.1 (#351)
* Init 1.2.0 version

* Fixes #311 localization errors in zn-CN.

Original translation author translated `[]` placeholders which broke locale

* Init 1.2.0 version

* Edit some unfit translation (#312)

Edit some unfit translation

* Fixes a regex bug that replaced every [player] char instead of whole word.

* Fixes a crash that prevented STATISTICS entity and material/item challenges to be completed.

* Add requirement-not-met-material and requirement-not-met-entity to display statistic required item on error.

* Add locale of Chinese-Hong Kong (zh-HK) (#313)

Addition of locale updated to latest version

* Add ${argLine} to get jacoco coverage

* Updated Jacoco POM section

* Update build.yml

Java 17 for Surefire

* Updated pladdon annotations

* Add support for gamemode-specific translations.

This was a request from Floris

* Update ChallengesManagerTest methods with world parameter.

* Implement option that excludes undeployed challenges

The new option allows to toggle if undeployed challenges should be included in level completion count. Disabling option will not include these challenges for level completion.

Fixes #315

* Create plugin.yml (#316)

* Create plugin.yml

* Update pom.xml

* Update ChallengesPladdon.java

* Remove dependency to org.apache.commons

Replace org.apache.commons.lang.ArrayUtils to a default Java implementation.

* Fixes a crash with written/writable books.

The issue was with generating description message for written books without title or author.

Fixes #318

* Fixed TryToComplete test class

* Fixed CompleteChallengeCommandTest

* Fixed ChallengesCommandTest

* Fixed ChallengesManagerTest

* Update Github Action build script

* Add required distribution

* Fixes the admin GUI crash.

Add shade plugin that was missing for dependencies.

* Update Hungarian translation (#301)

* Translate hu.yml via GitLocalize

* Translate hu.yml via GitLocalize

* Translate hu.yml via GitLocalize

* Translate hu.yml via GitLocalize

* Update hu.yml

Fix color codes and placeholders

---------

Co-authored-by: driverdakid <tamascsiszar99@icloud.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: BONNe <bonne@bonne.id.lv>
Co-authored-by: slimcraft <davidelek12@gmail.com>
Co-authored-by: tastybento <tastybento@users.noreply.github.com>

* Update POM versions to use latest API

* Remove duplicate plugin reference in POM

* Try adding maven dependency to fix test issue

* Remove offending test. Was not that useful anyway.

* Update Jacoco

* Update pom.xml

* Update to BentoBox 2.0.0

Had to ignore some tests because PowerMockito can't mock them for some
reason.

* Add Ukrainian locale (#326)

* Translate uk.yml via GitLocalize

* Translate uk.yml via GitLocalize

---------

Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: GIGABAIT <freebitcoin93@gmail.com>

* Translate uk.yml via GitLocalize (#325)

Co-authored-by: GIGABAIT <freebitcoin93@gmail.com>
Co-authored-by: tastybento <tastybento@users.noreply.github.com>

* Show money as formatted. Addresses #324

* Update README.md

* Update README.md

* Fixes enchanted book meta not displayed (#328)

Apparently in Spigot EnchantmentStorage has a map that is not used for enchantment storing. Nice.

Fixes #327

* Upgrade PanelUtils to 1.2.0

* Fixes crash when player in CREATIVE shift+clicks on INVENTORY challenge.

Limit completion time to 2, if player is in creative instead of Integer.MAX_VALUE

Fixes #330

* Fix tests for creative user inventory challenge completion

* Update TIPPED_ARROW to latest API in panels

* Update en-US.yml

* Reference latest BentoBox release version

* Chinese translation (#343)

* Translate zh-CN.yml via GitLocalize

* Translate zh-CN.yml via GitLocalize

* Translate zh-CN.yml via GitLocalize

* Translate zh-CN.yml via GitLocalize

* Translate zh-CN.yml via GitLocalize

---------

Co-authored-by: Jeansou <bettertreebot@gmail.com>
Co-authored-by: CuteLittleSky <2173204318@qq.com>
Co-authored-by: RUYSUE <ruysue@outlook.com>
Co-authored-by: Clexus <528373858@qq.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>

* French translation (#342)

* Translate fr.yml via GitLocalize

* Translate fr.yml via GitLocalize

* Translate fr.yml via GitLocalize

---------

Co-authored-by: Aksel <afgameytb@gmail.com>
Co-authored-by: organizatsiya <organizatsiya.wildguns@gmail.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>

* Spanish translation (#341)

* Translate es.yml via GitLocalize

* Translate es.yml via GitLocalize

* Translate es.yml via GitLocalize

---------

Co-authored-by: sergyops <lince885@gmail.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: Amfetas <artodetodoo@gmail.com>

* Fixes 345 (#346)

Use the object's name if it already has a display name

* return the pladdon that was generated.

* Version 1.3.1

* Translate zh-CN.yml via GitLocalize (#348)

Co-authored-by: RUYSUE <ruysue@outlook.com>

* French translation (#347)

* Translate fr.yml via GitLocalize

* Translate fr.yml via GitLocalize

* Translate fr.yml via GitLocalize

* Translate fr.yml via GitLocalize

---------

Co-authored-by: gitlocalize-app[bot] <55277160+gitlocalize-app[bot]@users.noreply.github.com>
Co-authored-by: Aksel <afgameytb@gmail.com>
Co-authored-by: organizatsiya <organizatsiya.wildguns@gmail.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>

---------

Co-authored-by: BONNe <bonne@bonne.id.lv>
Co-authored-by: EpicMo <1982742309@qq.com>
Co-authored-by: JamesMCL44 <epicquarters@gmail.com>
Co-authored-by: gitlocalize-app[bot] <55277160+gitlocalize-app[bot]@users.noreply.github.com>
Co-authored-by: driverdakid <tamascsiszar99@icloud.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: slimcraft <davidelek12@gmail.com>
Co-authored-by: GIGABAIT <freebitcoin93@gmail.com>
Co-authored-by: Jeansou <bettertreebot@gmail.com>
Co-authored-by: CuteLittleSky <2173204318@qq.com>
Co-authored-by: RUYSUE <ruysue@outlook.com>
Co-authored-by: Clexus <528373858@qq.com>
Co-authored-by: Aksel <afgameytb@gmail.com>
Co-authored-by: organizatsiya <organizatsiya.wildguns@gmail.com>
Co-authored-by: sergyops <lince885@gmail.com>
Co-authored-by: Amfetas <artodetodoo@gmail.com>
2024-08-10 10:08:40 -07:00