Commit Graph

250 Commits

Author SHA1 Message Date
tastybento
2e6ef59040 Update dates in BentoBox console banner 2021-12-13 21:59:30 -08:00
Justin
759ba522f4
Add world setting flag for island visitors keep inventory (#1785) 2021-07-06 13:47:35 -07:00
Justin
0f7866a00b
Parent/sub-flag support, split up and designate CONTAINER flag as parent flag (#1784)
* Split CONTAINER flag into multiple flags

CONTAINER split into
- CONTAINER (Chest/Minecart Chest)
- BARREL (Barrel)
- COMPOSTER (Composter)
- FLOWER_POT (Flower Pot)
- SHULKER_BOX (Shulker Box)
- TRAPPED_CHEST (Trapped Chest)

Fixes #1777

* Add subflag support

* Create container parent flag, chest subflag

* Remove extra string from when CHEST was CONTAINER

* Fix incorrect flag specified on fired event in IslandToggleClick

* Add missing world subflag event firing

* Remove extra import
2021-07-06 13:41:23 -07:00
Justin
f88b8d4d6d
Custom date time format support for /<admin> info <player> (#1783)
Fixes #1720
2021-07-06 13:33:10 -07:00
tastybento
352c6dec84 Use home names instead of numbers in locale 2021-04-24 10:50:23 -07:00
tastybento
ac8458fd3c Add IslandHomesCommand
https://github.com/BentoBoxWorld/BentoBox/issues/1737
2021-04-07 21:36:49 -07:00
tastybento
74023914a7 Fixed enum locale for English and Japanese.
Sort based on translated name in InvincibleVisitors.
2021-03-14 11:57:55 -07:00
tastybento
d97d15d47a Added locale strings for the DamageCause enum. Used in InvincibleVistors
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1705
2021-03-14 10:18:33 -07:00
apachezy
e36dc68ccd
Improved zh-CN.yml (#1708)
* Improved zh-CN.yml

* Delete an error.

* days-one-or-more #1707

Co-authored-by: zhangYi <apachezy@hotmail.com>
2021-03-13 08:44:19 -08:00
poslovitch
40d1c318d5 Fixed purge command "one day or more" message
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1707
2021-03-12 22:02:16 +01:00
tastybento
031d789896 Enable to use command line to set spawn island settings.
https://github.com/BentoBoxWorld/BentoBox/issues/1703
2021-03-09 22:18:48 -08:00
tastybento
b6a69d0c90
Switch to island homes from player homes. (#1689)
* Switch to island homes from player homes.

Stores home locations and max homes in the Island object. Adds commands
required to manage home names, specifically rename and delete. I did not
add list as there is tab complete on island go, but it may be required.
2021-03-01 10:42:08 -08:00
tastybento
938297ab14 Adds command-line settings for admins.
https://github.com/BentoBoxWorld/BentoBox/issues/1658
2021-02-27 11:14:04 -08:00
tastybento
b27d0bbca4 Use BlockInteractionListener to protect Hives and Bee Nests 2021-02-14 16:56:38 -08:00
tastybento
770d8b0bef Harvest listener 2021-02-14 12:52:51 -08:00
tastybento
582aa9fa9e Adds world flag to prevent pets from teleporting off home island
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1442
2021-02-14 11:05:40 -08:00
tastybento
1d9ce7241e
Decouple island location from island center. (#1659)
* Decouple island location from island center.

This enables the protection area to move anywhere within the island
boundaries

* Paste island at island location.

* Move visitors to the island location

* Added island location placeholders

* Use island location instead of island center

* Fix tests

* Allow radius 1 islands.

* Correct admin range set limit

* Debug in progress

* Fix island deletion.

The speed option was doing nothing except causing repeated actions on
the same chunks.

* Soft depend for WorldGeneratorApi for Boxed game mode

* Changed to "protectionCenter".

Added logic to expand the deletion area based on moving the island
protection location and range instead of just deleting everything. This
will keep deletion time to a minimum for BSkyBlock, etc.

* Fix tests.
2021-02-13 10:19:53 -08:00
tastybento
79f6600fd2 Fixed tests and other small code smells 2020-11-08 16:48:08 -08:00
tastybento
1d4fd435a9 Added World TNT Damage Flag
Enables admins to decide whether TNT should damage outside of island
boundaries

https://github.com/BentoBoxWorld/BentoBox/issues/1562
2020-11-08 10:43:15 -08:00
tastybento
916ba5d999 Uses a different method to fix the database.
https://github.com/BentoBoxWorld/BentoBox/issues/1556
2020-11-01 17:29:18 -08:00
tastybento
774b57b168 Added an admin fix command to fix cross-island ownership.
https://github.com/BentoBoxWorld/BentoBox/issues/1556
2020-11-01 15:53:52 -08:00
tastybento
a07676ac05 Allow default blueprint bundle to have a friendly name change in the GUI
https://github.com/BentoBoxWorld/BentoBox/issues/1543
2020-10-09 14:51:21 -07:00
Paul Baird
01c2c30621
Added support to hide Vanished players from Teams (#1499)
* Rework to see if player is online

* Maybe fix & disable tests

* Fix pom.xml

* Fix pom.xml

* Re-add lines to pom.xml

* Check if isn't trusted

* Possibly disable testing, disable last online for teams

* Actually disable testing now?

* Add back dependencies

* Added trusted-layout

* Added individual translation for Coop

* Rebase pom.xml

* Formatted code correctly

* Use correct methods

* Possible fix for always offline

* Another test

* Solved always offline issue

* Cleaned up code & adjusted locales
2020-08-23 14:52:06 -07:00
Florian CUNY
85a6daf366 Added '(Right/Left) Click to open/toggle/cycle' in flags' description layouts
And tweaked colors of the "click-to-switch" message for the mode button in the Settings Panel
2020-07-12 10:58:38 +02:00
Florian CUNY
5e0e19a1be Breaking boats/minecarts is now handled by their respective flags
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1430
Improved description for MINECART and BOAT flags
2020-07-04 13:11:09 +02:00
Florian CUNY
2773c4a104 Added BREAK_HOPPERS protection flag
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1331
2020-06-29 17:44:13 +02:00
Florian CUNY
0e3535d0cc Added language selection using command (as alternative to GUI)
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1411
The IslandLanguageCommand now have tab-completion.
Added LocalesManager#isLocaleAvailable(Locale).
2020-06-22 18:52:16 +02:00
Florian CUNY
cbbd361b03 Split the animal/monster spawn flags to "natural" and "spawners"
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1351
2020-06-21 17:47:01 +02:00
tastybento
0fec5aec51 Added insufficient rank error and fixed tests.
The no permission error was being added, but thats wrong because it's
not lack of permission but lack of rank that is the issue. This adds a
new error and shows it in the various commands.
2020-06-06 17:01:09 -07:00
Florian CUNY
9a7ded8136 Fixed typo in en-US.yml 2020-06-06 10:46:16 +02:00
tastybento
0283d5445c Improved creeper damage and creeper griefing protection locale. 2020-05-14 16:32:59 -07:00
Florian CUNY
c29b376d3b Made some minor tweaks to en-US.yml 2020-04-29 21:50:58 +02: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
Florian CUNY
c9298c3ae6 Added BentoBoxReloadLocalesCommand
Implements #1245
2020-04-26 13:18:37 +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
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
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
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
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
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
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
d7dd37b85c Made some tweaks to en-US locale 2020-03-30 14:48:14 +02:00
tastybento
06b5aac36f
Added LIMIT_MOBS flag (WORLD_SETTING) (#1155)
It provides a way to prevent selected EntityTypes from spawning at all.
Partially implements https://github.com/BentoBoxWorld/BentoBox/issues/1133
2020-02-16 13:12:32 +01:00
Florian CUNY
9abf65709d Added a message sent to all players on an island when PvP is toggled
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1081

Also removed the "protection.flags.PVP_OVERWORLD.active" message as it seemingly wasn't used.
2020-02-13 10:25:18 +01:00
Florian CUNY
f04a4fb522 Added a message if scooping obsidian into lava fails due to nearby obsidian blocks
Improved messages related to obsidian scooping
2020-02-12 20:31:06 +01:00
Florian CUNY
f383c196a5 Updated FLINT_AND_STEEL flag description to also tell about campfires 2020-02-12 13:39:01 +01:00
tastybento
2b997d46e1 Corrects language for piston push protection.
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1162
2020-02-04 13:34:35 -08:00
Florian CUNY
6c5df58e2c Added specific success messages for Island(Re)SetnameCommand
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1164
2020-02-01 17:03:52 +01:00