tastybento
46bb958a6d
Added protection against turtle egg crushing.
...
Added test class for physical interactions.
EWR -> DEN
2018-11-30 18:49:58 -05:00
tastybento
c88ea31237
Fixes tab complete error with no island.
...
EWR -> DEN
2018-11-30 17:39:24 -05:00
tastybento
0bd800ac09
Added test class for BentoBoxLocale
...
United flight LAS -> EWR almost in New York
2018-11-29 13:05:32 -08:00
tastybento
98264f03d0
Fixed armor stand moving by rods.
...
https://github.com/BentoBoxWorld/bentobox/issues/350
Added test cases, but more to add.
2018-11-20 14:29:56 -08:00
tastybento
ffd1af5867
Removes coop on logout of cooped player or server shutdown.
...
https://github.com/BentoBoxWorld/bentobox/issues/335
2018-11-20 12:52:12 -08:00
Florian CUNY
0322ffe0ce
Deprecated #getTeamLeader(...) methods
...
These have been deprecated in CompositeCommand, IslandCache and IslandsManager and they got replaced by #getOwner(...).
2018-11-18 11:12:54 +01:00
Florian CUNY
c3ca82e12a
Fixed the ENDER_CHEST flag not using the Notifier
2018-11-11 10:37:08 +01:00
tastybento
c2e9490bb0
Added min/max options for cycle click and restricted lock flag.
...
https://github.com/BentoBoxWorld/bentobox/issues/332
2018-11-10 19:28:46 -08:00
tastybento
68873e033f
Added defensive code to handle island adding to grid.
...
When an island cannot be added to the grid, it should show some helpful
console error.
Related to https://github.com/BentoBoxWorld/bentobox/issues/326
2018-11-10 10:04:37 -08:00
Florian CUNY
d507efbe77
Fixed obsidian scooping replacing whole bucket stack with lava buckets
...
Fixes #338 .
2018-11-10 10:04:10 +01:00
Florian CUNY
09905ab018
Renamed AbstractFlagListener to FlagListener
2018-11-04 16:40:20 +01:00
Florian CUNY
3e284b90eb
Fixed protection listeners not being registered to Bukkit
...
Basically removed the "plugin loaded" limitation.
2018-11-03 11:31:08 +01:00
Florian CUNY
480d3f78d9
Added world condition in IslandsManager#userIsOnIsland
...
The world parameter was previously unused.
I also updated javadocs ; as well as the tests. Everything seems to be working fine.
2018-11-01 16:34:19 +01:00
tastybento
d9783c8d73
Fix for issue where team members are sometimes not recognized.
...
https://github.com/BentoBoxWorld/bentobox/issues/318
2018-10-30 13:21:27 -07:00
Florian CUNY
0dc9de9c37
Fixed broken file renaming
...
Well... Hopefully it'll fix it
2018-10-28 14:33:36 +01:00
Florian CUNY
6dd02a15b7
Made use of Addon.State
...
Fixes #281
Replaced Addon#setEnabled(boolean) with Addon#setState(Addon.State).
Now, if an exception gets thrown while enabling an addon, it'll automatically stop enabling it and set its state to "INCOMPATIBLE" or "ERROR". These values could later be get to be displayed in the version command.
2018-10-28 11:12:00 +01:00
Florian CUNY
e930510243
Renamed TestBSkyBlock to TestBentoBox
2018-10-28 10:34:22 +01:00
Florian CUNY
14a794a5b1
Lowercased some command class names to better fit how they are actually working in game
2018-10-28 10:27:01 +01:00
Florian CUNY
13c483e5eb
Renamed AdminTeamMakeLeaderCommand to AdminTeamSetOwnerCommand
2018-10-28 10:19:14 +01:00
Florian CUNY
20b6c4a7cb
Fixed tests and commands relying on previously broken API
...
Mistakenly pushed the previous changes on develop before committing these fixes.
2018-10-27 16:52:07 +02:00
Florian CUNY
95bfab916e
Replaced Util#getPermValue(Player, String, int) with User#getPermissionValue(String, int)
2018-10-20 11:32:42 +02:00
tastybento
84a79fe1de
Fixed and added tests for new deathCount option
...
Fixes test failures from commit a6d25d68a9
I added some more tests to check for in world as well as death count
being on/off.
2018-10-07 18:28:48 -07:00
tastybento
14b7a3aa82
Fixed teleporting to an island by using a member's name
...
https://github.com/BentoBoxWorld/bentobox/issues/300
2018-10-07 18:15:18 -07:00
tastybento
b83e5d4a56
Fixed tests for Invincible visitors.
2018-10-05 17:34:21 -07:00
tastybento
0f5ab8ab7d
Added inWorld(World.class) to IWM
...
This had a ripple affect through the tests because now there are two
inWorld() methods - one for Location and one for World.
2018-09-29 09:01:20 -07:00
tastybento
2df049f70d
Implements protection for standard Nether and End
...
This was missing so it needed to be added.
Related to: https://github.com/BentoBoxWorld/addon-bskyblock/issues/9
2018-09-25 22:20:30 -07:00
tastybento
86d40ca126
Fixed issue where standard Nether is protected.
...
Also applies to standard End.
https://github.com/BentoBoxWorld/addon-bskyblock/issues/9
2018-09-25 20:45:43 -07:00
tastybento
0f371f4800
Removed unneeded imports and code.
2018-09-25 20:05:23 -07:00
Florian CUNY
58de346dc9
Various changes to SafeSpotTeleport
...
* Replaced SafeTeleportBuilder by SafeSpotTeleport.Builder
* Added "overrideGamemode" parameter
* AdminTeleportCommand no longer overrides the player's gamemode when teleporting (fixes #262 )
2018-09-15 12:38:51 +02:00
Florian CUNY
02be048192
Removed "general.errors.unknown-player-name" : added a "[name]" textvariable in "general.errors.unknown-player"
...
Closes #263
2018-09-15 10:39:16 +02:00
tastybento
d744b58638
Fixed tests
...
Created two new tests:
1. A test that closing inventory does not happen unless it is a known
panel.
2. A test that verifies known panels are closed.
2018-09-08 10:35:40 -07:00
Florian CUNY
918f6de782
Fixed clicking outside of inventory closing it
...
I edited it so it only happens on BentoBox's panels. Having it closing "every" inventory was causing issues with vanilla inventories (crafting table, etc...)
I could not fix the related tests though : PanelListenerManagerTest#testOnInventoryClickOutside (PanelListenerManagerTest.java:128) is failing every time.
2018-09-08 17:12:15 +02:00
tastybento
505624b45c
Fixes tests. Also fixes a bug.
...
https://github.com/BentoBoxWorld/bentobox/issues/258
2018-09-02 20:45:31 -07:00
Florian CUNY
a12eec7a6b
Fixed Invincible Visitors unit testing
2018-08-31 21:12:44 +02:00
Florian CUNY
24d783be24
Cleanup in Settings
...
Removed purge-related settings.
Renamed all database-related settings and methods to replace `db` with `database`.
Moved confirmationTime to `island.confirmation.time`.
Renamed inviteWait, banWait and resetWait to inviteCooldown, banCooldown, resetCooldown. Also moved them under `island.cooldown.x`.
Removed kickWait and leaveWait, using confirmationTime instead.
Moved `island.require-confirmation.<command>` to `island.confirmation.commands.<command>`.
Updated tests.
Updated getters and setters using code automation. Sadly, this wiped out all the Javadoc.
2018-08-31 11:06:37 +02:00
tastybento
4eadd259f7
Added PanelBuilderTest and fixed bug in PanelBuilder
...
nextSlot() was not giving next slot after an assigned slot.
11600ft and descending into SFO. 14 miles out.
2018-08-31 07:28:02 +09:00
tastybento
f3bd4fa621
Removed unused import
2018-08-25 12:27:32 -07:00
tastybento
06f7b754b7
Removed enderman death drop flag. 1.13 drops blocks anyway.
2018-08-25 12:27:21 -07:00
tastybento
9e2c2c7dbc
Adjusted remove rank test
2018-08-25 12:27:00 -07:00
tastybento
474de77ce2
Added death listener.
...
Counts player deaths in any game world.
Fixes https://github.com/BentoBoxWorld/addon-level/issues/18
2018-08-22 23:46:24 -04:00
tastybento
9b1c7f10ab
Added Clipboard test class and improved Clipboard robustness
...
Flight # 2533
RDU to PHX
Above Memphis, TN
Altitude
38,006 ft
Ground speed
464 mph
2018-08-22 18:40:44 -04:00
tastybento
9847235df1
Fixes MySQL exists and delete functions.
2018-08-18 09:53:21 -07:00
tastybento
ec005569a1
Fixed tests for EnterExitListenerTest
2018-08-16 10:38:35 -07:00
tastybento
3f7198da25
NPE's fixed. Tests need to be fixed now.
2018-08-16 08:53:31 -07:00
tastybento
68624d2879
Removed unused imports. Removed unused classes InventorySave/Store
2018-08-15 20:30:34 -07:00
Florian CUNY
7815c837dd
Deleted FlyingMobEvents (duplicate of GeoLimitMobs)
...
And also fixed a code smell with metrics method names in IslandsManager
2018-08-15 10:52:10 +02:00
Florian CUNY
82ebc8b018
Revert "Fixed IslandCacheTest"
...
This reverts commit 8fb4e58994
.
2018-08-15 09:51:41 +02:00
Florian CUNY
539d2a0516
Fixed some code smells
2018-08-15 09:43:28 +02:00
Florian CUNY
e11f173ca3
Made /is reset use the command cooldown API + switched "wait" settings to int
...
Aaaand had to update some tests. Lots of tests.
2018-08-14 21:11:46 +02:00
Florian CUNY
8fb4e58994
Fixed IslandCacheTest
...
Also commented out CellState.RESERVED.
That was a tough one. I had to rewrite IslandGrid#getIslandAt(int, int) quite a few times before using the stream() thing. I tested it a bit - it seems it is working like a charm.
I just hope that it won't be something useless - another plumbing change that adds nothing. It shouldn't - because of the "RESERVED" thing - but, well... it's been quite a hard thing!
2018-08-14 11:38:44 +02:00