Florian CUNY
fa1325bf14
Fixed IslandSethomeCommandTest
2019-02-20 11:20:14 +01:00
BONNe
f5bbe35bd8
Fixed members not being able to set homes ( #569 )
...
#538
It happened because IslandManager#hasIsland(World,User) returns true only if island is owned by player, team members will always gets false, as they do not directly own an island.
2019-02-20 10:49:18 +01:00
tastybento
bce30ce83d
Fix to include team members.
...
96dda2c96d (r32386838)
2019-02-19 23:46:53 -08:00
tastybento
96dda2c96d
Fixed portal teleportation listener
...
The reason the test was failing was because the check on whether the
player had an island or not was not being done. I added the check back
in. So now, if a player has no island, the portal will just do nothing.
2019-02-19 23:27:11 -08:00
tastybento
e56d6715af
Fixed default help command test class
2019-02-19 23:03:17 -08:00
tastybento
dfc667953f
Fixed team kick test class
2019-02-19 22:49:48 -08:00
BONNe
34b2440117
Fixed owners who could not kick team members ( #567 )
...
So, UUID cannot be compared with == and !=. It should be always use UUID#equals(UUID) method.
2019-02-19 23:30:37 +01:00
BONNe
a505a3cede
Hopper, Furnace and Chest Minecarts are now protected by proper flags ( #565 )
...
#550
* Implement HopperMinecart, ChestMinecart and FurnaceMinecart protection by proper flags (#550 ).
* Add proper Minecart while checking player interact at entity event.
Minecraft flag should affect RidableMinecrat.
Added ExplosiveMinecart and CommandMinecart to avoid their usage, as they are not protected by other flags.
* Fixed the "basic" Minecart protection
2019-02-19 21:46:08 +01:00
Florian CUNY
9b1e955d18
Added Flags#FLINT_AND_STEEL, Flags#FIRE_BURNING, Flags#FIRE_IGNITE and removed Flags#FIRE + fixed Flags#FIRE_SCOOPING description in en-US locale
...
Closes #414
commit 0b551d174289ea1b75e55f0f4d268592a716f66f
Author: Florian CUNY <poslovitch@bentobox.world>
Date: Tue Feb 19 10:50:08 2019 +0100
Updated FireListenerTest
commit 3f2cc83037e1994a686bacd4d8541eece8c9dc53
Author: Florian CUNY <poslovitch@bentobox.world>
Date: Tue Feb 19 10:40:46 2019 +0100
Added descriptions in en-US for FIRE_BURNING, FIRE_IGNITE and FLINT_AND_STEEL
commit 880df9e904a0121804a73c2fcb40b9faa2aa290b
Author: Florian CUNY <poslovitch@bentobox.world>
Date: Tue Feb 19 10:35:54 2019 +0100
Fixed description of FISH_SCOOPING
commit 02259b0f8fdad31e7431d4d525b74bee6b499813
Author: Florian CUNY <poslovitch@bentobox.world>
Date: Tue Feb 19 10:34:54 2019 +0100
Improved description of FIRE_SPREAD
commit 92c5d137d8fb114dacdebc32626e04a5ee16982b
Author: Florian CUNY <poslovitch@bentobox.world>
Date: Tue Feb 19 10:30:17 2019 +0100
Added Flags#FIRE_BURNING and Flags#Fire_IGNITE
These are SETTING flags
commit 0be4a87c1986a55a15fa16e87e4073921a269e34
Author: Florian CUNY <poslovitch@bentobox.world>
Date: Tue Feb 19 10:21:52 2019 +0100
Added Flags#FLINT_AND_STEEL
#414
2019-02-19 10:56:11 +01:00
Florian CUNY
095237cd5d
Flags#values() will no longer return deprecated flags
...
Deprecated Flags are flags that will be removed. It is therefore better to not return them in this method.
2019-02-19 10:09:45 +01:00
Florian CUNY
66de769bb0
Added Island#getVisitors() and Island#hasVisitors()
2019-02-18 21:53:48 +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
8e21785811
Added 'pardon' as an alias in IslandUnbanCommand
2019-02-17 21:11:51 +01:00
Florian CUNY
b9bc394945
Ignored failing tests
2019-02-17 15:10:40 +01:00
Florian CUNY
9174410998
Added 'options' as another alias to IslandSettingsCommand
2019-02-17 15:10:30 +01:00
Florian CUNY
dd467f27be
Added the 'all players selector' to AdminResetsResetCommand#tabComplete(...)
2019-02-17 15:10:08 +01:00
Florian CUNY
dfc1f46730
Forgot to remove debug and commented-out code
2019-02-17 14:46:26 +01:00
Florian CUNY
028785c4b0
Fixed end portal not linking to normal end world
...
Fixes #306
2019-02-17 14:29:12 +01:00
tastybento
bce17ce467
Added admin trash command to handle damaged island db ( #546 )
...
* WIP - adds admin commands to handle damaged island db
Trash, purge, etc.
DO NOT MERGE YET
https://github.com/BentoBoxWorld/BentoBox/issues/505
* Prefixes the island uniqueId with the game mode name.
This enables manual removal of old game mode island files from the
database by admins if required.
* Adds Admin trash and empty trash commands
* Adds various commands for trash management
* Remove unused imports
* Forgot the javadoc in IslandsManager
2019-02-17 13:32:05 +01:00
tastybento
063303ad0e
Adds admin command to reset all island flags to default
...
Used when an admin wants to change the default flag settings for all
islands and reset every one in the world.
2019-02-16 22:31:46 -08:00
Florian CUNY
af6ec400d1
Fixed tests
2019-02-16 22:58:46 +01:00
Florian CUNY
658bd10e5c
Removed unused imports in PortalTeleportationListener
2019-02-16 22:51:17 +01:00
Florian CUNY
edd774d979
Merged Standard and Island Nethers portal handling in the same method
2019-02-16 22:48:05 +01:00
DarkRails
781676a90f
Remove inventory clear in any case ( #553 )
...
Before this change, the inventory was cleared in any case even if inventory clear is set to false in configuration
2019-02-16 11:43:39 -08:00
Florian CUNY
3aefdc449d
Renamed NetherPortals to PortalTeleportationListener
...
It is a way more explicit and conventional name, in my opinion!
2019-02-16 11:17:48 +01:00
Florian CUNY
a364128c5e
Extracted standard nether/end spawns protection into its own listener
...
It was previously handled in the NetherPortals listener
2019-02-16 11:09:34 +01:00
Florian CUNY
5d7a7a0363
Ignoring NetherTreesListenerTest for now
2019-02-16 10:59:30 +01:00
Florian CUNY
9803a02471
Added NonNull to all listeners constructors
2019-02-16 10:58:25 +01:00
Florian CUNY
16c4c9b0be
Revert "Fixed errors in tests"
...
This reverts commit b7f9892d95
.
2019-02-16 10:48:41 +01:00
Florian CUNY
0d7836ff12
Revert "Made each "basic" listeners register themselves on instanciation"
...
This reverts commit 53137b526d
.
2019-02-16 10:48:39 +01:00
Florian CUNY
44729ae9cb
Moved NetherTreesListener to the correct package
2019-02-14 11:34:33 +01:00
Florian CUNY
b7f9892d95
Fixed errors in tests
...
However, tests are still failing!
2019-02-14 11:32:16 +01:00
Florian CUNY
53137b526d
Made each "basic" listeners register themselves on instanciation
2019-02-14 11:24:58 +01:00
Florian CUNY
7ac5f556a1
Started NetherTreesListenerTest
...
I haven't worked that much on it yet. I've got tons of other things to do!
2019-02-14 11:13:00 +01:00
Florian CUNY
1eac578ba1
Moved the Nether trees conversion to its own listener
2019-02-14 11:08:54 +01:00
Florian CUNY
1a3049b3b9
Fixed code smells
2019-02-14 10:41:39 +01:00
Florian CUNY
6b0b0237cd
Removed unused import
2019-02-13 11:12:06 +01:00
Florian CUNY
a1d8c69556
Added BentoBox#logStacktrace(Throwable)
2019-02-13 11:03:26 +01:00
Florian CUNY
d5750ca509
Removed 'duplicate' log in AddonsManager#handleAddonError()
2019-02-13 10:51:12 +01:00
tastybento
58253eb7d7
Implements gamemode-specific flags API ( #541 )
...
* Implements gamemode flags API
https://github.com/BentoBoxWorld/BentoBox/issues/406
* New and improved
2019-02-13 07:58:33 +01:00
tastybento
f89419f3d8
Made declaring the player mandatory when calling FlagListener#checkIsland(...) ( #543 )
...
* WIP - See FlagListener.java for changes
Makes declaring the player mandatory for checkIsland method so it cannot
be forgotten and will be fresh every check.
See BlockInteractionListener for how it will look.
* Update src/main/java/world/bentobox/bentobox/api/flags/FlagListener.java
Co-Authored-By: tastybento <tastybento@users.noreply.github.com>
* Update src/main/java/world/bentobox/bentobox/api/flags/FlagListener.java
Co-Authored-By: tastybento <tastybento@users.noreply.github.com>
* Adjusted all the flags to new API
2019-02-13 07:55:36 +01:00
tastybento
3ca0c440e4
Sets initial home location in middle of block
2019-02-12 20:03:02 -08:00
Florian CUNY
c2a7ca86ff
Fixed some code smells
2019-02-12 20:29:20 +01:00
Florian CUNY
7893c03a64
Merge branch 'github' into develop
2019-02-12 16:44:36 +01:00
Florian CUNY
7e0ea8d945
Added WebManager
2019-02-12 16:24:51 +01:00
Florian CUNY
3fb60480ff
Added AddonDescription#getRepository()
2019-02-12 16:11:11 +01:00
Florian CUNY
68b7702b1c
Made AddonClassLoader#asDescription() use 'false' as getBoolean("metrics")'s default value
2019-02-12 16:09:20 +01:00
Florian CUNY
592e144ef0
Removed useless super(); in RanksManager's constructor
2019-02-12 16:08:20 +01:00
Florian CUNY
7fa72fdb81
Added NonNull to FlagsManager#plugin
2019-02-12 16:07:58 +01:00
Florian CUNY
9d41991c75
Added API to get data from GitHub's Web API
...
This took me quite a long time, but I did it!
2019-02-12 15:34:26 +01:00