Commit Graph

125 Commits

Author SHA1 Message Date
tastybento ec6b950304 Fix tests. 2024-03-10 18:44:57 -07:00
tastybento d0588303c0 Reference latest BentoBox release version 2024-03-10 16:11:22 -07:00
tastybento fe9e63f1c7 Fix tests for creative user inventory challenge completion 2024-01-13 08:23:41 -08:00
BONNe 74cd97fb80 Upgrade PanelUtils to 1.2.0 2024-01-03 14:11:22 +02:00
tastybento 56d7eb4259 Update to BentoBox 2.0.0
Had to ignore some tests because PowerMockito can't mock them for some
reason.
2023-11-12 13:23:22 -08:00
tastybento 34d280d5bf
Update pom.xml 2023-07-10 21:41:20 -07:00
tastybento 9e34910f07 Update Jacoco 2023-07-10 21:22:34 -07:00
tastybento 1759ef7123 Try adding maven dependency to fix test issue 2023-07-08 11:37:45 -07:00
tastybento bba54aa08b Remove duplicate plugin reference in POM 2023-07-08 11:28:40 -07:00
tastybento ebd0b46656 Update POM versions to use latest API 2023-07-08 10:50:47 -07:00
BONNe 3b36f38b7c Fixes the admin GUI crash.
Add shade plugin that was missing for dependencies.
2023-07-03 12:35:55 +03:00
BONNe b1fa9a9da7
Release 1.2.0 (#317)
* 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.

---------

Co-authored-by: EpicMo <1982742309@qq.com>
Co-authored-by: JamesMCL44 <epicquarters@gmail.com>
Co-authored-by: tastybento <tastybento@users.noreply.github.com>
Co-authored-by: tastybento <tastybento@wasteofplastic.com>
2023-04-15 22:55:34 +03:00
BONNe a608c8b765
Create plugin.yml (#316)
* Create plugin.yml

* Update pom.xml

* Update ChallengesPladdon.java
2023-04-08 18:30:40 +03:00
BONNe 5ab4237df4 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
2023-04-02 14:47:10 +03:00
tastybento 84a38f4d8c Updated Jacoco POM section 2023-02-10 10:50:41 -08:00
tastybento 1b585a22c8
Add ${argLine} to get jacoco coverage 2023-02-09 15:14:35 -08:00
BONNe e94d2349c3 Init 1.2.0 version 2023-01-19 12:47:21 +02:00
BONNe 4c4ec57562 Update to BentoBox 1.21 and PanelUtils 1.1.0 2023-01-05 21:39:03 +02:00
BONNe 629159b52d
Update pom.xml 2022-05-06 23:18:38 +03:00
BONNe 48c47f086d
Update pom.xml 2022-03-03 18:33:56 +02:00
BONNe e7b84768aa Remove unnecessary NMS dependency.
NMS code was used for Player Heads, but instead of NMS now it uses public mojang lib.
2021-12-01 10:16:34 +02:00
BONNe e9f37e8dee Replace GuiUtils and HeadLib to the PanelUtils library. 2021-10-02 14:04:30 +03:00
tastybento e4f93615ce Removed shade plugin from POM 2021-09-24 19:58:04 -07:00
tastybento 41d574a859 Excluded unnecessary files from shading. 2021-09-23 22:22:23 -07:00
tastybento 070a7190a4 Remove Vault repo because it is not needed. 2021-09-23 22:09:34 -07:00
tastybento f9e1b15b9f Try different spigot API version 2021-09-23 21:59:14 -07:00
tastybento 50d5687aef Fix JavaDoc, Shade plugin settings 2021-09-23 19:39:33 -07:00
tastybento 7126acfcfa Reorder dependencies
The Mojang dependency was blocking out the needed Google common
packages.
2021-09-23 17:08:12 -07:00
BONNe 7f3a1f3e5e Update BentoBox version 2021-09-20 11:17:23 +03:00
BONNe 09e25dc2a7 Updates pom.xml 2021-09-18 13:04:14 +03:00
BONNe 5d88c7b1d8 Add mojang authLib instead of NMS. 2021-08-14 21:48:20 +03:00
BONNe 7c2be91be9 Switch to annotations instead of plugin.yml file. 2021-08-14 21:42:45 +03:00
BONNe 0b87bf6569
Update pom.xml 2021-06-28 03:26:16 +03:00
tastybento 66a4730ca0 Use BentoBox 1.17.0 2021-06-27 17:09:06 -07:00
tastybento 015b5d3afb Fix Java 16 compilation. 2021-06-27 11:10:49 -07:00
BONNe 9ca674d2b9 Upgrade to BentoBox 1.17 API changes.
Implement Pladdon functionality.
Compile against java 16 and Spigot 1.17
2021-06-23 19:50:58 +03:00
tastybento 3301554822 Version 0.8.5 2021-03-07 13:38:39 -08:00
tastybento edc7f5f9a6 Upgrade Maven plugins to enable Java 11 compilation. 2021-03-07 11:00:20 -08:00
tastybento db527ecd3c Use GitHubs workflow SonarCloud 2021-03-07 10:40:34 -08:00
BONNe 8ad527b462 Update to BentoBox 1.15.4 API 2021-01-02 13:32:59 +02:00
BONNe dfeef0ab8c
Init next release 2020-07-10 01:01:23 +03:00
BONNe fcb7634079 Downgrade to 0.8.3 version.
Added 1.16 entities to HeadLib.
Update to released BentoBox version.
2020-07-09 22:45:23 +03:00
BONNe ce14c20126 Update to BentoBox 1.14-SNAPSHOT API.
Implement new API features.
Replace deprecated methods.

Add compatibility layer with Minecraft 1.16 version.
2020-07-07 11:58:09 +03:00
BONNe 1c9aa664c8 Update to BentoBox 1.13.1.
Update to Spigot 1.15.2.
2020-05-08 09:38:50 +03:00
BONNe 4ab706b207 Move back to 9.0.0 version 2020-04-22 01:42:38 +03:00
BONNe 3fd0aa7219 Downgrade to 0.8.1 version 2020-04-22 01:10:31 +03:00
Florian CUNY ef452fa030
Changed build character from # to b 2020-01-02 11:00:50 +01:00
tastybento 9d45f08fb1 Test coverage (#199)
* Test coverage for Challenges Command

* Added CompleteChallengeCommand test class

* Added Utils test class

* Added ChallengesGUI test class

* Fix code smells from sonarcloud analysis

* Added .gitignore

* Added Travis CI config file

* WIP ChallengesManager Test class

* Added ChallengesManager test class

* Removed debug

* Removed code smells.

* Added ChallengesAddon test class.

* Added onDisbale test

* Added new TryToComplete test class - WIP

Covers inventory challenges.

* Added Island Challenge entity tests to TryToComplete test class
2019-10-30 08:44:26 +02:00
BONNe 0c47f811dc Fix issue when users could not select non-block items as icons for challenges and levels. (#190) 2019-09-28 20:09:21 +03:00
BONNe 449890def5 Drop Depricated 1.13 SIGN object.
Update to 1.7 BentoBox.
2019-09-08 20:15:30 +03:00