Commit Graph

235 Commits

Author SHA1 Message Date
tastybento
514af670bc Reordered dependency.
On Eclipse, the order matters for JavaDoc mouse-over references. Without
the API dependency first, there are no JavaDocs.
2020-08-30 09:19:20 -07:00
Paul Baird
01c2c30621
Added support to hide Vanished players from Teams (#1499)
* Rework to see if player is online

* Maybe fix & disable tests

* Fix pom.xml

* Fix pom.xml

* Re-add lines to pom.xml

* Check if isn't trusted

* Possibly disable testing, disable last online for teams

* Actually disable testing now?

* Add back dependencies

* Added trusted-layout

* Added individual translation for Coop

* Rebase pom.xml

* Formatted code correctly

* Use correct methods

* Possible fix for always offline

* Another test

* Solved always offline issue

* Cleaned up code & adjusted locales
2020-08-23 14:52:06 -07:00
Florian CUNY
5f916ab8e2 Version up 1.15.0 2020-07-13 23:02:05 +02:00
BONNe
fa259611fe
Rework PlayerHead Getter. (#1446)
* Rework PlayerHead Getter.

Generate player head based on WebAPI (as it is faster) and GameProfile texture (require NMS).
Cache is suitable for storing into file format.
Add ability to add custom HeadCache object into local cache.
Add ability to modify cache keeping length.
Add ability to keep all, or just a single element into cache until server restart.

* Address issues/improvements suggested from review.

- config will store time in minutes.
- default value will be 1h.
2020-07-11 14:13:32 +02:00
Florian CUNY
44903e98cb Version up 1.14.1 2020-07-07 22:30:30 +02:00
tastybento
b87533fffb
Introducing (limited) 1.16.1 support (#1416)
* 1.16.1 changes

* Fixed failing tests in PhysicalInteractionListener
HOWEVER, the code somehow no longer protects the pressure plates... I'm investigating that.

* Implemented future-proof buttons, doors, fence gates, trapdoors protection

* Protected REDSTONE_WIREs under "REDSTONE" flag
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1421

* Fixed bug with pressure plates

* Fixed params order in assertEquals in PhysicalInteractionListenerTest

* Fixed EnderChestListenerTest errors

* Fixed most errors in BlockInteractionListenerTest

* Added 1.16.1 to ServerCompatibility

* Fixed BlockInteractionListenerTest

* Fixed backwards compatibility in BlockInteractionListener
Also made use of existing Tags (ANVIL, BEDS, SHULKER_BOXES)

* Fixed BlockInteractionListenerTest (again)

* Fixed backwards compatibility in PhysicalInteractionListener

Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
2020-06-26 22:09:33 +02:00
Florian CUNY
4b9d0edd97 Version up 1.14.0 2020-05-01 18:28:42 +02:00
tastybento
eeab8994f7 Updated jacoco version. 2020-04-22 18:23:29 -07:00
Florian CUNY
962b7d734a Removed MVdWPlaceholderAPIHook and all related methods
It was increasingly causing issues, ranging from long start times, unreliability with some of our placeholders, to much more...
There's a way for MVdWPAPI users to get PAPI's placeholders, so they should definitely use that instead.
2020-04-04 15:38:29 +02:00
Nassim
a36ddf5a73
Improved/Fixed experience pickup flag on Paper servers (#1256)
* Fixed experience pickup flag

* Added since and author javadoc tags

Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
2020-04-02 10:43:49 +02:00
Florian CUNY
592965a50e Updated PlaceholderAPI dependency to 2.10.5
They added an (optional) new parameter to their setPlaceholders(...) methods. See this commit for reference: 2dbf69a74e.
2020-03-30 15:32:00 +02:00
Florian CUNY
1d1f8a7e48 Version up 1.13.0 2020-03-21 13:23:46 +01:00
NotMyFault
530a76b0a8
Improve bStats playersPerServer chart (#1225)
Updated bStats to 1.7.
Removed the "metrics" config option as it is now part of bStats's own `config.yml`.
2020-03-18 08:32:35 +01:00
Florian CUNY
14e42dc9ad Version up 1.12.0 2020-02-15 11:36:21 +01:00
Florian CUNY
835ffe12d8 Updated Spigot dependency to 1.15.2 2020-02-13 10:34:37 +01:00
Florian CUNY
1baea6f321 Excluded Google's GSON from shading 2020-02-13 10:34:11 +01:00
Florian CUNY
86fc567ee5 Version up 1.11.1 2020-01-26 14:28:46 +01:00
Florian CUNY
9cc95c470d Another try to exclude Google's GSON from being shaded in BentoBox 2020-01-26 13:37:40 +01:00
Florian CUNY
13dc39bff6 Exclude Google's GSON from being shaded into BentoBox 2020-01-26 12:01:49 +01:00
tastybento
5ab5954f47
Postgres implementation (#1142)
* WIP for https://github.com/BentoBoxWorld/BentoBox/issues/1093

* JSON based PostGresql

* Completes PostgreSQL suport

* Changed Postgres connector comments

* Put back rest of Postgres jdbc URL

* Update PostgreSQLDatabaseHandler.java
2020-01-23 07:56:30 -08:00
tastybento
3897c78478 Back to JDK8. Try again in a few months. 2020-01-13 18:11:04 -08:00
tastybento
fc3d15d975 Updated javadoc maven plugin to 3.1.1 2020-01-13 16:57:38 -08:00
tastybento
f6850e1688 Try Java 11 but without specifying javadoc tool explicitly. 2020-01-13 10:59:47 -08:00
tastybento
0ac9dda75e Back to JDK8
Deploy fails even though duplicate javadoc and sources no longer
created.
2020-01-12 17:41:48 -08:00
tastybento
bcbdb70cee Try JDK11 again 2020-01-12 17:25:33 -08:00
tastybento
bcce54cedc Put javadoc and source into install maven phase 2020-01-12 17:07:08 -08:00
tastybento
13d7ce2df8 Reverting to JDK8 to try to get CI to deploy javadocs 2020-01-12 16:20:42 -08:00
tastybento
ec3edec63f Added source plugin to maven 2020-01-11 08:50:26 -08:00
tastybento
b2c96b16a0 Try maven javadoc change to fix CI deployment 2020-01-10 17:48:54 -08:00
tastybento
63e6a88eb1 Updated maven install and deploy plugins to try and fix CI deploy issue 2020-01-10 16:14:00 -08:00
tastybento
d8e774f077 Use later maven-javadoc-plugin version to try and fix CI build issue 2020-01-10 15:50:38 -08:00
tastybento
7a7641354f Compiling under Java 9+ (#1112)
* Compiles in Java 11

* Compile under Java 11 only.
2020-01-10 23:12:37 +01:00
Florian CUNY
958bafdabf Version up 1.11.0 2020-01-05 12:55:29 +01:00
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