Commit Graph

110 Commits

Author SHA1 Message Date
tastybento
7c1deb9384
Release 1.3.0 (#331)
* 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

---------

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>
2024-03-16 09:13:01 -07: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
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
BONNe
a0ffacf66f Add GitHubWebAPI4Java shaded pattern. 2019-09-05 09:09:20 +03:00
BONNe
747c12f1a6 Remove all references to GitHubWebAPI4Java and use lambda instead. 2019-09-02 19:24:30 +03:00
BuildTools
b719b88bf1 Add shaded pattern. 2019-09-02 18:52:26 +03:00
BuildTools
419f0c596a Add missing dependency. 2019-09-02 18:48:47 +03:00
BONNe1704
6d8b1cb761 Fix some issues in default challenges.
- remove parallel stream reading, as it may not load all challenges/levels.
- fix chef challenge not detected by level.
- fix some typos.
2019-08-28 17:21:39 +03:00
BONNe1704
1543c329f1 Update to BentoBox 1.7-SNAPSHOT
Upgrade to Spigot 1.14.4
Change locales to gitLocalize friendly file names.
2019-08-28 12:47:16 +03:00
BuildTools
c516d53907 Update to v1.6.0 version.
Remove AnvilGUI, as it is broken. Replaced with Spigot Conversation API.
Remove lore-config from GUI (broken).
Remove RIGHT_CLICK to complete multiple times (broken).
2019-08-25 22:43:15 +03:00
tastybento
9800da5973 Fixed permissions check to remove dot 2019-07-31 23:21:52 -07:00
BONNe
39bd3cbec9
Update AnvilGUI api. 2019-07-13 19:31:12 +03:00
BuildTools
52f9ee10bf Switch AnvilGUI to forked version. 2019-06-24 16:56:46 +03:00
BONNe
e0610c1800 Init 0.8.0 release 2019-06-16 11:42:07 +03:00
BONNe
64f04829bd Update to BentoBox 1.5.0 release version. 2019-06-12 22:59:38 +03:00
BONNe
7914f315f4 Use codemc-nms repo. 2019-05-28 20:18:29 +03:00
BONNe1704
6a7b26afc0 Add missing Spigot Group Repository. 2019-05-28 16:37:16 +03:00
BONNe1704
66351b5776 Replace org.spigotmc.spigot to org.bukkit.craftbukkit dependency for Mojang Account shadowing.
Spigot close their server-side code.
2019-05-28 16:04:07 +03:00