diff --git a/pom.xml b/pom.xml index 0413d55..2c7b2ac 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ UTF-8 1.8 - 1.14-R0.1-SNAPSHOT + 1.13.2-R0.1-SNAPSHOT 1.5.0-SNAPSHOT ${build.version}-SNAPSHOT diff --git a/src/main/java/world/bentobox/caveblock/Settings.java b/src/main/java/world/bentobox/caveblock/Settings.java index 3a2e6ba..c225cb7 100644 --- a/src/main/java/world/bentobox/caveblock/Settings.java +++ b/src/main/java/world/bentobox/caveblock/Settings.java @@ -31,26 +31,13 @@ import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2; */ @StoreAt(filename="config.yml", path="addons/CaveBlock") @ConfigComment("CaveBlock Configuration [version]") -@ConfigComment("This config file is dynamic and saved when the server is shutdown.") -@ConfigComment("If you edit it while the server is running use /cbadmin reload") -@ConfigComment("otherwise your settings will be lost.") -public class Settings implements DataObject, WorldSettings +public class Settings implements WorldSettings { // --------------------------------------------------------------------- // Section: Getters // --------------------------------------------------------------------- - /** - * @return the uniqueId - */ - @Override - public String getUniqueId() - { - return this.uniqueId; - } - - /** * This method returns the friendlyName object. * @return the friendlyName object. @@ -793,16 +780,6 @@ public class Settings implements DataObject, WorldSettings // --------------------------------------------------------------------- - /** - * @param uniqueId - unique ID the uniqueId to set - */ - @Override - public void setUniqueId(String uniqueId) - { - this.uniqueId = uniqueId; - } - - /** * This method sets the friendlyName object value. * @param friendlyName the friendlyName object new value. @@ -1900,6 +1877,4 @@ public class Settings implements DataObject, WorldSettings @ConfigEntry(path = "do-not-edit-these-settings.reset-epoch") private long resetEpoch = 0; private boolean debug; - - private String uniqueId = "config"; } diff --git a/src/main/resources/addon.yml b/src/main/resources/addon.yml index c1658e6..3718e39 100644 --- a/src/main/resources/addon.yml +++ b/src/main/resources/addon.yml @@ -1,6 +1,9 @@ name: CaveBlock main: world.bentobox.caveblock.CaveBlock version: ${version}${build.number} +metrics: true +repository: "BentoBoxWorld/CaveBlock" +icon: "STONE_PICKAXE" authors: BONNe @@ -136,4 +139,4 @@ permissions: default: op caveblock.skywalker: description: Allows player to walk over the heigh limit. - default: op \ No newline at end of file + default: op diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 597e3ab..bcaa106 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,7 +1,4 @@ # CaveBlock Configuration ${version} -# This config file is dynamic and saved when the server is shutdown. -# If you edit it while the server is running use /cbadmin reload -# otherwise your settings will be lost. caveblock: command: # Cave Command. What command users will run to access their cave.