package org.allaymc.server.plugin;

import lombok.Getter;
import org.allaymc.api.plugin.PluginDependency;
import org.allaymc.api.plugin.PluginDescriptor;

import java.util.List;

/**
 * @author daoge_cmd
 */
@Getter
public class FakePluginDescriptor implements PluginDescriptor {

    protected String name;
    protected List<PluginDependency> dependencies;
    protected String version;
    protected List<String> authors = List.of("daoge_cmd");

    public FakePluginDescriptor(String name, String version, List<PluginDependency> dependencies) {
        this.name = name;
        this.version = version;
        this.dependencies = dependencies;
    }

    public FakePluginDescriptor(String name, String version, PluginDependency... dependencies) {
        this.name = name;
        this.version = version;
        this.dependencies = List.of(dependencies);
    }

    @Override
    public String getEntrance() {
        return "";
    }

    @Override
    public String getDescription() {
        return "";
    }

    @Override
    public String getAPIVersion() {
        return "";
    }

    @Override
    public String getWebsite() {
        return "";
    }
}
