diff --git a/.gitignore b/.gitignore index 525681c..e76db69 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /target/ /.classpath /.project +/.DS_Store +/bin/ diff --git a/pom.xml b/pom.xml index 48a5636..039c470 100644 --- a/pom.xml +++ b/pom.xml @@ -58,14 +58,14 @@ 2.0.2 - 1.19.1-R0.1-SNAPSHOT - 1.21.0 + 1.19.4-R0.1-SNAPSHOT + 1.23.0 ${build.version}-SNAPSHOT -LOCAL - 1.18.0 + 1.19.0 BentoBoxWorld_SkyGrid bentobox-world @@ -316,4 +316,4 @@ - \ No newline at end of file + diff --git a/src/main/java/world/bentobox/skygrid/Settings.java b/src/main/java/world/bentobox/skygrid/Settings.java index 1d83c89..b46c5ba 100644 --- a/src/main/java/world/bentobox/skygrid/Settings.java +++ b/src/main/java/world/bentobox/skygrid/Settings.java @@ -1,6 +1,14 @@ package world.bentobox.skygrid; -import java.util.*; +import java.util.ArrayList; +import java.util.Collections; +import java.util.EnumMap; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Set; import org.bukkit.Difficulty; import org.bukkit.GameMode; @@ -14,8 +22,6 @@ import world.bentobox.bentobox.api.flags.Flag; import world.bentobox.bentobox.database.objects.adapters.Adapter; import world.bentobox.bentobox.database.objects.adapters.FlagBooleanSerializer; -import world.bentobox.bentobox.database.objects.adapters.FlagSerializer; -import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2; /** * All the settings are here @@ -105,7 +111,7 @@ public class Settings implements WorldSettings { @ConfigComment("This option indicates if obsidian platform in the end should be generated") @ConfigComment("when player enters the end world.") @ConfigEntry(path = "world.end.create-obsidian-platform", since = "1.16") - private boolean makeEndPortals = false; + private boolean makeEndPortals = true; /* SkyGrid */ @ConfigComment("The probability of a frame being created in a chunk. Frames are always at y=0.") @@ -722,6 +728,7 @@ public void setWorldFlags(Map worldFlags) { * @return the defaultIslandFlags * @deprecated since 1.21 */ + @Deprecated @Override public Map getDefaultIslandFlags() { return Collections.emptyMap(); @@ -749,6 +756,7 @@ public void setDefaultIslandFlagNames(Map defaultIslandFlags) { * @return the defaultIslandSettings * @deprecated since 1.21 */ + @Deprecated @Override public Map getDefaultIslandSettings() { return Collections.emptyMap(); diff --git a/src/main/java/world/bentobox/skygrid/SkyGridPladdon.java b/src/main/java/world/bentobox/skygrid/SkyGridPladdon.java index 4eb0674..9368da8 100644 --- a/src/main/java/world/bentobox/skygrid/SkyGridPladdon.java +++ b/src/main/java/world/bentobox/skygrid/SkyGridPladdon.java @@ -1,8 +1,10 @@ package world.bentobox.skygrid; + import world.bentobox.bentobox.api.addons.Addon; import world.bentobox.bentobox.api.addons.Pladdon; + public class SkyGridPladdon extends Pladdon { @Override diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 30b7ae7..329f8e6 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1029,7 +1029,7 @@ world: # This option indicates if obsidian platform in the end should be generated # when player enters the end world. # Added since 1.16. - create-obsidian-platform: false + create-obsidian-platform: true # The probability of a frame being created in a chunk. Frames are always at y=0. end-frame-probability: 0.1 # Friendly name for this world. Used in admin commands. Must be a single word diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index edd241a..277f996 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,9 @@ -name: Pladdon -main: world.bentobox.skygrid.SkyGrid -version: ${version} -api-version: 1.19 -description: SkyGrid -author: tastybento -depend: [BentoBox] +name: BentoBox-SkyGrid +main: world.bentobox.skygrid.SkyGridPladdon +version: ${project.version}${build.number} +api-version: "1.19" + +authors: [tastybento] +contributors: ["The BentoBoxWorld Community"] +website: https://bentobox.world +description: ${project.description}