From ba9b3587e09e8520ac09c47efe524d8b6145547a Mon Sep 17 00:00:00 2001 From: Naman Date: Tue, 17 Apr 2018 20:06:14 -0500 Subject: [PATCH] 1.1.1-STABLE /f coords - displays your coords and current world to your faction /f showclaims - Lists all your claims in every world /f lowpower - lists players with power under max /f tntfill - fills tnt in a radius and amount, hooks into /f tntbank if you're a mod or higher. Some of these commands require permissions please see the permissions page here https://www.prosavage.net/wiki/permissions --- src/main/java/com/massivecraft/factions/cmd/CmdTntFill.java | 1 + src/main/java/com/massivecraft/factions/zcore/util/TL.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdTntFill.java b/src/main/java/com/massivecraft/factions/cmd/CmdTntFill.java index d5a5ca8b..baf44634 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdTntFill.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdTntFill.java @@ -34,6 +34,7 @@ public class CmdTntFill extends FCommand { @Override public void perform(){ + msg(TL.COMMAND_TNTFILL_HEADER); int radius = argAsInt(0,16); int amount = argAsInt(1,16); if (radius > P.p.getConfig().getInt("Tntfill.max-radius")){ diff --git a/src/main/java/com/massivecraft/factions/zcore/util/TL.java b/src/main/java/com/massivecraft/factions/zcore/util/TL.java index 54c91a14..afd568b8 100644 --- a/src/main/java/com/massivecraft/factions/zcore/util/TL.java +++ b/src/main/java/com/massivecraft/factions/zcore/util/TL.java @@ -673,6 +673,7 @@ public enum TL { COMMAND_TNT_POSITIVE("&cPlease use positive numbers!"), COMMAND_TNT_DESCRIPTION("add/widthraw from faction's tnt bank"), + COMMAND_TNTFILL_HEADER("&c&l[!] &7Filling tnt in dispensers..."), COMMAND_TNTFILL_SUCCESS("&c&l[!] &7Filled &c{amount}&7 Tnt in dispenser at {x} {y} {z}"), COMMAND_TNTFILL_NOTENOUGH("&c&l[!] &7Not enough tnt in inventory."), COMMAND_TNTFILL_RADIUSMAX("&c&l[!] &7The max radius is {max}"),