Create plugin.yml (#316)

* Create plugin.yml

* Update pom.xml

* Update ChallengesPladdon.java
This commit is contained in:
BONNe 2023-04-08 18:30:40 +03:00 committed by GitHub
parent 5ab4237df4
commit a608c8b765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 12 deletions

View File

@ -127,12 +127,6 @@
<version>${spigot.version}</version> <version>${spigot.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>plugin-annotations</artifactId>
<version>1.2.3-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- Vault API --> <!-- Vault API -->
<dependency> <dependency>
<groupId>net.milkbowl.vault</groupId> <groupId>net.milkbowl.vault</groupId>

View File

@ -7,17 +7,12 @@
package world.bentobox.challenges; package world.bentobox.challenges;
import org.bukkit.plugin.java.annotation.plugin.ApiVersion;
import org.bukkit.plugin.java.annotation.plugin.Plugin;
import world.bentobox.bentobox.api.addons.Addon; import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.bentobox.api.addons.Pladdon; import world.bentobox.bentobox.api.addons.Pladdon;
/** /**
* @author tastybento * @author tastybento
*/ */
@Plugin(name="Challenges", version="1.0")
@ApiVersion(ApiVersion.Target.v1_17)
public class ChallengesPladdon extends Pladdon public class ChallengesPladdon extends Pladdon
{ {
@Override @Override
@ -25,4 +20,4 @@ public class ChallengesPladdon extends Pladdon
{ {
return new ChallengesAddon(); return new ChallengesAddon();
} }
} }

View File

@ -0,0 +1,9 @@
name: BentoBox-Challenges
main: world.bentobox.challenges.ChallengesPladdon
version: ${project.version}${build.number}
api-version: "1.17"
authors: [tastybento, BONNe]
contributors: ["The BentoBoxWorld Community"]
website: https://bentobox.world
description: ${project.description}