-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default update mode does not change #150
Comments
The issue is that the biomes addon was originally designed for commands and then had the GUI added later. As a result, the GUI does not currently check the settings for the mode. The quick workaround is to set the action type to CHUNK in the
I'll look into changing the code so that it uses the settings in the config.yml rather than using the panel setting. |
Note that a 1 chunk setting may not work how you expect - you may need to set the number of chunks to something like 3 to get sufficient coverage around the player. Also, the original biomes command still works, e.g., users can select the style of biome change via the command line, e.g. |
Yes, players prefer GUI panel and get used to chunk mode. But they hardly ever use whole island mode, as I noticed. It is easy to directly left-click on the biome and then apply whole island update. |
Actually, decoupling the GUI and Default action was done on purpose. It was a request from a person that wanted the ability to have multiple different apply methods and use the content section of action to choose the update method. The simple fix could be that if the content of action is not set, it should use default one. It would solve this issue, and keep needed behaviour. |
The code could be something like this:
Also, it could validate if written action is a valid change mode. Not entirely necessary, as validation is done inside command itself. And then to apply it to the default settings for people that do not want to have different change options for different biomes would be to remove:
|
Aha, that makes sense. Thanks for the explanation @BONNe. I'll put something together. |
Thanks, that's useful enough for my server. |
Expected behavior
I attemped to change biomes default update mode due to players‘ misusage too many times.
So I edited config.yml as default-mode: CHUNK.
Observed/Actual behavior
No matter how I set the default update mode, left-click on the biome always changes on WHOLE island.
Steps/models to reproduce
Using Bentobox 3.2.3 and BSkyBlock 1.19.0 on any spigot-based server.
Configure to [default-mode: CHUNK] in plugins\BentoBox\addons\Biomes\config.yml.
Execute command in game: /is biomes.
Left-click on a biome for default update mode.
Plugin shows "Starting biome changing to [biome] in XXX chunks", which is far more than changing only 1 chunk.
BentoBox version
[16:11:55 INFO]: Rodando PAPER 1.21.3.
[16:11:55 INFO]: (1.21.3-91-46e8b6c (MC: 1.21.3))
[16:11:55 INFO]: BentoBox versão: 3.2.3
[16:11:55 INFO]: Banco de dados: JSON
[16:11:55 INFO]: Mundos de Jogo Carregados:
[16:11:55 INFO]: bskyblock_world (空岛): Overworld, Nether, The End
[16:11:55 INFO]: Addons carregados:
[16:11:55 INFO]: Biomes 2.2.0 (ENABLED)
[16:11:55 INFO]: BSkyBlock 1.19.0 (ENABLED)
[16:11:55 INFO]: Challenges 1.4.0 (ENABLED)
[16:11:55 INFO]: Level 2.17.0 (ENABLED)
[16:11:55 INFO]: Visit 1.6.0 (ENABLED)
[16:11:55 INFO]: Warps 1.16.0 (ENABLED)
Plugin list
[16:12:17 INFO]: Server Plugins (52):
[16:12:17 INFO]: Paper Plugins:
[16:12:17 INFO]: - CrazyTotem
[16:12:17 INFO]: Bukkit Plugins:
[16:12:17 INFO]: - AdvancedCleaner, AuthMe, BentoBox, BentoBox-Biomes, BentoBox-BSkyBlock, BentoBox-Challenges, BentoBox-Level, BentoBox-Visit, BentoBox-Warps, BestTools
[16:12:17 INFO]: BlockPiglinsTranformation, CommandAPI, Craftorithm, CustomSprays, DecentHolograms, DMenuForPaper, EClock, Elevators, Essentials, EssentialsChat
[16:12:17 INFO]: EssentialsSpawn, fakeplayer, InteractiveChat, KcTransfer, LegendaryDailyQuests, LiteAnnouncer, LiteSignIn, LuckPerms, MythicMobs, Not-Too-Expensive
[16:12:17 INFO]: ObsidianToLava, OpenInv, PersonalPhantoms, PetPassenger, PlaceholderAPI, PlayerTitle, ProtocolLib, QuickShop-Hikari, RemoveEnchant, shears_item_frame
[16:12:17 INFO]: SkinsRestorer, SweetAdaptiveShop, SweetMiao, TabTPS, TreeCuter, Vault, ViaVersion, WanderingTrades, WorldEdit, XYFLY
[16:12:17 INFO]: yeeeesmotd
Other
Whole island biomes changing is quite easy to misuse. Hope default config can be set to Chunkmode for safer using purpose.
The text was updated successfully, but these errors were encountered: