Commit Graph

2959 Commits

Author SHA1 Message Date
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
Florian CUNY
91ccf51a54 Added option to keep old islands when resetting
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1188
2020-04-20 17:20:12 +02:00
tastybento
b6dd7d114e Revert "Fixed BentoBox not properly disabling if errors at startup (#1285)"
This reverts commit ee2f86ae3b.
2020-04-20 07:26:34 -07:00
Krystian
8c4b9380d3
Update Polish translation (#1289) 2020-04-20 13:18:49 +02:00
tastybento
ee2f86ae3b
Fixed BentoBox not properly disabling if errors at startup (#1285)
Fixes #1281
2020-04-20 13:15:55 +02:00
tastybento
85d5a3a6ac
Adds a single character prefix to database tables (#1278)
* Adds a single character prefix to database tables

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

* Fix tests

* Fix bug with substring
2020-04-18 14:16:36 -07:00
tastybento
b94f9db0a9 Emphasize that natural spawning is toggled for mobs and animals
https://github.com/BentoBoxWorld/BentoBox/issues/1284
2020-04-18 11:59:21 -07:00
tastybento
f5f2d7ac39 Fixes IslandTeamKickCommand test (commands.island.team.kick.cannot-kick) 2020-04-17 07:14:13 -07:00
Florian CUNY
0f6852dac6
Fixed reference "cannot-kick" showing up in IslandTeamKickCommand 2020-04-17 15:03:49 +02:00
tastybento
80285b71df Added error message info to Addon config save error 2020-04-15 07:39:37 -07:00
tastybento
9ea672b8e7 Do not run new island clearing jobs if player cannot teleport
https://github.com/BentoBoxWorld/BentoBox/issues/1280
2020-04-13 08:20:36 -07:00
tastybento
f0c50a5211 Remove debug 2020-04-09 22:10:28 -07:00
tastybento
d327ea4a89 Protect paintings from projectiles and being placed.
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1273
2020-04-09 16:02:51 -07:00
tastybento
b6b9b11f53 Removed unused imports 2020-04-07 13:42:42 -07:00
tastybento
b29da53f43 Revert "Made BentoBoxCommand#setup() default (#1258)"
This reverts commit 7de842e284.
2020-04-07 13:38:44 -07:00
Florian CUNY
5b01f39f9e Fixed tests and logic with coop/trust limits 2020-04-05 15:15:26 +02:00
Clément P
0f2ba0e202
Added coop and trust limits (with permissions) (#1267)
Implements #1065.

Added two new permissions:
* [gamemode].trust.maxsize.[NUMBER]
* [gamemode].coop.maxsize.[NUMBER]

Added two new WorldSettings and related methods in IWM:
* getMaxCoopSize() (defaults to 4)
* getMaxTrustSize() (defaults to 4)

* Add limit for coop players #1065

* Edit comparison sign

* Add limit for trust players #1065

* Add default value and add since javadoc tags

* improved messages

* readded missing "

Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
2020-04-05 14:28:59 +02:00
Florian CUNY
e0d5c7b8bd Fixed the since javadoc tags for the previous commit 2020-04-05 10:34:06 +02:00
Florian CUNY
71fb955114 Implemented prefixes in localizations and a default prefix for BentoBox
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1086

started working on prefixes

added BentoBox prefix
2020-04-05 10:28:16 +02:00
Florian CUNY
e7b1f51a83 Fixed tests 2020-04-05 00:38:30 +02:00
Clément P. (Cleymax)
3bd0ff4a69 Added IslandRankChangeEvent (#1260)
Implements #1135

changed name of the event to append Event to it

Call the event in proper places
2020-04-04 21:57:59 +02:00
NotMyFault
74007a7a9f
Add break-spawner flag (#1263)
* Implements #1130

* Add proper styling to spawner-flag

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

* Enforce yaml style

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

Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
2020-04-04 21:32:59 +02:00
tastybento
f3220e1fda Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2020-04-04 12:31:58 -07:00
tastybento
c987b0ce5c Update copyright info in about command 2020-04-04 12:31:48 -07:00
Clément P
024e5803b5
Add %[gamemode]_on_island% placeholder (#1259)
Implements #1168

* Add 'on_island' placeholder #1168

* removed hard dependency to PAPI's booleans methods

Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
2020-04-04 20:45:10 +02:00
Florian CUNY
7de842e284
Made BentoBoxCommand#setup() default (#1258)
* Made BentoBoxCommand#setup() "default" and deprecated it

* Undeprecated BentoBoxCommand#setup() and changed its javadoc

* Put back setup in IslandGoCommand and IslandSethomeCommand

* Removed setup in AdminPurgeStatusCommand
2020-04-04 20:40:14 +02:00
NotMyFault
8566b2161f
Updated license dates in startup message (#1266) 2020-04-04 20:27:55 +02:00
NotMyFault
63cca31de1
Improved description of Creeper griefing flag (#1264)
Fixes #1201 regarding to https://github.com/BentoBoxWorld/BentoBox/issues/1201#issuecomment-588735557
2020-04-04 20:25:19 +02:00
tastybento
63e6f244bd Remove incorrect JavaDoc and forced use of SafeSpotTeleport builder 2020-04-04 08:20:32 -07:00
tastybento
a0dcb15026 Removed unused import 2020-04-04 08:20:06 -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
Florian CUNY
2c7316ba21 Added AdminPurgeStatusCommand and improved some purge-related messages
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1254
2020-04-04 15:31:22 +02:00
Florian CUNY
c1741aa37f Improved colors in purge-related messages 2020-04-04 14:32:33 +02:00
Florian CUNY
960a8a7a00 IslandResetCommand now requires "[gamemode].island.reset" permission
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1207
2020-04-03 09:34:57 +02:00
tastybento
02b16c233c Fixes tests. 2020-04-02 14:49:45 -07:00
tastybento
425fb96b90 Use Util version of PaperLib to fix 323 test failures 2020-04-02 13:22:09 -07:00
tastybento
c724b6bbf2 Remove unused import 2020-04-02 13:21:26 -07:00
tastybento
eafeacd739 Annotated loadObject as Nullable
If the table exists but has no data in it, then the return value will be
null.
2020-04-02 12:52:42 -07: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
9e620cbbac Fixed spawn islands that could be purged as unowned
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1255
Also added a few more tests to prevent regression
2020-03-31 14:30:27 +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
Nassim
3125885bf3
Fixed player-not-cooped message key (#1251) 2020-03-30 15:26:09 +02:00
gitlocalize-app[bot]
1a173818a1
Updated Spanish localization (#1239)
* Translate es.yml via GitLocalize

* Update es.yml

Co-authored-by: SrAcosta <gerardo.gomez.acosta@gmail.com>
Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
2020-03-30 15:24:17 +02:00
Florian CUNY
7966146304 Added %[gamemode]_visited_island_members_list% placeholder
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1246
2020-03-30 15:19:12 +02:00
Florian CUNY
d7dd37b85c Made some tweaks to en-US locale 2020-03-30 14:48:14 +02:00
tastybento
ae5f5b8029 Updated ReadMe to add reference to docs. 2020-03-28 11:36:58 -07:00
tastybento
25d43c4f9f Removes velocity on teleporting
https://github.com/BentoBoxWorld/BentoBox/issues/1248
2020-03-28 09:42:55 -07:00
tastybento
aa708c4bdb Removed unused [nether_color] and [end_color]
https://github.com/BentoBoxWorld/BentoBox/issues/1248
2020-03-28 09:08:18 -07:00
Florian CUNY
1afd6ad014
Fixed enum reference of the "island_members_list" placeholder 2020-03-26 09:27:41 +01:00