Commit Graph

2611 Commits

Author SHA1 Message Date
tastybento
9bc4bdf658 Changed sonarcloud organization bentobox-world 2019-10-29 19:08:12 -07:00
tastybento
b9a04bcf57 Added protection around addon onDisable().
https://github.com/BentoBoxWorld/BentoBox/issues/1018
2019-10-29 17:52:24 -07:00
tastybento
9ff2eda576 Avoid setting banner pattern if none exist (null)
https://github.com/BentoBoxWorld/BentoBox/issues/1016
2019-10-29 17:44:45 -07:00
Florian CUNY
d76049ac4f
Fixed the Sonarcloud badges in README 2019-10-29 11:42:06 +01:00
Florian CUNY
633f3aeeb5
Fixed the javadoc link in the README (again) 2019-10-29 11:35:54 +01:00
Florian CUNY
e7c1553392
Fixed javadocs link in README 2019-10-28 22:02:22 +01:00
Florian CUNY
6607060b99 Added a "reset all the settings" button to the player Settings Panel
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1011
2019-10-28 17:42:43 +01:00
Florian CUNY
5ef74bd0f4 Fixed some code smells 2019-10-28 10:04:44 +01:00
tastybento
a27f54a6f7 Fixes tests for IslandTeamCommand 2019-10-27 13:26:22 -07:00
Florian CUNY
6d3e5914a9 Added white color to the "Next Page" and "Previous Page" texts in en-US 2019-10-27 13:46:52 +01:00
Florian CUNY
85b45df13b Improved the IslandTeamCommand: added last joined timestamp for offline team members
Redid the whole layout - it looks much nicer now!
Implements https://github.com/BentoBoxWorld/BentoBox/issues/997
2019-10-27 13:35:29 +01:00
tastybento
1304f8bace Makes SQLite deletion of non-existent items fail silently
Adds JavaDoc to make this clear.

https://github.com/BentoBoxWorld/BentoBox/issues/1010
2019-10-26 11:56:12 -07:00
tastybento
d5d6f20bb9 Remove imports 2019-10-25 17:31:24 -07:00
Florian CUNY
ca6ab33898 Added javadoc since tags for the newly added methods in PanelItem and builder
Also improved the #isPlayerHead() methods
2019-10-24 14:12:16 +02:00
YellowZaki
87ea48443f Added ability to have player heads with custom name (#1007)
* Added new attribute playerHeadName

* Added method PanelItem#getPlayerHeadName() and PanelItemBuilder#getPlayerHeadName()

* Added playerHeadName attribute

* getPlayerHeadName instead of getName
2019-10-24 14:00:14 +02:00
Florian CUNY
551975d6c9 Added Credits GUI for addons and BentoBox
Implements https://github.com/BentoBoxWorld/BentoBox/issues/993
2019-10-24 13:56:06 +02:00
Florian CUNY
856572941e Removed no longer needed allow-nether and allow-end warnings
Fixed https://github.com/BentoBoxWorld/BentoBox/issues/977
2019-10-22 09:45:37 +02:00
Florian CUNY
6ed1212e47
Improved the island creation feedback messages
Based on advice from @wellnesscookie, I made these messages feel more welcoming to the user.
2019-10-21 23:07:03 +02:00
Florian CUNY
8692685822 Improved user feedback when pasting (creation/reset) an island
Implements https://github.com/BentoBoxWorld/BentoBox/issues/996
2019-10-21 17:55:35 +02:00
Florian CUNY
ba35d7c062 Simplified methods in BlueprintPaster
There wasn't the need for that many parameters in each method.
2019-10-21 15:20:02 +02:00
NotMyFault
947f9fb997 Generalize protection messages (#1001)
Implements #1000
* Generalize protection flag messages and rewrite some entries

* Fix enchantment name
2019-10-20 20:18:51 +02:00
NotMyFault
df9b3f75dd Set the bentobox.version permission default value to op (#1004)
Fixes #1002
2019-10-20 18:11:16 +02:00
Florian CUNY
95d3408edc Version up 1.9.0 2019-10-20 15:26:18 +02:00
Florian CUNY
cc3d5f33cc Release 1.8.0 2019-10-20 15:15:18 +02:00
Florian CUNY
0655b338bd Merge branch 'develop' 2019-10-20 15:03:06 +02:00
Florian CUNY
a904882726 Removed the long-deprecated Flags#TNT flag
It was deprecated as of 1.5.0.
2019-10-20 14:57:57 +02:00
Florian CUNY
4f297614a3 Fixed DYE signs protection not working on most recent 1.14 versions
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/999

I simply removed the server compatibility check right away, since we're expected to be full 1.14 as of a few versions already.
2019-10-20 14:56:54 +02:00
Florian CUNY
24d6b15340 Fixed MySQLDatabaseHandlerTest 2019-10-20 09:31:40 +02:00
Florian CUNY
3fd92f05e8 Improved error handling when establishing a MongoDB connection
Also improved the "error" messages when the credentials in the config are not correct.
2019-10-19 22:57:19 +02:00
Florian CUNY
03e87ec4d4
Put BentoBoxWorld PaypalMe link in FUNDING.yml 2019-10-19 22:19:02 +02:00
tastybento
c67f1ac48b Made method calls more robust.
Calling these methods using a valid world but one that was not a
gameworld created an NPE. Now they respond with a default value.
2019-10-19 11:32:18 -07:00
tastybento
784988ca54 Test class cleanup. Use Bukkit direct calls instead of Bukkit.getServer 2019-10-18 19:33:24 -05:00
tastybento
02e8243bd0 Fixed admin register of spawn island.
https://github.com/BentoBoxWorld/BentoBox/issues/991
2019-10-18 19:32:54 -05:00
tastybento
bee960d823 Fixes invites.
https://github.com/BentoBoxWorld/BentoBox/issues/988

Adds test classes for IslandTeam command and redoes
IslandTeamInviteCommand test class.
2019-10-17 20:43:01 -07:00
NotMyFault
0d5ff1eaf4 Add cake protection flag (#986)
Implements #987.

* Add cake protection flag

* Improved CONTAINER flag description
2019-10-17 07:41:34 +02:00
tastybento
595de7a602 Waits until blueprints loaded before firing BentoBoxReady event
https://github.com/BentoBoxWorld/BentoBox/issues/985
2019-10-13 21:02:25 -07:00
Leonardo Chaia
2484421d92 Allows customizing where islands are created (#984)
Implements https://github.com/BentoBoxWorld/BentoBox/issues/983.

* Allows customizing where islands are created

NewIsland receives a new interface which determines the location
where the next island will be created

A default implementation is provided which mirrors the previous behavior

* Adds autors to DefaultNewIslandLocationStrategy

Co-Authored-By: Florian CUNY <poslovitch@bentobox.world>

* Improves Javadocs

Co-Authored-By: Florian CUNY <poslovitch@bentobox.world>
2019-10-13 16:11:59 +02:00
Florian CUNY
a080e4f4c4 Fixed crashing tests 2019-10-13 10:39:27 +02:00
Florian CUNY
77e0f01510 Added options to reset player's health, hunger and XP
Implements https://github.com/BentoBoxWorld/BentoBox/issues/958

Added the following methods in WorldSettings and IslandWorldManager:
* #isOnJoinResetHealth()
* #isOnJoinResetHunger()
* #isOnJoinResetXP()
* #isOnLeaveResetHealth()
* #isOnLeaveResetHunger()
* #isOnLeaveResetXP()
2019-10-13 10:29:32 +02:00
Florian CUNY
6dffdd142f
Added GitHub "Sponsor" 2019-10-13 10:02:48 +02:00
tastybento
6f96f47ae5 Adds invites to trust and coop (#971)
Implements https://github.com/BentoBoxWorld/BentoBox/issues/800

* WIP

* Generic invites for team, coop and trusting.

Needs play testing.

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

* Fixed tests and added handling in trust and coop commands

* Completes invite, trust and coops command and tests.

* Minor documentation/settings improvements

* Renamed InviteType to Invite.Type

* Fixed compilation error
2019-10-13 09:28:49 +02:00
tastybento
d27ea949d0 Fixes potential error in asyncSaveAll of players
https://github.com/BentoBoxWorld/BentoBox/issues/982
2019-10-11 08:39:45 -07:00
tastybento
7d8539b4cd Should fix CHM error in asyncSaveAll
https://github.com/BentoBoxWorld/BentoBox/issues/982
2019-10-11 08:36:23 -07:00
tastybento
e9e10eed75 Fixes island near command for team members.
https://github.com/BentoBoxWorld/BentoBox/issues/981
2019-10-10 08:14:00 -07:00
tastybento
6085deff49 Clears home locations when admin kicking a player
https://github.com/BentoBoxWorld/BentoBox/issues/980
2019-10-09 12:57:29 -07:00
tastybento
2db926f640 Spreads out backup database saving to avoid lag
https://github.com/BentoBoxWorld/BentoBox/issues/976
2019-10-07 16:16:26 -07:00
Florian CUNY
27647da6f4 Force the Blueprint name to be lowercased using English locale 2019-10-05 22:22:25 +02:00
tastybento
94ff2ebf75 Tie banned falling command to world flag and fix bugs
https://github.com/BentoBoxWorld/BentoBox/issues/863
2019-10-03 14:11:32 -07:00
tastybento
215c79d74d Now with a fall distance check!
https://github.com/BentoBoxWorld/BentoBox/issues/863
2019-10-03 13:42:40 -07:00
tastybento
42ba6dcc50 Adds banned commands when falling to WorldSettings
To complete the functionality, the addon will need to overrider the
banned falling command method

https://github.com/BentoBoxWorld/BentoBox/issues/863
2019-10-03 13:34:03 -07:00