Commit Graph

128 Commits

Author SHA1 Message Date
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
BONNe1704
ff6e28b27e Init next release (for BentoBox 1.5.0) 2019-05-09 16:22:02 +03:00
BONNe1704
9b8d7b3717 Update level addon dependency. 2019-05-09 12:34:50 +03:00
wellnesscookie
88e84cef2a Color extends on further locale text (#112)
* Update ReadMe.

* Remove # symbol from development build name

* Color extends on further locale text

If a Friendly Name of a challenge is colored, it's color will pass on to all words after it.
Resetting it's color and setting it back after [level] will fix this.

Not really a relevant PR, but I've asked @BONNe  on Discord if it's okay with him if I change this and he confirmed.
2019-05-04 19:01:44 +03:00
BONNe
bc5cb2068b Improve pom.
Removes -#NUM from master build.
Replaces -#0 to -LOCAL if use local build.
2019-04-01 10:09:40 +03:00
BONNe
8d2aecb552 Version up in develop branch 2019-03-31 23:30:50 +03:00
BONNe
577a13a698 Inits 0.6.5-SNAPSHOT Release
Updates to BentoBox 1.4.0.

Adds build.number to maven properties.
Rename develop to ci profile.
CI profile will rename build.number instead of build version.
2019-03-29 00:32:56 +02:00
BONNe
e04ed5fb75 Upgrade ChallengesPom
- Move all dependency versions to properties section.
- Add profiles that allows to change project version based on BUILD_NUMBER and GIT_BRANCH
2019-03-05 10:30:19 +02:00
BONNe1704
3c9cce2ce9 Update Pom and ReadMe 2019-02-25 12:23:24 +02:00
BONNe1704
e019257d38 Update pom.xml
Use BentoBox 1.3.0 and Level 1.3.0 versions.
Use jitpack for Vault, as their nexus is down.
2019-02-25 10:36:07 +02:00
BONNe1704
f9b941059e Remove Deprecated Classes. 2019-02-18 00:32:51 +02:00
BONNe1704
68b0fa3b2e Improve debugging in Creative GameMode.
Add ability to Creative GameMode complete inventory and exp challenge without necessary items and exp.
2019-02-14 10:28:06 +02:00
BONNe
e0022b5c12
Add correct Level addon version 2019-02-13 16:49:01 +02:00
BONNe1704
8f51a49719 Prepare 0.5.0 release. 2019-02-13 13:08:32 +02:00
tastybento
2151605d4c BentoBox version 1.2.0 2019-01-27 23:17:59 -08:00
BONNe
752ea5b435 Update To 0.5.0 - version. 2019-01-26 16:15:24 +02:00
BONNe
ca32c53510 Update To BentoBox 1.1
Use new approach to hooking addons into game-mode.
2019-01-23 20:19:18 +02:00
BONNe
433484d9f7 Add new enum HeadLib that contains library with all mob heads from Minecraft. 2019-01-19 15:49:54 +02:00
BONNe
c2b809f509 Add AnvilGUI dependency. 2019-01-18 19:15:50 +02:00
BONNe1704
d1173d6499 Merge remote-tracking branch 'origin/develop' into develop 2019-01-18 10:52:48 +02:00
tastybento
126a0c61db 1.1-SNAPSHOT BentoBox 2019-01-13 18:47:04 -08:00
BONNe1704
b8e0ca4331 Rework ChallengesAddon main class.
Add dependencies to AcidIsland and BSkyBlock addons in pom.xml.
Use proper way how to get GameMode admin and user commands.
Init Settings object and implement onReload() method.

Add check on disabled game modes, to avoid loading challenges in addons, where it should be disabled by settings.
2019-01-10 11:36:06 +02:00
Florian CUNY
329cdd05cf Version 0.3.1-SNAPSHOT (develop) 2019-01-05 11:19:35 +01:00
Florian CUNY
4c3026f3c1 Version 0.3.0 (BentoBox 1.0) 2019-01-05 11:17:03 +01:00
tastybento
32dbebd607 Removing async and updating to 1.13.2 API
The async saving is not the right thing to do here anyway, so I'm
removing it.

https://github.com/BentoBoxWorld/Challenges/issues/45
2018-12-31 18:43:32 -08:00
tastybento
e279114a90 Enables code to build.
https://github.com/BentoBoxWorld/Challenges/issues/45

It appears there is a bug or issue with Spigot API 1.13.2. I've no idea
why using 1.13.2 in the POM causes an error.
2018-12-31 18:15:38 -08:00
Florian CUNY
f131da1b27 Trying to fix the build error 2018-12-30 21:13:50 +01:00
Florian CUNY
30a26da821 Trying to use a specific 1.13.2 Spigot snapshot to fix the ambiguity 2018-12-30 15:05:46 +01:00
Florian CUNY
44d20a2955 Added Vault dependency in POM 2018-12-30 14:47:58 +01:00
Florian CUNY
090e1ccfa1 Added CodeMC CI 2018-12-30 14:46:04 +01:00
Florian CUNY
202bcb9dbb Updated to latest BentoBox and Level 2018-12-30 14:40:45 +01:00
Florian CUNY
33353ab4a5 Version 0.3.0-SNAPSHOT 2018-12-30 14:40:01 +01:00
Florian CUNY
9ef5e428e1 Removed useless schem-related resource node in POM 2018-12-30 14:38:35 +01:00
Florian CUNY
ac1fd54a7b Updated to Spigot 1.13.2 2018-12-30 14:37:41 +01:00
Florian CUNY
a664029e13 Updated codemc repo in POM 2018-12-30 14:34:22 +01:00
Florian CUNY
2ad5bad860 Updated urls in POM 2018-12-30 14:33:28 +01:00
Florian CUNY
6abf6627d3 Lowercased artifactId 2018-12-30 14:32:12 +01:00
Florian CUNY
7e8bb1a35c Updated groupId to world.bentobox 2018-12-30 14:31:39 +01:00
tastybento
4810ba369c Added codemc to the repos in pom. 2018-12-01 20:44:19 -08:00
tastybento
5f7581f09c Challenges reset when island is reset.
Fixed locale duplication.

https://github.com/BentoBoxWorld/addon-challenges/issues/2
https://github.com/BentoBoxWorld/addon-challenges/issues/3
2018-11-23 17:06:42 -08:00
tastybento
ac80a7e7e4 Fix for taking items even if challenge incomplete
https://github.com/BentoBoxWorld/addon-challenges/issues/27

Also added admin challenge reset command.
2018-11-18 19:39:14 -08:00
tastybento
e64bb169a0 Version up 2018-11-12 10:24:55 -08:00
tastybento
1e07223d61 Fixes issue with Level not being referenced correctly.
https://github.com/BentoBoxWorld/addon-challenges/issues/26
2018-11-12 10:24:18 -08:00
tastybento
c70f5cf2f3 Fix error when no blocks required, only entities.
Updated POM to use correct Level org.

May be related to
https://github.com/BentoBoxWorld/addon-challenges/issues/28
2018-11-12 09:55:42 -08:00
tastybento
263390deb7 Updated to 0.12.0 API. 2018-10-30 18:26:47 -07:00
tastybento
c14b242cbd Added admin complete command
Other items are WIP
2018-10-06 08:49:49 -07:00
tastybento
482c95d9ce Fixes parsing bug for potions.
https://github.com/BentoBoxWorld/bentobox/issues/265

Adds version from POM to addon.yml
2018-09-03 21:32:26 -07:00
tastybento
44910200f5 Added scope to BentoBox dependency 2018-08-25 12:37:39 -07:00
tastybento
6f093f0802 Updated POM to latest Bentobox version 2018-08-24 15:41:01 -07:00
tastybento
2caf744273 Restructured to use Maven resources folder 2018-08-15 20:23:38 -07:00
tastybento
74ec602117 BentoBox version up. 2018-08-12 19:59:18 -07:00
tastybento
c22fd34fbe WIP moved to admin challenges command
Adding a management GUI
2018-08-12 03:04:30 +09:00
tastybento
371dafa32a Updated to FC-0.9 2018-08-09 06:33:14 +09:00
tastybento
ab32c1de80 Updated to renamed API 2018-08-05 20:39:18 -07:00
tastybento
b75ec5d12b BentoBox version 2018-07-28 21:43:41 -07:00
tastybento
457a32a65d Updaed to 1.13 API 2018-07-28 17:15:30 -07:00
Tastybento
18a300c801 Got challenges working to alpha level. 2018-04-14 22:30:04 -07:00
Tastybento
fd3e7a928f WIP - updated to use latest Panel API 2018-03-11 17:36:06 -07:00
Tastybento
51422108c6 WIP - challenges
Admin command cadmin to create and manage challenges in-game. Challenges
are saved as yml files. Note that admins cannot edit yml files directly
if server is running because they will be overwritten.
User UI sort of works if challenge files are hand tailored.
More to do!
2018-02-22 23:52:39 -08:00
Tastybento
0a8ba02d74 WIP - added /c create (name) command
Opens up an inventory. Drag and drop items into the inventory. Escape
out and the challenge is saved with the items as required items.
2018-02-19 19:50:34 -08:00
Tastybento
38a98043d5 First commit 2017-11-25 18:17:16 -08:00