Added F Drain Command (A Command which allows players with permission to obtain all the money in faction members balances.)

This commit is contained in:
Driftay
2019-12-22 18:21:17 -05:00
parent 3a22bb348e
commit 4e11234a08
13 changed files with 95 additions and 6 deletions

View File

@@ -162,6 +162,7 @@ public class FCmdRoot extends FCommand implements CommandExecutor {
public CmdSetGuild cmdSetGuild = new CmdSetGuild();
public CmdDiscord cmdDiscord = new CmdDiscord();
public CmdDebug cmdDebug = new CmdDebug();
public CmdDrain cmdDrain = new CmdDrain();
//Variables to know if we already setup certain sub commands
public Boolean discordEnabled = false;
public Boolean checkEnabled = false;
@@ -291,6 +292,7 @@ public class FCmdRoot extends FCommand implements CommandExecutor {
this.addSubCommand(this.cmdViewChest);
this.addSubCommand(this.cmdConvertConfig);
this.addSubCommand(this.cmdSpawnerLock);
this.addSubCommand(this.cmdDrain);
addVariableCommands();
if (CommodoreProvider.isSupported()) brigadierManager.build();
}