package me.bill.fakePlayerPlugin.api;

import org.bukkit.plugin.Plugin;
import org.jetbrains.annotations.NotNull;

import java.util.List;

public interface FppAddon {
  @NotNull String getName();

  @NotNull String getVersion();

  @NotNull Plugin getPlugin();

  default @NotNull String getDescription() {
    return "";
  }

  default @NotNull List<String> getAuthors() {
    return List.of();
  }

  default @NotNull List<String> getDependencies() {
    return List.of();
  }

  default @NotNull List<String> getSoftDependencies() {
    return List.of();
  }

  default int getPriority() {
    return 100;
  }

  void onEnable(@NotNull FppApi api);

  void onDisable();
}
