Commit Graph

269 Commits

Author SHA1 Message Date
tastybento
ed4cc0eb8b Update to 3.3.1-SNAPSHOT for shade plugin. 2021-08-29 13:00:48 -07:00
tastybento
27e9c9c54f Update JavaDoc version to 16 2021-07-31 10:16:23 -07:00
tastybento
f89050fe2f Version 1.17.3 2021-07-25 10:54:19 -07:00
tastybento
1a7b7cdeb7
1.17.2 Release (#1812)
* Version 1.17.2

* Add alternative Addon#getIslandManager method (#1797)

We have already done this to the main BentoBox class. But add-ons missed it, and it still has this weird structure: Addon#getIslands().getIslands().

This will just add the same method as it is already in BentoBox class.

* Fix bucket dupe (#1806)

Fix https://discord.com/channels/272499714048524288/310623455462686720/867790395442462760

* Removes unneeded exploit protection code for skulls (#1810)

This no longer seems to be required with 1.17.1

https://github.com/BentoBoxWorld/BSkyBlock/issues/430

* Quote filename of addon that cannot be loaded.

Provides a better understanding of which addon failed.

* Remove update when pasting chest.

Co-authored-by: BONNe <bonne@bonne.id.lv>
Co-authored-by: Fredthedoggy <45927799+Fredthedoggy@users.noreply.github.com>
Co-authored-by: Justin <jstnf@users.noreply.github.com>
Co-authored-by: gecko10000 <60494179+levtey@users.noreply.github.com>
2021-07-25 10:52:03 -07:00
tastybento
09d6a9fc6f Version 1.17.2 2021-07-14 08:03:02 -07:00
tastybento
376ac167e8
Version 1.17.1 (#1796)
* Version 1.17.1

* Add homes command to default player options.

* Implements better online player counter. (#1791)

Current one is based on online player count when bStats sends data to the server.
This one will send data about amount of players who logged in the server.

* Add Boxed Gamemode to the list. (#1793)

* Add Bank addon (#1792)

* Add Holographic Displays as SoftDepend for AOneBlock (#1794)

* Custom date time format support for /<admin> info <player> (#1783)

Fixes #1720

* Parent/sub-flag support, split up and designate CONTAINER flag as parent flag (#1784)

* Split CONTAINER flag into multiple flags

CONTAINER split into
- CONTAINER (Chest/Minecart Chest)
- BARREL (Barrel)
- COMPOSTER (Composter)
- FLOWER_POT (Flower Pot)
- SHULKER_BOX (Shulker Box)
- TRAPPED_CHEST (Trapped Chest)

Fixes #1777

* Add subflag support

* Create container parent flag, chest subflag

* Remove extra string from when CHEST was CONTAINER

* Fix incorrect flag specified on fired event in IslandToggleClick

* Add missing world subflag event firing

* Remove extra import

* Add world setting flag for island visitors keep inventory (#1785)

* Implement 3 bar charts: addons, gamemodes, hooks (#1790)

BStats supports sending Bar chart data, however, it does not display it via their site directly.
It can be called manually, to view.

PieChart does not work very well for addons and hooks. BarChart however allows viewing each addon separately. 

This change allows sending data to the server about bar charts.

* Update action versions

* Declare distribution - adopt

* Cache Java Maven files differently.

* Try dependency for shade snapshot

* Add support for Minecraft 1.17.1

* Fix test by incrementing listener value check

There is a new listener now.

* Spigot 1.17.1

* Fix test for InventoryListener

* Re-order repos.

* Downgrading to 1.17 Spigot for now to enable building.

* Try pluginRespositories tag in POM to enable Github actions

Co-authored-by: BONNe <bonne@bonne.id.lv>
Co-authored-by: Fredthedoggy <45927799+Fredthedoggy@users.noreply.github.com>
Co-authored-by: Justin <jstnf@users.noreply.github.com>
2021-07-10 18:27:57 -07:00
tastybento
9cdebe8f9f Try pluginRespositories tag in POM to enable Github actions 2021-07-08 17:18:59 -07:00
tastybento
03f6b95a68 Downgrading to 1.17 Spigot for now to enable building. 2021-07-06 18:40:38 -07:00
tastybento
e1c08107c2 Re-order repos. 2021-07-06 18:16:21 -07:00
tastybento
ce4b124279 Spigot 1.17.1 2021-07-06 14:55:48 -07:00
tastybento
3450bae8f0 Try dependency for shade snapshot 2021-07-06 14:07:18 -07:00
tastybento
1ee83cd782 Version 1.17.1 2021-06-27 16:50:23 -07:00
tastybento
c2e832095a
Minecraft 1.17 support (#1781)
* Java 16 preliminary branch.

This compiles, but junit tests fail all over because there is a lack of
Java 16 support right now.

* Use Java 16

* 1.17 WIP

* Require 1.17

* Fixes tests.

* WIP fixing tests

* Exclude maven from shading

* Try update snapshots to build action

* Try repo on command line

* Remove reference to shade plugin in dependencies
2021-06-20 12:18:10 -07:00
tastybento
d647f58e36 Version 1.17.0 2021-05-31 12:44:01 -07:00
tastybento
a1a78de96f Version 1.16.3 2021-05-22 16:37:51 -07:00
tastybento
10a51a5874 Use https for placeholder api repo 2021-05-11 21:36:03 -07:00
tastybento
1bc58facee Version 1.16.2 2021-03-20 08:07:25 -07:00
apachezy
0f0d8b9ebc
Added LangUtils support. (#1693) 2021-03-12 20:04:34 -08:00
tastybento
9f9dc40773 Version 1.16.1 2021-03-07 11:53:12 -08:00
Huynh Tien
2886c1ec21
Update PaperLib to 1.0.6 (#1676) 2021-02-07 16:53:29 +01:00
Florian CUNY
82f3375459 Updated bStats to 2.1.0
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1664
2021-01-30 15:39:21 +01:00
Florian CUNY
9e62f831ff Updated PlaceholderAPI dependency to 2.10.9 2021-01-16 10:50:29 +01:00
Florian CUNY
15eb5e51e3 Updated bStats to 1.8 2021-01-16 10:22:23 +01:00
tastybento
be683f8e21 Version 1.16.0 2021-01-03 18:03:21 -08:00
tastybento
c465fd1fed
Enables Java 11 code to run on Java 8 (#1631) 2021-01-03 09:08:35 -08:00
tastybento
13b2551a38 Version 1.15.5 2020-12-31 09:55:52 -08:00
tastybento
385345f493 Remove duplicated dependency 2020-12-27 11:44:26 -08:00
tastybento
98697b1686
Delete experiment (#1589)
* Try loading adjacent chunks, but too slow.

* NMS void delete

* Revert the extra chunk in IslandDeletion.

That was for another deletion approach.

* Added NMS abstraction.

* Debug

* Clearer code.

* Clarify exceptions
2020-12-19 10:29:26 -08:00
tastybento
d9e3d818ea Version 1.15.4 2020-12-06 09:26:15 -08:00
tastybento
e9c35b8548 Version 1.15.3 2020-11-14 11:10:02 -08:00
tastybento
423a29de0e Revert "Version 1.15.3"
This reverts commit 759d8083a4.
2020-11-07 16:14:40 -08:00
tastybento
759d8083a4 Version 1.15.3 2020-11-07 11:35:17 -08:00
tastybento
ccb46dc72c Version 1.15.2 2020-10-26 16:41:59 -07:00
tastybento
dae720d29c Version 1.15.1 2020-09-07 10:26:57 -07:00
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