Commit Graph

463 Commits

Author SHA1 Message Date
gitlocalize-app[bot]
b6a739db00
German Translation (#1904)
* Translate de.yml via GitLocalize

* Translate de.yml via GitLocalize

Co-authored-by: tastybento <tastybento@wasteofplastic.com>
Co-authored-by: Rikamo045 <rik.amos.krajinovic@gmail.com>
2022-01-01 17:33:11 -08:00
tastybento
17ac4f688a Add an admin delete homes command
https://github.com/BentoBoxWorld/BentoBox/issues/1900

This admin command removes all homes from a specified island.
2021-12-31 10:51:16 -08:00
Huynh Tien
e3b99195ca
Optimize safe location searching with configurable range limit (#1892)
* better safe spot finder

* this should be better

* limit how far the y-coordinate will be expanded

* load chunks passively
2021-12-20 09:44:34 -08:00
tastybento
2e6ef59040 Update dates in BentoBox console banner 2021-12-13 21:59:30 -08:00
tastybento
a9a7673ce8 Fix German flag banner description.
Added more debug around error reporting.
2021-08-29 15:04:20 -07:00
Fredthedoggy
705693f904
Add Citizens to Softdepend list for NPC support (#1834) 2021-08-21 11:43:42 +02:00
tastybento
7cadebc792 Added Pladdon to loadbefore. 2021-08-12 18:23:00 -07: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
Fredthedoggy
7de6563ece
Add Holographic Displays as SoftDepend for AOneBlock (#1794) 2021-07-06 13:30:54 -07:00
tastybento
c2e832095a
Minecraft 1.17 support (#1781)
* Java 16 preliminary branch.

This compiles, but junit tests fail all over because there is a lack of
Java 16 support right now.

* Use Java 16

* 1.17 WIP

* Require 1.17

* Fixes tests.

* WIP fixing tests

* Exclude maven from shading

* Try update snapshots to build action

* Try repo on command line

* Remove reference to shade plugin in dependencies
2021-06-20 12:18:10 -07:00
Korinocho
a91203d439
Update es.yml (#1775)
* Update es.yml

Many syntax and semantic fixes

* Update es.yml
2021-06-08 10:39:34 -07:00
tastybento
6e9513f2ea
Enable plugins to register Addons (#1768)
* Enable plugins to register Addons

* Pladdon approach. Loads addons as plugins.

* Added auto-move for pladdons.
2021-05-31 12:42:54 -07:00
gitlocalize-app[bot]
7f8297475d
Total translation rate that appears to be incorrect in the system (#1765)
* Translate tr.yml via GitLocalize
Co-authored-by: gitlocalize-app[bot] <55277160+gitlocalize-app[bot]@users.noreply.github.com>
Co-authored-by: tastybento <tastybento@wasteofplastic.com>
Co-authored-by: ZyXpe <thechefsmaster@gmail.com>
Co-authored-by: Over_Brave <soncesurlar@gmail.com>
Co-authored-by: trafoziya <omerziyaakay@gmail.com>
2021-05-28 16:32:30 -07:00
gitlocalize-app[bot]
03417a78f7
Translate tr.yml via GitLocalize (#1761)
Co-authored-by: trafoziya <omerziyaakay@gmail.com>
2021-05-22 16:29:33 -07:00
Fredthedoggy
022d343295
Update Plugin.yml for new Permissions Addon (#1758) 2021-05-11 21:36:59 -07:00
tastybento
09bac48b5e Adjusted portal search radius to 64. 2021-04-25 09:35:45 -07:00
tastybento
352c6dec84 Use home names instead of numbers in locale 2021-04-24 10:50:23 -07:00
gitlocalize-app[bot]
3242a497db
NL Translation (#1748)
* Translate nl.yml via GitLocalize

* Translate nl.yml via GitLocalize

* Update nl.yml

* Update nl.yml

Co-authored-by: tastybento <tastybento@wasteofplastic.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: tastybento <tastybento@users.noreply.github.com>
2021-04-24 10:45:25 -07:00
tastybento
33b49a2349 Set minimum portal search radius to 8. Added config option.
https://github.com/BentoBoxWorld/BentoBox/issues/1747
2021-04-24 08:45:05 -07:00
fredthedoggy
2a1d9fcc61
Add WildStacker as SoftDepend to plugin.yml (#1742) 2021-04-18 13:47:07 -07:00
tastybento
ac8458fd3c Add IslandHomesCommand
https://github.com/BentoBoxWorld/BentoBox/issues/1737
2021-04-07 21:36:49 -07:00
Qumoo
9db7721016
Updated german language file (#1727)
* Updated german language file

Fixed typo, fixed consistency (beacon = english, Leuchtfeuer = german)

* Updated german language filede.yml

fixed typos, translated messages that were still in English
2021-03-24 22:18:16 -07:00
apachezy
b8d9b73103
Added DamageCause into zh-CN.yml and zh-HK.yml. (#1721)
* Added getMusicDiskDesc into LangUtilsHook.

* Added DamageCause into zh-CN.yml and zh-HK.yml.

Co-authored-by: zhangYi <apachezy@hotmail.com>
2021-03-16 19:08:16 -07:00
apachezy
17d5b7392b
Additional improvements to zh-CN (#1714)
Co-authored-by: zhangYi <apachezy@hotmail.com>
2021-03-15 14:20:54 +01: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
gitlocalize-app[bot]
487fa6af8e
Translate ja.yml via GitLocalize (#1711)
Co-authored-by: tastybento <tastybento@wasteofplastic.com>
2021-03-14 11:24:49 -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
4544cada3a
Improved zh-CN (#1710)
* Improved zh-CN.yml

* Delete an error.

* days-one-or-more #1707

* Patch NO.1

Co-authored-by: zhangYi <apachezy@hotmail.com>
2021-03-13 18:49:57 +01: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
apachezy
0f0d8b9ebc
Added LangUtils support. (#1693) 2021-03-12 20:04:34 -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
Huynh Tien
5142894127
rework on Vietnamese translation (#1671)
* rework on Vietnamese translation
2021-03-07 09:29:58 -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
30b8d17669 Add plugin.yml support for AdvancedChests. 2021-02-25 17:39:44 -08:00
BONNe
79c3804603
Implements ability to use faster player head gatherer (relates to #1646). (#1679)
Adds 3 new BentoBox options:
- use-cache-server: option which allows to use mc-heads.net API for gathering player heads. It is a bit faster than Mojang API.
- heads-per-call: option which allows to specify how many heads will be requested at once per each API call.
- ticks-between-calls: option which allows to specify how many ticks should be waited until next API call.

All these options will allow much more faster player head gatherer.

Changes includes optimization for Mojang API too. For servers in online mode, HeadGetter will use Player UUID, instead of asking for UUID from API.
2021-02-16 15:57:04 -08:00
tastybento
bf94e56f78 Merge branch 'harvest' into develop 2021-02-14 16:57:16 -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
c7bee0425d
Update ro.yml 2021-02-14 12:50:21 -08:00
gitlocalize-app[bot]
7e77a2382e
Romanian translation, needs fixing WIP (#1681)
* Translate ro.yml via GitLocalize

* Translate ro.yml via GitLocalize

* Update ro.yml

Co-authored-by: tastybento <tastybento@wasteofplastic.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: tastybento <tastybento@users.noreply.github.com>
2021-02-14 12:39:19 -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
Joseph
791d6a09f9
Correct german translation (#1665)
Should be tiere meaning animals in german
2021-01-29 18:25:57 -08:00
gitlocalize-app[bot]
4363673266
Spanish Translation (#1633)
Co-authored-by: SrAcosta <gerardo.gomez.acosta@gmail.com>
2021-01-09 17:33:04 +01:00
gitlocalize-app[bot]
93cb2d64d9
Translate tr.yml via GitLocalize (#1625)
Co-authored-by: Over_Brave <soncesurlar@gmail.com>
2020-12-31 09:47:36 -08:00
gitlocalize-app[bot]
f281d37a8d
Updated Turkish translation (#1620)
* Translate tr.yml via GitLocalize

* Translate tr.yml via GitLocalize

Co-authored-by: tastybento <tastybento@wasteofplastic.com>
Co-authored-by: ZyXpe <thechefsmaster@gmail.com>
2020-12-27 10:27:15 -08:00
tastybento
98697b1686
Delete experiment (#1589)
* Try loading adjacent chunks, but too slow.

* NMS void delete

* Revert the extra chunk in IslandDeletion.

That was for another deletion approach.

* Added NMS abstraction.

* Debug

* Clearer code.

* Clarify exceptions
2020-12-19 10:29:26 -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
Gabriel Fontes
b8d5a76efb
Portuguese localization (#1511)
* Portuguese localization

* Fixed typo

* Rename pt.yml to pt_BR.yml

Co-authored-by: tastybento <tastybento@users.noreply.github.com>
2020-10-08 17:49:24 -07:00
tastybento
458ea6b027 Removed duplicate keys 2020-09-12 16:55:42 -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
VozikCZE
eb531c93f7
Small fix in cs.yml (#1500) 2020-08-23 21:52:33 +02:00
gitlocalize-app[bot]
03960e876e
Korean translation (#1475)
Co-authored-by: chickiyeah <ruddls030@naver.com>
2020-08-23 17:13:48 +02:00
Florian CUNY
d131c69c9c
Added contributors ("The BentoBoxWorld Community") in plugin.yml 2020-08-11 13:45:23 +02:00
Florian CUNY
3550ab9e5b Release 1.14.1 2020-07-13 22:54:16 +02: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
BONNe
fa259611fe
Rework PlayerHead Getter. (#1446)
* Rework PlayerHead Getter.

Generate player head based on WebAPI (as it is faster) and GameProfile texture (require NMS).
Cache is suitable for storing into file format.
Add ability to add custom HeadCache object into local cache.
Add ability to modify cache keeping length.
Add ability to keep all, or just a single element into cache until server restart.

* Address issues/improvements suggested from review.

- config will store time in minutes.
- default value will be 1h.
2020-07-11 14:13:32 +02:00
Florian CUNY
93d03d3315 Release 1.14.0 2020-07-07 22:16:47 +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
360a417a4a Tweaked spanish translation to disambiguate "roca de base" into "bedrock" 2020-06-22 10:15:09 +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
48310e858f Add softdepend for BsbMongo 2020-05-15 08:07:39 -07:00
tastybento
0283d5445c Improved creeper damage and creeper griefing protection locale. 2020-05-14 16:32:59 -07:00
Florian CUNY
c4e28b7937 Release 1.13.1 2020-05-02 02:13:45 +02:00
Clément P
6a28ba0b1d
Add support for MongoDB URI (#1330)
Implements #1311
2020-05-01 21:28:52 +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
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
gitlocalize-app[bot]
1ed4773199
Some additional work on the French translation (#1322) 2020-04-29 13:31:28 +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
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
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
Krystian
8c4b9380d3
Update Polish translation (#1289) 2020-04-20 13:18:49 +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
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
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
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