tastybento
2c004ce504
Clear user cache on login.
...
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1341
Server calls PlayerTeleportEvent if player is mounted on quit, which
inserts player back into cache. By clearing the cache on login, the
stale player object will be cleared.
2020-05-05 16:26:51 -07:00
tastybento
1dc566922b
Revert "Added null checking for world when changing worlds"
...
This reverts commit 054934fded
.
2020-05-02 18:55:59 -07:00
tastybento
4a3c9ad8ae
Added null checking for world when changing worlds
...
https://github.com/BentoBoxWorld/BentoBox/issues/1336
2020-05-02 18:54:06 -07:00
tastybento
304867c1f8
Prevents duplicate addon loading.
...
https://github.com/BentoBoxWorld/BentoBox/issues/1339
2020-05-02 18:51:32 -07:00
tastybento
054934fded
Added null checking for world when changing worlds
...
https://github.com/BentoBoxWorld/BentoBox/issues/1336
2020-05-02 17:53:35 -07:00
tastybento
e39db644b9
Adds better checking for on-join commands
...
https://github.com/BentoBoxWorld/BSkyBlock/issues/315
2020-05-02 16:57:42 -07:00
tastybento
61fe218a16
Purge was not calculated player logins correctly.
...
https://github.com/BentoBoxWorld/BentoBox/issues/1333
2020-05-02 16:14:03 -07:00
tastybento
3b50b01eef
SafeSpotTeleport was setting home location async
...
This could cause a race condition setting home to null.
If home was null during a new island creation, then the new island tasks
would not be run because SafeSpotTeleport was not given the runnable.
May be related to:
https://github.com/BentoBoxWorld/BSkyBlock/issues/312
2020-05-02 14:11:37 -07:00
Florian CUNY
31de515b3e
Changed the Setting Flags category's icon to COMPARATOR
2020-05-02 14:45:20 +02:00
tastybento
f0564b7c78
Puts a null check on player UUID
...
It's possible for fake players to have null UUIDs apparently. So this
check avoids an NPE.
2020-05-01 20:48:04 -07:00
Florian CUNY
c4e28b7937
Release 1.13.1
2020-05-02 02:13:45 +02:00
tastybento
7bfbfe78a3
Return true if database save executed.
...
Fixes bug where if no change was made it was reporting an error.
2020-05-02 02:13:45 +02:00
Florian CUNY
da0ad132f6
Release 1.13.1
2020-05-02 02:01:45 +02:00
tastybento
59592994ba
Return true if database save executed.
...
Fixes bug where if no change was made it was reporting an error.
2020-05-01 16:51:59 -07:00
tastybento
28cd496e8c
Version 1.13.1
2020-05-01 16:51:45 -07:00
Clément P
6a28ba0b1d
Add support for MongoDB URI ( #1330 )
...
Implements #1311
2020-05-01 21:28:52 +02:00
Florian CUNY
faba022a7b
Fixed some code smells
2020-05-01 20:51:47 +02:00
Florian CUNY
4b9d0edd97
Version up 1.14.0
2020-05-01 18:28:42 +02:00
Florian CUNY
a764e9e232
Release 1.13.0
2020-05-01 18:14:03 +02:00
Florian CUNY
92ca54cb46
Added jAvEE_fr as an author of the French translation
2020-05-01 18:06:21 +02:00
Florian CUNY
b8e0282057
Some more work on the French translation
...
Keeps getting issues with GitLocalize though...
2020-05-01 17:50:56 +02:00
BONNe
d47216f2c8
Add AdminSetSpawnPointCommand to DefaultAdminCommand ( #1329 )
2020-05-01 15:40:54 +02:00
Florian CUNY
d45be091bd
Fixed the confirmation warning message showing twice in AdminRegisterCommand
...
It will now only be sent once, when asking for confirmation
2020-05-01 14:21:25 +02:00
Florian CUNY
c29b376d3b
Made some minor tweaks to en-US.yml
2020-04-29 21:50:58 +02:00
gitlocalize-app[bot]
70babfcd68
Some more work on the French translation ( #1326 )
2020-04-29 21:49:03 +02:00
Florian CUNY
314fddc400
Fixed tests
2020-04-29 18:51:07 +02:00
gitlocalize-app[bot]
1ed4773199
Some additional work on the French translation ( #1322 )
2020-04-29 13:31:28 +02:00
tastybento
f9906fa2f5
Fixed broken build. Fixed failed tests.
2020-04-27 18:58:14 -07:00
Florian CUNY
4e7a31b0a3
Added some [name] text variables in register/unregister messages
...
and made some minor tweaks in en-US.yml
2020-04-27 01:31:10 +02:00
gitlocalize-app[bot]
1a4e56b4f8
Updated French translation (still WIP) ( #1318 )
...
and another wip french locale update. We're still working on it!
2020-04-27 01:28:20 +02:00
gitlocalize-app[bot]
344db775bc
Started working on French translation ( #1317 )
...
There's a lot of machine translation as well as a lot of bad stuff, but I want to get that first part of the job saved in Git, in order to avoid GitLocalize wiping everything in the night.
2020-04-26 23:59:15 +02:00
tastybento
e381d61c3c
Fixes issue where addon has no perms in addon.yml
...
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1312
2020-04-26 10:08:45 -07:00
tastybento
17186dd791
Remove unused imports
2020-04-26 08:32:52 -07:00
Florian CUNY
c9298c3ae6
Added BentoBoxReloadLocalesCommand
...
Implements #1245
2020-04-26 13:18:37 +02:00
Florian CUNY
a5c710ce3a
Fixed tests
2020-04-26 13:17:22 +02:00
Florian CUNY
a1af25b98c
Removed tab completion in BentoBoxReloadCommand (unused)
2020-04-26 13:07:48 +02:00
Florian CUNY
b558c905a4
Fixed ConcurrentModificationException on startup
...
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1312
Was introduced by 1f3a79127a
2020-04-26 11:45:44 +02:00
tastybento
1f3a79127a
Implements placeholder permissions for addons ( #1305 )
...
Implements #1303 .
Addons will no longer need to see their permissions updated each time there is a new gamemode. They can use [gamemode] in their permissions to automatically register the permissions on all available gamemodes.
2020-04-26 01:20:48 +02:00
tastybento
fe58159db3
Adds saveObjectAsync with a CompletableFuture return for databases ( #1308 )
...
Deprecates the saveObject() method
2020-04-26 01:00:49 +02:00
BONNe
97341ce657
Add DefaultPlayerCommand and DefaultAdminCommand ( #1293 )
...
Helps to implement #498 .
Also added 4 new WorldSettings methods:
* getAdminCommandAliases()
* getPlayerCommandAliases()
* getDefaultPlayerAction()
* getDefaultNewPlayerAction()
Co-Authored-By: Florian CUNY <poslovitch@bentobox.world>
2020-04-26 00:57:14 +02:00
YellowZaki
f08c7dece3
Added Addon#reloadConfig() ( #1302 )
2020-04-26 00:37:03 +02:00
Florian CUNY
46ba40b70d
Fixed IslandsManager#getSafeHomeLocation throwing NPE if world is not an island world
...
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1306
The method now properly returns null if the world is not an island world.
2020-04-25 14:40:47 +02:00
BONNe
40240c7225
Add AdminSetSpawnPointCommand to change an island's spawn point ( #1295 )
...
Implements #937 .
2020-04-24 14:33:44 +02:00
tastybento
ae63125f50
Enables UUIDs to be used in admin commands as well as names ( #1298 )
...
Implements a solution for #1297 .
Adds Util#getUUID(String nameOrUUID)
2020-04-23 21:16:09 +02:00
BONNe
5734709594
Implement ability to change PanelItem amount. ( #1299 )
...
Adds #getAmount() and #setAmount(int) in PanelItemBuilder
2020-04-23 20:57:16 +02:00
tastybento
b1dcec2160
Adds API to enable commands to be hidden from help and tab ( #1301 )
...
Implements #1300 .
Adds CompositeCommand#setHidden(boolean).
2020-04-23 20:54:45 +02:00
tastybento
eee8709636
Combined safe spot checking into one place.
...
We had two sets of checking with different criteria. This consolidates
them.
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1296
2020-04-22 18:25:10 -07:00
tastybento
eeab8994f7
Updated jacoco version.
2020-04-22 18:23:29 -07:00
Florian CUNY
4aba4e1137
Use the "spawn protected" message when the island is a spawn
2020-04-21 20:37:22 +02:00
tastybento
88b331d1e4
MySQL databases were not saving properly on shutdown.
...
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1292
2020-04-20 18:37:42 -07:00