Commit Graph

320 Commits

Author SHA1 Message Date
tastybento
a6d70d6e90
Release 1.17.3 (#1827)
* 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

* 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.

* Version 1.17.3

* Java upgrade (#1814)

* Version 1.17.3

* Use Map.of and List.of instead of Immutable collections

* Replace explicit type argument.

* Replace lamba with method reference

* Replace condition with Objects.requireNonNullElseGet

* Use String.repeat

* Use new switch expressions

* Use instanceof patten variables which are more compact

* Fuse toUnmodifiableList into stream and return it.

* Remove unnecessary toString() calls.

* Remove unnecessary public

* Extracted common part from if

* Simplify conditional expressions

* Remove unused IOExceptions

* Cast to long

* Use Map.putAll

* Use primitives

* Clarify what is null or not

* Addedd @Serial annotation introduced with Java 14.

* Use Optional.isEmpty instead of !isPresent

* Use flatMap then ifPresent

* Just use Arrays.stream

* Swap map and filter for null with Objects::nonNull

* Use expression lambda

* Update JavaDoc version to 16

* Make spawn protection area square instead of circle.

https://github.com/BentoBoxWorld/BentoBox/issues/1819

* Improve ItemParser code. (#1821)

* Improve ItemParser code.

Add ability to parse text if Material is just a single string.
Add ability to parse player heads.

Add comments to the code.

* Fixes failing test.

* Added deprecation suppression.

* Added Pladdon to loadbefore.

* Prevent bucket duping when scooping obsidian Part 35

https://github.com/BentoBoxWorld/BentoBox/issues/1825

* Warns visitors that PVP is active if they teleport to an island

https://github.com/BentoBoxWorld/BentoBox/issues/1780

* Prevents repeated portaling when nether is disabled. (#1826)

* Prevents repeated portaling when nether is disabled.

https://github.com/BentoBoxWorld/BentoBox/issues/1782

* Fix test

* Hex pr 1820 (#1822)

* Fix @since for subflags. (#1831)

* Add Citizens to Softdepend list for NPC support (#1834)

* Fix color test.

* Set the default game mode when player makes island.

* Corrects JavaDocs link

Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1838

* Update to 3.3.1-SNAPSHOT for shade plugin.

* Package info files for better JavaDocs (#1839)

* Added package info files for better JavaDocs

* Implement Flag icon changing via Locales file. (#1829)

This commit contains 2 changes:
- An option for Flag to use icon that is defined in locales after "icon" string.
- An option for ItemParser to parse icon or return given value, if parsing was not successful.

The flag option is not ideal, but it is simpler and easier to maintain then adding new config section where icons can be changed, as the locales file already contains a lot of info about each flag.

* Support glowing ink in blueprints (#1842)

Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1837

* Panel template (#1841)

* Implement basic functionality to read data from template panels.

Create TemplateReader class that has static method which generates a PanelTemplateRecord. This record contains every necessary information from user created template file so everyone could use it to generate a functional panel.
These classes are just for reading templates and do not create actual panel.

* Add template clearing via bentobox reload command.

* Fix version command to show addon state.

* Fix German flag banner description.

Added more debug around error reporting.

* Make variables final if they can be. (#1843)

* Make variables final if they can be.

* Do not use final so that test can pass.

For testing, we use a trick to set this variable, but it won't work if
it is final. Right now, I'd like to keep the test.

* Static code analysis (#1844)

* StringBuffer (Java 5) may be declared as StringBuilder

* Replace map with flatMap

* Use instanceof naming

* No need to specify paramter types.

* Remove verbose code

* Fix JavaDoc issues

* Make internal class a record.

* Remove unused import.

* Make internal class a record.

* Made internal class a record.

* Removed unused import

* Fix typos

* Fix typo in test.

* Prevent home teleport when already home teleporting

Home teleporting is async so it's possible to issue the command multiple
times. This puts a flag in so that if a playeer is mid-teleport, then
issuing the go command will just repeat the text that the player is
teleporting home.

https://github.com/BentoBoxWorld/BentoBox/issues/1637

* Extracted island info from the Island object.

This is in preparation to have a different info for players than admins.

https://github.com/BentoBoxWorld/BentoBox/issues/1501

* Slimmer trimmer island info for players.

https://github.com/BentoBoxWorld/BentoBox/issues/1501

* Fixes coop and trust invites when team invites are not allowed

If a member or sub-owner has coop or trust invite capability and not
team invite rank, and confirm invites is on, then the invites were not
working.

Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1452

* Remove invulnerable visitor protection if island is in PVP mode

We now have alerts if a player teleports to a PVP island.

https://github.com/BentoBoxWorld/BentoBox/issues/668

* Fixes NPE in admin tp if nether or end worlds don't exist.

* Adds arrow sound when teleporting into a PVP island.

* Fix PVPListenerTest

Visitors are no longer invincible when on a PVP island.

* Fix test failure in InvincibleVisitorsListenerTest

* Minor JavaDoc correction.

* Go command was not working second time.

* Prevents console errors for missing icons in locale files.

* Fixes PlAddon disabling issue. (#1847)

There was a bug that did not unload PlAddon classes from JVM.
This change should fix it, as it will unload PlAddons via pluginLoader.

* Clear code - set worlds once on construction.

* Fixes a bug when Potion metadata was not applied (#1849)

There was missing potion meta data applying after creating an item. 
This affects both: Potions and Tipped arrows.

* Adds force-shown lines to the template. (#1850)

* Adds force-shown lines to the template.
Fixes a bug when template type was not selected correctly.
Changes "name" to "title" for border and background icons.

* Create TemplatedPanel and TemplatedPanelBuilder.

TemplatedPanel uses PanelTemplateRecord to create a functional panel.
Builder contains button builder callbacks that are used to create buttons with custom data.

* Use final vars for lambdas to avoid them changing async

The processes could run async, especially when chunk loading took a
while, so using fields that could change would result in blocks being
missed, especially in the nether or end. Switching to final vars avoids
this.

Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1840

* Remove travis.

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-09-10 18:39:16 -07:00
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
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