From cfae997de462b93b8021ad21851a559342d4998e Mon Sep 17 00:00:00 2001 From: benwoo1110 Date: Wed, 7 Oct 2020 00:39:08 +0800 Subject: [PATCH 1/2] Adds world UID to /mvinfo command --- .../com/onarandombox/MultiverseCore/commands/InfoCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/InfoCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands/InfoCommand.java index ed7eb415..9d281897 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/commands/InfoCommand.java +++ b/src/main/java/com/onarandombox/MultiverseCore/commands/InfoCommand.java @@ -115,6 +115,7 @@ public class InfoCommand extends MultiverseCommand { FancyColorScheme colors = new FancyColorScheme(ChatColor.AQUA, ChatColor.AQUA, ChatColor.GOLD, ChatColor.WHITE); message.add(new FancyHeader("General Info", colors)); message.add(new FancyMessage("World Name: ", world.getName(), colors)); + message.add(new FancyMessage("World UID: ", world.getCBWorld().getUID().toString(), colors)); message.add(new FancyMessage("World Alias: ", world.getColoredWorldString(), colors)); message.add(new FancyMessage("Game Mode: ", world.getGameMode().toString(), colors)); message.add(new FancyMessage("Difficulty: ", world.getDifficulty().toString(), colors)); From ed77cacb1a432e223347de496635d82a68d4f137 Mon Sep 17 00:00:00 2001 From: benwoo1110 Date: Wed, 7 Oct 2020 21:00:40 +0800 Subject: [PATCH 2/2] Adds generator detail to /mvinfo command --- .../com/onarandombox/MultiverseCore/commands/InfoCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/InfoCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands/InfoCommand.java index 9d281897..701424e7 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/commands/InfoCommand.java +++ b/src/main/java/com/onarandombox/MultiverseCore/commands/InfoCommand.java @@ -152,6 +152,7 @@ public class InfoCommand extends MultiverseCommand { message = new ArrayList(); message.add(new FancyHeader("More World Settings", colors)); message.add(new FancyMessage("World Type: ", world.getWorldType().toString(), colors)); + message.add(new FancyMessage("Generator: ", world.getGenerator(), colors)); message.add(new FancyMessage("Structures: ", world.getCBWorld().canGenerateStructures() + "", colors)); message.add(new FancyMessage("Weather: ", world.isWeatherEnabled() + "", colors)); message.add(new FancyMessage("Players will get hungry: ", world.getHunger() + "", colors));