Commit Graph

664 Commits

Author SHA1 Message Date
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
BuildTools
ac79fa5d56 Completely drop ability to import ASkyBlock challenges.
This option was not working properly and were used wrongly. To avoid that, importing challenges and player data will be handled by converter.
2019-08-26 09:08:56 +03:00
NotMyFault
36255d07a2 Fixing various typos (#172) 2019-08-26 07:55:22 +03:00
BuildTools
7fce1a1fd4 Fix compilation error. 2019-08-25 23:09:44 +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
BuildTools
b6e2133782 Fix issue with non-migrated levels.
#168
2019-08-25 00:07:44 +03:00
BuildTools
15f4c8abd4 Fix error in Challenge Level description.
Copy-paste error, instead of experience, it returned waiver-amount.
Reported in discord.
2019-08-19 00:37:26 +03:00
BuildTools
54f91180d6 Fix issue in importing challenges from ASkyBlock when importing crashes with null-pointer.
Null-pointer happened because there were mistake in level unique_id getting. It was leftover from old unique_id scheme...
2019-08-14 22:00:11 +03:00
BuildTools
6f357b3197 Update code to new API.
Replace PremadeEvent with BentoBoxEvent.
2019-08-13 22:49:37 +03:00
BONNe
dea71358ae
Update Utils.java
Avoid null-pointer issue if given item-list contains null elements.
The issue is still that list contains these elements.
2019-08-11 18:12:56 +03:00
tastybento
a50d00b2e7 Fixes JavaDoc warnings. (#164)
@inheritDoc cannot be used on Constructors.

Fixed some other warnings.
2019-08-05 13:00:03 +03:00
BONNe1704
76fb30be36 Add ability to migrate challenges from 0.5.0 - 0.7.5 data storage mode to new 0.8.0 format.
Part of implementing #105
2019-08-02 12:22:52 +03:00