001package net.tnemc.plugincore.core.module; 002 003import java.lang.annotation.Documented; 004import java.lang.annotation.ElementType; 005import java.lang.annotation.Retention; 006import java.lang.annotation.RetentionPolicy; 007import java.lang.annotation.Target; 008 009/* 010 * The New Plugin Core 011 * Copyright (C) 2022 - 2024 Daniel "creatorfromhell" Vidmar 012 * 013 * This program is free software: you can redistribute it and/or modify 014 * it under the terms of the GNU Affero General Public License as published by 015 * the Free Software Foundation, either version 3 of the License, or 016 * (at your option) any later version. 017 * 018 * This program is distributed in the hope that it will be useful, 019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 021 * GNU Affero General Public License for more details. 022 * 023 * You should have received a copy of the GNU Affero General Public License 024 * along with this program. If not, see <http://www.gnu.org/licenses/>. 025 */ 026@Target(ElementType.TYPE) 027@Retention(RetentionPolicy.RUNTIME) 028@Documented 029public @interface ModuleInfo { 030 031 String name(); 032 String author(); 033 String version(); 034 String pluginVersion(); 035 String[] dependencies() default {}; 036 String updateURL() default ""; 037}