diff --git a/rpgregions/src/main/java/net/islandearth/rpgregions/commands/RPGRegionsDebugCommand.java b/rpgregions/src/main/java/net/islandearth/rpgregions/commands/RPGRegionsDebugCommand.java index 4778f09..84cd208 100644 --- a/rpgregions/src/main/java/net/islandearth/rpgregions/commands/RPGRegionsDebugCommand.java +++ b/rpgregions/src/main/java/net/islandearth/rpgregions/commands/RPGRegionsDebugCommand.java @@ -14,6 +14,7 @@ import net.islandearth.rpgregions.thread.Blocking; import org.apache.commons.lang3.StringUtils; import org.bukkit.ChatColor; import org.bukkit.OfflinePlayer; +import org.bukkit.World; import org.bukkit.command.CommandSender; import java.sql.Connection; @@ -92,4 +93,9 @@ public class RPGRegionsDebugCommand { sender.sendMessage(ChatColor.GREEN + "Successfully removed and saved " + player.getName() + "'s account from the cache."); }); } + + @CommandMethod("rpgregionsdebug|rpgrd worldid ") + public void onGetWorldId(CommandSender sender, @Argument("world") World world) { + sender.sendMessage(ChatColor.GREEN + String.valueOf(world.getUID())); + } } diff --git a/rpgregions/src/main/resources/plugin.yml b/rpgregions/src/main/resources/plugin.yml index d433a35..0d0be6d 100644 --- a/rpgregions/src/main/resources/plugin.yml +++ b/rpgregions/src/main/resources/plugin.yml @@ -10,7 +10,7 @@ libraries: - "org.xerial:sqlite-jdbc:3.30.1" - "org.flywaydb:flyway-core:9.16.2" # db migration - "org.flywaydb:flyway-mysql:9.16.3" -softdepend: [Hyperverse, Multiverse, UltraRegions, WorldGuard, PlaceholderAPI, HeadDatabase, Residence, Plan, GriefPrevention, GriefDefender, Vault, MythicMobs, AlonsoLevels, dynmap, ProtocolLib, Quests, BetonQuest, Lands, MMOCore, CustomStructures] +softdepend: [Hyperverse, Multiverse-Core, UltraRegions, WorldGuard, PlaceholderAPI, HeadDatabase, Residence, Plan, GriefPrevention, GriefDefender, Vault, MythicMobs, AlonsoLevels, dynmap, ProtocolLib, Quests, BetonQuest, Lands, MMOCore, CustomStructures] authors: [SamB440] description: Discoverable regions website: https://fortitude.islandearth.net