Commit Graph

575 Commits

Author SHA1 Message Date
BONNe
e83f906581
Translate lv.yml via GitLocalize (#185) 2019-09-09 14:41:16 +03:00
BONNe
c74fa42770 Change challenges addon status to incompatible, if it tries to run with YAML 2019-09-09 01:02:34 +03:00
BONNe
9d400fd115 Fix water-zoo challenge.
(it's level was elite but added in advanced level)
2019-09-08 21:45:03 +03:00
BONNe
902a1993a2 Add UTF-8 CharSet for file writer to avoid issues with incorrect char saving. 2019-09-08 20:33:19 +03:00
BONNe
25f20ce779 Update README.
Remove Issue Templates.
2019-09-08 20:27:11 +03:00
BONNe
449890def5 Drop Depricated 1.13 SIGN object.
Update to 1.7 BentoBox.
2019-09-08 20:15:30 +03:00
BONNe
4e6d37cd90 Rework Challenge Object Data storing.
Requires MIGRATION if upgrade from older version.
2019-09-08 20:03:46 +03:00
BONNe
09036a28f0 Fix typos. 2019-09-06 18:45:55 +03:00
BONNe
3501db7002 Work on fixing some crashes related to incorrect data.
Optimize some lambda functions.
Add method that validates challenge's levels. If level does not exits in database, then challenge's level is set to FREE.
Fix crash with migration: Free challenges level does not require migration.

This relates to issue #181
2019-09-06 00:14:06 +03:00
tastybento
92c2ba12b7 Updated Japanese translation (#180)
* Translate ja.yml via GitLocalize
2019-09-05 18:15:55 +03:00
BONNe
643c5e8f7c Add an option to hide undeployed challenges from challenge list (#175)
Added new config option "gui-settings.undeployed-view-mode" with 3 values
- 'VISIBLE' - all challenges are visible
- 'HIDDEN' - only deployed challenges are visible
- 'TOGGLEABLE' - users will be able to choose option for themself (not implemented)

Implement functionality in ChallengesGUI, where if option hidden is set, then all undeployed challenges are removed.
Implement ability to edit this option via admin Settings panel.
2019-09-05 15:52:14 +03:00
BONNe
e5ec5d5825 Apply new Utils methods in EditChallengesGUI 2019-09-05 13:24:03 +03:00
BONNe
e900f1e665 Add generic methods that allows to get next or previous elements in given array. 2019-09-05 13:23:19 +03:00
BONNe
28d61870a7 Fix issue when complete wipe did not work, even when selected. 2019-09-05 13:10:02 +03:00
BONNe
a5022bea7a Improve Wipe Button behaviour.
Add 2 new buttons:
- User wipe - deletes all challenges addon player data.
- challenges wipe - deletes only challenges and levels.

By clicking on challenges wipe with right click, it will switch to compelte wipe, and via versa.
2019-09-05 12:19:05 +03:00
BONNe1704
ecbb8ef1f2 Merge branch 'develop' of https://github.com/BentoBoxWorld/addon-challenges into develop 2019-09-05 12:01:41 +03:00
BONNe
ae614a13d4 Merge remote-tracking branch 'origin/develop' into develop 2019-09-05 09:37:05 +03:00
BONNe
5f1ea920f5 Add download button in Challenges Libraries panel.
Disable access to Library panel if github api is disabled.
2019-09-05 09:36:53 +03:00
BONNe
a0ffacf66f Add GitHubWebAPI4Java shaded pattern. 2019-09-05 09:09:20 +03:00
NotMyFault
68e09d6946 Fix typos and make challenge descriptions looking a bit nicer (#177) 2019-09-04 18:21:39 +03:00
BONNe
fd4a19bcb1 Add 1.14 mob types to HeadLib. 2019-09-04 09:49:58 +03:00
BuildTools
853b25c059 Merge remote-tracking branch 'origin/develop' into develop 2019-09-04 09:30:26 +03:00
BONNe
40e34e7999 Add better challenge sorting in AdminGUI's
Now challenges will be sorted by their level order number, their order number, their unique id. All free challenges will always be at the start.
2019-09-04 09:30:11 +03:00
BONNe
02f5764487
Add translation part 2019-09-03 21:43:59 +03:00
BONNe
e854bbd294 Fix issue when Lore GUI buttons were not colored and splitted. 2019-09-03 11:14:26 +03:00
BuildTools
f2a4ab5817 Merge remote-tracking branch 'origin/develop' into develop 2019-09-03 09:04:08 +03:00
BuildTools
7af213bb76 Add missing lore titles 2019-09-03 09:03:51 +03:00
BONNe
c7fe138d78 Add GUI for editing Challenge and Challenge Level lore messages.
Rework Lore message construction.
2019-09-03 09:03:21 +03:00
tastybento
83c22f5a0d Japanese translation (#176)
* Translate ja.yml via GitLocalize

* Translate ja.yml via GitLocalize
2019-09-03 00:03:03 +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
f611727d4e Implement WebManager that will download Challenges Libraries from GitHub.
Implement GUI for selecting and downloading Challenges Libraries.
2019-09-02 17:56:24 +03:00
BONNe
29a77147b5 Fix issue when each save added unnecessary "|" at the end of rewards and unlock message. (#123)
Algorithm that I used to join output list into single string, always added "|" at the end. Last "|" should be removed.
2019-09-02 13:20:59 +03:00
BONNe
707625a9da Fix the issue with incorrect unlock status. (#169)
The issue was that it never decrease challengesToDo with completed challenges from previous level, so only first level was unlocked. My mistake.
2019-09-02 09:05:18 +03:00
BONNe
0026cb7404 Separate all enums from Settings class into SettingsUtils. 2019-09-01 15:17:34 +03:00
BuildTools
235da81ba0 Move Settings class to separate package. 2019-09-01 15:10:05 +03:00
BONNe1704
fe3a18c459 Fix copy-paste issue that prevent from completing ISLAND type challenges. 2019-08-30 17:15:36 +03:00
BONNe
fda0ac8318
Update README.md 2019-08-30 16:29:41 +03:00
BONNe
a35374ecd1
Update README.md 2019-08-30 16:28:06 +03:00
BuildTools
f4f18c85f3 Merge remote-tracking branch 'origin/develop' into develop 2019-08-29 00:07:20 +03:00
BONNe
592a4c7310 Fix server crash when COOP player tried to complete ISLAND type challenge (#174).
The issue was that I used wrong command to check island owner. It is fixed.
Also added 2 protective code, that prevents from trying to select large areas for block searching.
2019-08-29 00:07:08 +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
9a97b5ed53 Merge remote-tracking branch 'origin/develop' into develop 2019-08-28 16:55:34 +03:00
BONNe1704
8e0448eac7 Reintroduce Multiple Completions
Add [gamemode].complete.multiple permission that will allow/prevent to complete challenge multiple times at once.
Introduce new MultipleGUI that opens GUI with 5 buttons that allows to choose how many times challenge should be completed.
2019-08-28 16:55:18 +03:00
BONNe1704
01d4f8fde2 Update ReadMe a bit. 2019-08-28 13:11:03 +03:00
BONNe
049121ec08
Update latvian locale (#173)
* Translate lv.yml via GitLocalize
2019-08-28 13:01:04 +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
BONNe
9d7a5db290 Fix issue when multiple completions were not saved correctly. 2019-08-28 11:50:16 +03:00
BuildTools
12dd740959 Merge remote-tracking branch 'origin/develop' into develop 2019-08-26 09:09:10 +03:00