-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Biomes settings #940
Comments
No, that's correct. Perms are preset. Here's a list for BSkyBlock:
|
I'm not talking about vault permissions but island rank permission, who can or cannot change something on the is, most of settings in the /is settings can be defined by default in the config, the setting for the biome change isn't in the config. We can change it using the /is settings GUI but we can't st by default which role on the island can do this. |
Okay. Biomes addon registers two flags with BentoBox, a world setting flag called BIOMES_WORLD_PROTECTION and an advanced protection flag called BIOMES_ISLAND_PROTECTION. You should just be able to add BIOMES_ISLAND_PROTECTION manually to the default setting section of config.yml. Note, it'll only affect new islands. |
I'm talking about "default-island-flags:" and not "flags". |
By config.yml tasty meant not biomes addon config, but BSkyBlock config. |
I'm aware, there is still no way in this config to define which role can change the island biome by default. |
|
I already tried to put 900 and that changed nothing, it's still member as by default. |
Yes, the default setting is not being accepted. I'll investigate. |
To fix we need GameModeAddons to reload their settings after all addons have loaded. Although there is an event that can be listened for, it is better to have a new BentoBox API in the GameModeAddon class that will be called explicitly. This will then enable the game mode addon to reload settings and accept the flag. Here is why: it is due to timing:
With the new API, the following occurs:
|
That should fix it. @BONNe Could you review and confirm? |
Hello, we can define who can change the biome of the island in /is settings but we can't define by default who has the permission to do that in the config,
regards.
The text was updated successfully, but these errors were encountered: