Commit Graph

185 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