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 <radius> <amount> - 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
This commit is contained in:
Naman 2018-04-17 20:06:14 -05:00
parent aa4bbb3895
commit ba9b3587e0
2 changed files with 2 additions and 0 deletions

View File

@ -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")){

View File

@ -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}"),