Skip to content

Instantly share code, notes, and snippets.

View sarhatabaot's full-sized avatar
🚢
Working from home

Omer Oreg sarhatabaot

🚢
Working from home
View GitHub Profile
@sarhatabaot
sarhatabaot / Explanation.md
Created June 12, 2024 17:02
fish.yml biome groups

So this is actually possible to achieve without any code modification, and with purely yaml features. I achieved this result by modifying my fish.yml like so:

biome-groups:
  ocean_beach: &ocean_beach
    ? OCEAN
    ? BEACH
public final class LuckPermsIntergrationTest extends JavaPlugin {
private static LuckPermsApi luckPermsApi;
@Override
public void onEnable() {
RegisteredServiceProvider<LuckPermsApi> provider = Bukkit.getServicesManager().getRegistration(LuckPermsApi.class);
if (provider != null) {
setLuckPermsApi(provider.getProvider());
}
// Plugin startup logic