Commit Graph

78 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