Commit Graph

302 Commits

Author SHA1 Message Date
Florian CUNY 0892ed2ecb Version up 1.10.1 2020-01-03 14:32:43 +01:00
Florian CUNY f1f48279cc Updated (and fixed repo) the PlaceholderAPI dependency to 2.10.4 2019-12-30 15:31:41 +01:00
Florian CUNY c0d873d022 Fixed MVdWPlaceholderAPI dependency scope in pom.xml 2019-12-21 10:26:53 +01:00
Florian CUNY 4f35514c77 Version up 1.10.0 2019-12-15 13:37:33 +01:00
tastybento 3332b65b86 Updated to 1.9.2 and server 1.15 compatibility.
Note - testing still in progress...
2019-12-10 18:10:51 -08:00
tastybento 3792b4b35d Update to 1.9.1 2019-12-01 08:37:28 -08:00
tastybento c9b0c74d08
Paper lib (#1026)
* Remove unused imports

* Implements PaperLib within bentobox

* Added PaperLib methods to Util for addons to call

* Uses PaperLib for island deletion

* Point to https://github.com/BentoBoxWorld/MVdWPlaceholderAPI in POM
2019-11-13 15:10:33 -08:00
tastybento 139ffb81d4 Updated to newer versions of plugins in POM 2019-11-07 17:44:59 -08:00
tastybento 508566737a updated sonarcloud org 2019-10-29 19:45:51 -07:00
Florian CUNY 95d3408edc Version up 1.9.0 2019-10-20 15:26:18 +02:00
Florian CUNY e38c3b55f4 Updated pom.xml to use the "version" variables for the most recently added dependencies 2019-09-14 21:08:08 +02:00
Florian CUNY 51ee5294b1 Version up 1.8.0 2019-09-08 16:24:44 +02:00
tastybento 87168a5ea9 Compile against Spigot 1.14.4 (#919)
Fixes #914.

* Shifts to compile with 1.14.4 API.

Note that this will make some events incompatible with 1.13.2 because of
a class not found error.

* WIP

* Fixed deprecated APIs and ItemStackAdapter test case

* Fixes enderchest test bug.

* Updated server version compatibilities in ServerCompatibility
2019-08-29 21:18:45 +02:00
Florian CUNY c864191edd Version up 1.7.0 2019-08-14 11:26:45 +02:00
tastybento be673fa527 Switched to latest Mockito and PowerMockito libs. WIP 2019-08-03 18:05:15 -07:00
Florian CUNY 810e4806f3 Added WorldEditHook 2019-06-30 14:12:51 +02:00
Florian CUNY d6112c8c25 Updated PlaceholderAPI version to 2.10.3 2019-06-30 11:16:18 +02:00
Florian CUNY 64f03bad04 Updated the WebManager to gather the data from the new repo 2019-06-28 21:25:09 +02:00
Florian CUNY 23f4e66a02 Switched to TheBusyBiscuit's GitHubWebAPI4Java 2019-06-27 21:20:12 +02:00
Florian CUNY 3b0613c22a Version up 1.6.0 2019-06-21 19:10:36 +02:00
Florian CUNY c5a9a1443e Added developers to the pom.xml 2019-06-16 14:06:00 +02:00
Florian CUNY 496c4c9b5a Version up 1.5.3 2019-06-16 11:30:41 +02:00
Florian CUNY 51327b10e2 Version up 1.5.2 2019-06-10 09:48:45 +02:00
Florian CUNY 2bc0b824a6 Version up 1.5.1 2019-06-09 10:10:38 +02:00
Florian CUNY eebb2a982d Added MVdWPlaceholderAPI support and improved placeholders integration
#651
2019-05-31 10:56:03 +02:00
Florian CUNY 29193cbc3a
Updated bStats dependency to 1.5 2019-05-21 06:24:24 +02:00
tastybento 4c16b0d779 Implement Blueprint Bundles GUI (#691)
* WIP Blueprint GUI

* Basic implementation. Still WIP.

Needs to enable description adding.

* Added description entry for blueprint bundle.

* Readded maven-javadoc-plugin
2019-05-20 08:18:24 +02:00
Florian CUNY 4f8f40733e Updated description in pom.xml 2019-05-19 16:16:20 +02:00
BONNe 625074cf0d Append build number to builds compiled by the CI (#678) 2019-05-14 13:01:58 +02:00
BONNe bcc5af1758 Append build number to plugin's version in plugin.yml (#677)
* Upgrade BentoBox pom

- Replace default profile with ci profile, like in Challenges addon.
This profile will set value for build.number variable.
- Improve master profile
This will remove -SNAPSHOT for the end of revision and sets build.number to empty string.

* Add build.number at BentoBox version

This will allow to know which snapshot build is used in current build.

* Update pom.xml

Co-Authored-By: Florian CUNY <poslovitch@bentobox.world>
2019-05-14 10:22:48 +02:00
Florian CUNY 77373f621d Updated PlaceholderAPI dependency to 2.10.1 2019-05-08 14:32:35 +02:00
tastybento df8a93e9f1 Try newer sonarcloud maven version due to Travis errors 2019-05-03 22:54:13 -07:00
Florian CUNY c47a41f3fc Removed the drafty Github api - we now use the GitHubAPI4Java :) 2019-04-18 14:41:29 +02:00
Florian CUNY 9386e8aa71 Added Dynmap hook
#475
2019-04-13 14:22:05 +02:00
Florian CUNY 5ff2bc1d6a Version up 1.5.0 2019-04-06 21:08:10 +02:00
tastybento b5bc86112c Revert "Try to exclude bukkit from Vault dependency"
This reverts commit a9bc236ea4.
2019-03-13 13:36:47 -07:00
tastybento a73e4793c8 Revert "Try revert Maven compiler plugin version"
This reverts commit 3879169b7e.
2019-03-13 13:36:40 -07:00
tastybento 3879169b7e Try revert Maven compiler plugin version 2019-03-13 13:32:50 -07:00
tastybento a9bc236ea4 Try to exclude bukkit from Vault dependency 2019-03-13 13:30:47 -07:00
tastybento c47757b248 Try Vault version change to 1.7
Trying to fix Jenkins build problem.
2019-03-13 13:26:32 -07:00
Florian CUNY 55b813b746
Updated a few maven plugins 2019-03-10 09:15:57 +01:00
tastybento 9e6b0d873c Revert "Fixed version in POM not being "-SNAPSHOT""
This reverts commit 13eddbb3b6.
2019-03-09 22:14:01 -08:00
Florian CUNY 13eddbb3b6
Fixed version in POM not being "-SNAPSHOT" 2019-03-09 22:20:37 +01:00
tastybento 5d2e6e6906 Removes build version suffix to SNAPSHOT releases.
See https://github.com/BentoBoxWorld/BentoBox/issues/603
2019-03-08 23:38:04 -08:00
BONNe e3fbeb1560 Added profiles to POM (#596)
Add 3 new profiles:
- local profile is activated by default and it will add -SNAPSHOT at the end of version.
- develop profile is activated when exist BUILD_NUMBER environment variable and it will add -SNAPSHOT #BUILD+_NUMBER at the end of version
- master profile is activated when exists GIT_BRANCH environment variable with value origin/master and it will not add anything to version.

Also, move most of dependencies versions to properties section.

With these changes, it will be easier to process next release. Only change `build.version` in properties section. 

If you run maven package or install from IDE or console, it will add -SNAPSHOT at the end (unless you have local Jenkins server). [`bentobox-1.4.0-SNAPSHOT.jar`]
In Jenkins server builds from develop branch will look like `bentobox-1.4.0-SNAPSHOT #21.jar`.
In Jenkins server builds from master branch will look like `bentobox-1.4.0.jar`.
2019-03-08 20:36:53 +01:00
Florian CUNY ae28531327 Version 1.4.0-SNAPSHOT (develop) (again) 2019-03-01 21:48:31 +01:00
Florian CUNY d34caf6546 Version 1.3.1 2019-03-01 21:14:44 +01:00
Florian CUNY ba7bc769df Version up 1.4.0-SNAPSHOT (develop) 2019-02-22 16:43:51 +01:00
Florian CUNY ec75133d54 Version 1.3.0 2019-02-22 11:25:39 +01:00
Florian CUNY e33f8c3c25 Using jitpack to get Vault as their repository is down
See https://github.com/MilkBowl/VaultAPI/issues/69 for reference.
2019-02-18 21:19:12 +01:00
Florian CUNY bcb1a3ae24 Use 4 spaces instead of tabs in pom.xml 2019-02-11 14:12:59 +01:00
Florian CUNY 7843bb0f0f Updated jacoco-maven-plugin to 0.8.3 2019-02-06 15:59:56 +01:00
Florian CUNY 24fab52435 Version 1.3.0-SNAPSHOT (develop) 2019-02-02 14:21:50 +01:00
Florian CUNY 384cbf31a7 Version 1.2.1 2019-02-02 14:15:16 +01:00
Florian CUNY b0ba135d1b Version 1.2.1-SNAPSHOT (develop) 2019-01-27 14:19:24 +01:00
Florian CUNY 6fdf11f91e Version 1.2.0 🎉 2019-01-27 10:24:01 +01:00
Florian CUNY b08a327879 Version 1.2.0-SNAPSHOT (develop) 2019-01-27 09:13:26 +01:00
Florian CUNY 6155a8cf80 Version 1.1.1-SNAPSHOT (develop)
Rather than releasing a minor version, we will release a bug-fix focused one.
2019-01-26 15:23:46 +01:00
Florian CUNY 765df57e0d Version 1.2.0-SNAPSHOT (develop) 2019-01-20 18:05:18 +01:00
Florian CUNY bb188cb8ff Release 1.1 2019-01-20 10:10:29 +01:00
tastybento e4e6525995 Exclude eclipse jar from shaded jar to fix crash.
See https://github.com/BentoBoxWorld/BentoBox/issues/469
2019-01-13 15:11:03 -08:00
Florian CUNY c783fa8e16 Started to add Nullable/NonNull annotations 2019-01-12 17:30:47 +01:00
Florian CUNY 37f509ea56 Version 1.1 (develop) 2019-01-03 20:59:02 +01:00
Florian CUNY 2b0ccb4099 Release 1.0 ( 🎉 ) 2019-01-03 20:53:18 +01:00
Florian CUNY cf3e260dac Revert "Changed the scope of spigot-api and VaultAPI to compile"
This reverts commit d5a85e86b3.
2019-01-02 18:11:43 +01:00
Florian CUNY d5a85e86b3 Changed the scope of spigot-api and VaultAPI to compile
This will avoid addons needing to import these dependencies themselves
2019-01-02 13:32:36 +01:00
Florian CUNY 39f4ff425e Version 1.0-SNAPSHOT (develop) 🎉 2018-12-24 09:29:10 +01:00
Florian CUNY c45250044f Updated pom 2018-12-22 20:49:46 +01:00
Florian CUNY 337db39620 Version 0.19.0-SNAPSHOT (develop) 2018-12-22 16:55:34 +01:00
Florian CUNY 79d97f22f9 Version 0.18.0 (Alpha 13) 2018-12-22 16:54:44 +01:00
Florian CUNY 76672d9c41 Updated pom 2018-12-22 16:53:30 +01:00
Florian CUNY 3b87ff7aae Version 0.18.0-SNAPSHOT (develop) 2018-12-15 17:37:18 +01:00
Florian CUNY 7e7edcc48d Version 0.17.0 (Alpha 12) 2018-12-15 17:36:01 +01:00
Florian CUNY 7558f131b9 Updated bstats to 1.4 2018-12-15 13:19:11 +01:00
Florian CUNY 28e62d087d Version up to 0.17.0-SNAPSHOT for further development 2018-12-09 15:22:31 +01:00
Florian CUNY e7c77d638c Version up to 0.16.0 2018-12-09 15:04:19 +01:00
Florian CUNY a1076dfc3f Version up to 0.16.0-SNAPSHOT (again) 2018-12-02 09:25:22 +01:00
Florian CUNY 8f34e9e6c3 Version up to 0.15.1 2018-12-02 09:24:09 +01:00
Florian CUNY 46156fbf5c Version up to 0.16.0-SNAPSHOT for further development 2018-12-01 17:52:08 +01:00
Florian CUNY 4eec62477b Version up to 0.15.0 2018-12-01 17:51:11 +01:00
Florian CUNY 442d62d427 Fixed some indentation in pom.xml 2018-12-01 15:40:00 +01:00
Florian CUNY 40afd6c161 Version up to 0.15.0-SNAPSHOT for further development 2018-11-11 14:18:23 +01:00
Florian CUNY cc8baed84d Version up to 0.14.1 2018-11-11 14:17:36 +01:00
Florian CUNY 72738f42b9 Update SpigotAPI dependency version to 1.13.2
Don't know why it hasn't been done before
2018-11-11 10:20:51 +01:00
Florian CUNY 15fdb85df6 Version up to 0.14.1-SNAPSHOT for bug fixes 2018-11-10 10:02:51 +01:00
Florian CUNY ac56759883 Version up to 0.14.0-SNAPSHOT for further development 2018-11-04 11:23:39 +01:00
Florian CUNY 856dcb8b3d Added PlaceholderAPI support 🎉 2018-11-02 15:37:24 +01:00
Florian CUNY 033e278f11 Updated version to 0.13.0-SNAPSHOT for further development 2018-11-01 11:05:07 +01:00
Florian CUNY 0c75e556b2 Implemented Vault support 🎉 2018-10-30 15:35:27 +01:00
Florian CUNY cc2bbfc447 Updated version to 0.12.0-SNAPSHOT due to upcoming breaking changes 2018-10-28 10:18:27 +01:00
Florian CUNY 9427d3dd46 Version updated to 0.11.1-SNAPSHOT due to upcoming bug fixes 2018-10-27 15:48:34 +02:00
Florian CUNY 64aab973e1 Switched back to 0.11.0-SNAPSHOT for further development 2018-10-25 09:59:40 +02:00
Florian CUNY b2860b825f Updated version to 0.11.0-alpha1 2018-10-25 09:58:23 +02:00
Florian CUNY 95c5c944cd Switched back to 0.10.1-SNAPSHOT for further development 2018-10-06 10:01:48 +02:00
Florian CUNY 286c74539b Version 0.10.1-alpha1 2018-10-06 10:00:03 +02:00
tastybento 818e60891f Version up as bug fixes included. 2018-10-05 17:18:37 -07:00
Florian CUNY 23ff8de867 Version 0.10.0-SNAPSHOT due to upcoming API breaking changes 2018-09-15 12:07:16 +02:00
Florian CUNY db3bf21c4c Switched back to 0.9.0-SNAPSHOT for further development 2018-09-01 14:36:18 +02:00
Florian CUNY 6b65b92d10 Version 0.9.0-alpha2 2018-09-01 14:35:18 +02:00
tastybento d0ddf3d9bc Updated 1.13.1 API in POM 2018-08-26 08:46:16 -07:00
Florian CUNY f433ab85bf Version back to 0.9.0-SNAPSHOT 2018-08-25 23:05:24 +02:00
Florian CUNY 12d73b2669 Version 0.9.0-alpha1 2018-08-25 23:03:52 +02:00
Florian CUNY 3ffb434a02 Switching to 0.9.0-SNAPSHOT. 2018-08-19 15:47:47 +02:00
tastybento 3ebbcd87e8 Reworked POM to fix shading in of BStats. 2018-08-16 19:00:01 -07:00
Florian CUNY 4c319dd0e0 Shaded bStats' Metrics
Also removed custom metrics for the moment.
This will later be used to allow addons to register their own metrics :)
2018-08-16 13:49:44 +02:00
tastybento 68624d2879 Removed unused imports. Removed unused classes InventorySave/Store 2018-08-15 20:30:34 -07:00
tastybento 05ca21b0cd Fix for sonar cloud maven plugin version. 2018-08-14 15:01:53 -07:00
tastybento 67d40462bc Code clean up.
Removed commodore for now.
Simplified some return statements.
2018-08-14 08:24:28 -07:00
tastybento 203998d000 Made toLowerCase / toUpperCase use an explicit Locale
This avoids issues on some OS's.

Put in Commodore (but commented out). Just checking it out.
2018-08-12 05:12:14 +09:00
tastybento bcb44c4cce Fixed PlayerManager tests. 2018-08-12 04:14:07 +09:00
Florian CUNY 406441fc1e Version FC-0.92 2018-08-11 15:12:42 +02:00
Florian CUNY 3cd8812ada Version FC-0.9 2018-08-08 13:14:48 +02:00
Florian CUNY 941c81cb6f Updated pom.xml to show everything in Javadocs 2018-08-06 16:00:02 +02:00
Florian CUNY d6da1daa48 Excluded Metrics.java from SonarQube 2018-08-05 11:06:08 +02:00
Florian CUNY b9e3d3306a Also fixed description in pom.xml 2018-08-05 10:30:55 +02:00
Florian CUNY d650d7f7f7 Fixed version in pom.xml 2018-08-05 10:25:35 +02:00
tastybento bad870d3da Reapplied commit to improve Maven.
Fixed test class failure.
2018-08-03 19:10:09 -07:00
tastybento 7aa2f33eab Put default settings for command desc and parameters back in
These should work now. No infinite loop.
2018-08-03 17:43:42 -07:00
Florian CUNY 399a5c1518 Version up FC-0.8
Fixed pom.xml (was still using 1.12.2 API)
Updated plugin.yml (main class)
2018-08-01 11:29:45 +02:00
tastybento 268a301a47 Switch to BentoBox 2018-07-29 13:21:46 -07:00
Florian CUNY 04830f472b Version FC-0.79 2018-07-27 22:56:45 +02:00
Florian CUNY ada19a03f6 Version FC-0.74 2018-07-19 21:40:00 +02:00
Florian CUNY ebd0f82824 Switched from Bukkit API to Spigot API as it has more useful features 2018-07-17 15:16:07 +02:00
Florian CUNY 4f9a68bd03
Updated version to FC-0.7 (70% Feature Complete) 2018-07-12 18:50:37 +02:00
tastybento 70c6b75992 Added island schems
These are pasted as the default islands. I think better ones can be
made!
2018-06-25 20:13:39 -07:00
Tastybento 030e7e44ca Added test classes for Team Kick and Leave.
Fixed bugs in the team classes.

Completed the Island Info command.
2018-05-06 15:24:32 -07:00
tastybento bf5a30e7a1 Added IslandCacheTest WIP
Cleaned up IslandCache, IslandsManager and Island.
2018-04-24 13:18:22 -07:00
Tastybento db58e29ffb Removed MongoDb shading.
Mongo users will need the BsbMongo plugin.
2018-03-31 09:24:00 -07:00
Tastybento 4100edd279 Adds support for MongoDB.
Needs more testing, but seems to work. The main problem is that it pulls
in the MongoDB Java driver which boosts the size of the JAR to 2.3MB. It
may be better to put the Mongo driver into an addon so that only Mongo
users have to have the larger JAR.
2018-03-18 21:54:24 -07:00
Tastybento 58b1867b0d Added to POM to get coverage from Jacco for Sonarcube 2018-02-19 23:22:23 -08:00
Tastybento 382f195015 Added tests to PanelItemBuilder and fixed bugs.
Cleared up the description settings methods. Using these will add to the
description of the item.

Temporarily removed JavaDoc and Source jar creation from the POM to save
time when compiling. Will put it back when we need it.

Also, I worked out how to run the Bukkit server setup for tests. See the
setUp method in the tests. This works (at last).
2018-02-19 09:57:19 -08:00
Tastybento f64dc0aaea Javadoc cleanup. 2018-02-17 17:01:25 -08:00
Tastybento 9715811303 Removed @throws javadoc tag as it is not needed. 2018-02-17 14:54:36 -08:00
tastybento 4fe94bee3b Finished up the place and break block listeners.
There's a lot more that needs to be checked in these listeners! I moved
some common methods into the abstract class because they will be used
again and again by other listeners.

Added an anvil listener.

Added the flags. They were from ASkyBlock so may have name changes.
2018-01-31 15:46:38 -08:00
Tastybento f7b6898559 Added protection methods. 2018-01-28 20:44:57 -08:00
Tastybento 4289a24c56 Improved the panel API.
I'm working on addons and realized it would be a better approach to be
able to register the listener for a panel explicitly for each panel.
This is optional. Also, added the ability to open the panel immediately
for a player.
2017-12-29 09:11:14 -08:00
Tastybento a6f112a93f Cleaning up POM. 2017-12-28 20:37:31 -08:00
Tastybento 452311fb69 Boom! NMS is gone! (Again) Will it come back?
Used reflection to get the command map from the server instead of using
the NMS call.

Also, more importantly, this commit enables CompositeCommands to
auto-register their top-level command in the constructor. No need to
separately obtain the command manager object. Yes, easy API. :-)
2017-12-28 20:36:04 -08:00
Florian CUNY 4fcd6174ad Removed Vault dependency 2017-12-16 18:29:12 +01:00
Florian CUNY 2dff568cb9 Bring back NMS 2017-12-10 09:19:20 +01:00
Tastybento e741c3f5fa Removed AWE reference. 2017-12-09 11:45:08 -08:00
Tastybento 323720598a Removed schematics. 2017-12-09 10:44:09 -08:00
Tastybento 792d1f8ec3 Fixed a lot of bugs
Changed events to be builder types.

Refactored island cache.

Fixed island deletion.

Made island distance chunk (16 blocks) based.
2017-11-20 16:05:52 -08:00
tastybento 7804c4a867 Enabled subcommand addition to BSkyBlock /island command.
This is a bit of a hack. The AbstractCommand class had to be pulled
apart to enable the ArgumentHandler to be imported by another plugin
without the other plugin having to extend AbstractCommand, which is
something it does not want to do because it is not defining a new
command, but just adding arguments. 

There's too much passing of arguments in this implementation, but it
works. I'll see if I can simplify it.
2017-10-09 22:52:57 -07:00
tastybento f515623e26 Implemented command arguments and tabcomplete changes
Args no longer include the sub-command, just the args after the sub
command.

Improved tab complete so that it completes half-written commands

Fixed deprecation issue with visitor guard.
2017-08-05 10:23:45 -07:00
Poslovitch 3a10230824 When building bskyblock, it now specify the version in the name of the file 2017-08-01 14:21:32 +02:00
tastybento c95f149901 Added "library-1.12.jar" to see if it helps Travis compile. 2017-06-10 20:48:32 -07:00
tastybento dcda604e6c Added schematic loading and pasting.
Player can create an island using /island create
Only the default island is supported right now. No GUI.
Uses NMS to paste. Only supported on 1.12.
2017-06-10 16:08:21 -07:00
tastybento aa93c11080 Added MySQL insert code. POJO's can be saved now.
Next job is to write the select code so POJO's can be read.

POJO = Plain Old Java Object.
2017-05-29 19:02:43 -07:00
Florian CUNY 3c86c3e99a Fixed pom.xml
Description and locales resource path were incorrect
2017-05-24 17:23:38 +02:00
tastybento 4be12da452 Changed everything to BSkyBlock 2017-05-20 14:52:52 -07:00
tastybento 712d2a179f Mavenized
Renamed to be BSkyBlock
2017-05-20 14:30:12 -07:00