mirror of
https://github.com/BentoBoxWorld/Greenhouses.git
synced 2024-11-22 18:45:26 +01:00
Version up - uses 1.5.0 Bentobox API
This commit is contained in:
parent
2cc5dd8e1f
commit
bb97715c57
8
pom.xml
8
pom.xml
@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>world.bentobox</groupId>
|
||||
<artifactId>Greenhouses</artifactId>
|
||||
<version>0.0.2-SNAPSHOT</version>
|
||||
<version>0.0.3-SNAPSHOT</version>
|
||||
|
||||
<name>Greenhouses</name>
|
||||
<description>Greenhouses is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like ASkyBlock or AcidIsland.</description>
|
||||
@ -51,6 +51,10 @@
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>codemc-public</id>
|
||||
<url>https://repo.codemc.org/repository/maven-public</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
@ -81,7 +85,7 @@
|
||||
<dependency>
|
||||
<groupId>world.bentobox</groupId>
|
||||
<artifactId>bentobox</artifactId>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<version>1.5.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
@ -5,8 +5,8 @@ import java.util.List;
|
||||
|
||||
import world.bentobox.bentobox.api.configuration.ConfigComment;
|
||||
import world.bentobox.bentobox.api.configuration.ConfigEntry;
|
||||
import world.bentobox.bentobox.api.configuration.ConfigObject;
|
||||
import world.bentobox.bentobox.api.configuration.StoreAt;
|
||||
import world.bentobox.bentobox.database.objects.DataObject;
|
||||
|
||||
|
||||
/**
|
||||
@ -16,7 +16,7 @@ import world.bentobox.bentobox.database.objects.DataObject;
|
||||
@StoreAt(filename="config.yml", path="addons/Greenhouses") // Explicitly call out what name this should have.
|
||||
@ConfigComment("Greenhouses Configuration [version]")
|
||||
@ConfigComment("")
|
||||
public class Settings implements DataObject {
|
||||
public class Settings implements ConfigObject {
|
||||
|
||||
// General
|
||||
@ConfigComment("BentoBox GameModes that will use Greenhouses")
|
||||
@ -60,15 +60,6 @@ public class Settings implements DataObject {
|
||||
@ConfigEntry(path = "greenhouses.allowflowin")
|
||||
private boolean allowFlowIn;
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String getUniqueId() {
|
||||
return "config";
|
||||
}
|
||||
@Override
|
||||
public void setUniqueId(String uniqueId) {}
|
||||
/**
|
||||
* @return the gameModes
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user