mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2025-02-28 18:21:08 +01:00
Upgrade to BentoBox 1.17 API changes.
Implement Pladdon functionality. Compile against java 16 and Spigot 1.17
This commit is contained in:
parent
93c98e0c35
commit
9ca674d2b9
12
pom.xml
12
pom.xml
@ -32,17 +32,17 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>1.8</java.version>
|
<java.version>16</java.version>
|
||||||
<powermock.version>2.0.4</powermock.version>
|
<powermock.version>2.0.4</powermock.version>
|
||||||
<!-- More visible way how to change dependency versions -->
|
<!-- More visible way how to change dependency versions -->
|
||||||
<spigot.version>1.15.2-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.17-R0.1-SNAPSHOT</spigot.version>
|
||||||
<bentobox.version>1.15.4</bentobox.version>
|
<bentobox.version>1.17.0-SNAPSHOT</bentobox.version>
|
||||||
<level.version>2.5.0</level.version>
|
<level.version>2.5.0</level.version>
|
||||||
<vault.version>1.7</vault.version>
|
<vault.version>1.7</vault.version>
|
||||||
<!-- Revision variable removes warning about dynamic version -->
|
<!-- Revision variable removes warning about dynamic version -->
|
||||||
<revision>${build.version}-SNAPSHOT</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
<!-- This allows to change between versions and snapshots. -->
|
<!-- This allows to change between versions and snapshots. -->
|
||||||
<build.version>0.8.5</build.version>
|
<build.version>0.9.0</build.version>
|
||||||
<build.number>-LOCAL</build.number>
|
<build.number>-LOCAL</build.number>
|
||||||
<!-- Sonar Cloud -->
|
<!-- Sonar Cloud -->
|
||||||
<sonar.projectKey>BentoBoxWorld_Challenges</sonar.projectKey>
|
<sonar.projectKey>BentoBoxWorld_Challenges</sonar.projectKey>
|
||||||
@ -215,8 +215,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${java.version}</source>
|
<source>16</source>
|
||||||
<target>${java.version}</target>
|
<target>16</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
//
|
||||||
|
// Created by BONNe
|
||||||
|
// Copyright - 2021
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
package world.bentobox.challenges;
|
||||||
|
|
||||||
|
|
||||||
|
import world.bentobox.bentobox.api.addons.Addon;
|
||||||
|
import world.bentobox.bentobox.api.addons.Pladdon;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author tastybento
|
||||||
|
*/
|
||||||
|
public class ChallengesPladdon extends Pladdon
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public Addon getAddon()
|
||||||
|
{
|
||||||
|
return new ChallengesAddon();
|
||||||
|
}
|
||||||
|
}
|
10
src/main/resources/plugin.yml
Normal file
10
src/main/resources/plugin.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
name: Challenges
|
||||||
|
main: world.bentobox.challenges.ChallengesPladdon
|
||||||
|
version: ${version}
|
||||||
|
api-version: 1.17
|
||||||
|
description: Challenges Addon
|
||||||
|
authors:
|
||||||
|
- tastybento
|
||||||
|
- BONNe
|
||||||
|
depend:
|
||||||
|
- BentoBox
|
Loading…
Reference in New Issue
Block a user