MassiveCore - Remove useless aliases
This commit is contained in:
parent
d72d8f4043
commit
53db58f582
@ -18,7 +18,7 @@ public class CmdFactionsAccessFaction extends CmdFactionsAccessAbstract
|
|||||||
public CmdFactionsAccessFaction()
|
public CmdFactionsAccessFaction()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("f", "faction");
|
this.addAliases("faction");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeFaction.get(), "faction");
|
this.addParameter(TypeFaction.get(), "faction");
|
||||||
|
@ -18,7 +18,7 @@ public class CmdFactionsAccessPlayer extends CmdFactionsAccessAbstract
|
|||||||
public CmdFactionsAccessPlayer()
|
public CmdFactionsAccessPlayer()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("p", "player");
|
this.addAliases("player");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeMPlayer.get(), "player");
|
this.addParameter(TypeMPlayer.get(), "player");
|
||||||
|
@ -12,7 +12,7 @@ public class CmdFactionsAccessView extends CmdFactionsAccessAbstract
|
|||||||
public CmdFactionsAccessView()
|
public CmdFactionsAccessView()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("v", "view");
|
this.addAliases("view");
|
||||||
|
|
||||||
// Requirements
|
// Requirements
|
||||||
this.addRequirements(ReqHasPerm.get(Perm.ACCESS_VIEW.node));
|
this.addRequirements(ReqHasPerm.get(Perm.ACCESS_VIEW.node));
|
||||||
|
@ -29,7 +29,7 @@ public class CmdFactionsCreate extends FactionsCommand
|
|||||||
public CmdFactionsCreate()
|
public CmdFactionsCreate()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("create");
|
this.addAliases("create", "new");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeString.get(), "name");
|
this.addParameter(TypeString.get(), "name");
|
||||||
|
@ -19,7 +19,7 @@ public class CmdFactionsDescription extends FactionsCommand
|
|||||||
public CmdFactionsDescription()
|
public CmdFactionsDescription()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("desc");
|
this.addAliases("description");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeString.get(), "desc", true);
|
this.addParameter(TypeString.get(), "desc", true);
|
||||||
|
@ -16,7 +16,7 @@ public class CmdFactionsExpansions extends FactionsCommand
|
|||||||
public CmdFactionsExpansions()
|
public CmdFactionsExpansions()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("e", "expansions");
|
this.addAliases("expansions");
|
||||||
|
|
||||||
// Requirements
|
// Requirements
|
||||||
this.addRequirements(ReqHasPerm.get(Perm.EXPANSIONS.node));
|
this.addRequirements(ReqHasPerm.get(Perm.EXPANSIONS.node));
|
||||||
|
@ -19,7 +19,7 @@ public class CmdFactionsFlagList extends FactionsCommand
|
|||||||
public CmdFactionsFlagList()
|
public CmdFactionsFlagList()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("l", "list");
|
this.addAliases("list");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(Parameter.getPage());
|
this.addParameter(Parameter.getPage());
|
||||||
|
@ -24,7 +24,7 @@ public class CmdFactionsFlagShow extends FactionsCommand
|
|||||||
public CmdFactionsFlagShow()
|
public CmdFactionsFlagShow()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("s", "show");
|
this.addAliases("show");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeFaction.get(), "faction", "you");
|
this.addParameter(TypeFaction.get(), "faction", "you");
|
||||||
|
@ -20,7 +20,7 @@ public class CmdFactionsInvite extends FactionsCommand
|
|||||||
public CmdFactionsInvite()
|
public CmdFactionsInvite()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("i", "inv", "invite");
|
this.addAliases("invite");
|
||||||
|
|
||||||
// Children
|
// Children
|
||||||
this.addChild(this.cmdFactionsInviteAdd);
|
this.addChild(this.cmdFactionsInviteAdd);
|
||||||
|
@ -24,7 +24,7 @@ public class CmdFactionsInviteAdd extends FactionsCommand
|
|||||||
public CmdFactionsInviteAdd()
|
public CmdFactionsInviteAdd()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("a", "add");
|
this.addAliases("add");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeSet.get(TypeMPlayer.get(), true), "players", true);
|
this.addParameter(TypeSet.get(TypeMPlayer.get(), true), "players", true);
|
||||||
|
@ -24,7 +24,7 @@ public class CmdFactionsInviteList extends FactionsCommand
|
|||||||
public CmdFactionsInviteList()
|
public CmdFactionsInviteList()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("l", "list");
|
this.addAliases("list");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(Parameter.getPage());
|
this.addParameter(Parameter.getPage());
|
||||||
|
@ -27,7 +27,7 @@ public class CmdFactionsInviteRemove extends FactionsCommand
|
|||||||
public CmdFactionsInviteRemove()
|
public CmdFactionsInviteRemove()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("r", "remove");
|
this.addAliases("remove");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeSet.get(TypeMPlayer.get(), true), "players/all", true);
|
this.addParameter(TypeSet.get(TypeMPlayer.get(), true), "players/all", true);
|
||||||
|
@ -17,7 +17,7 @@ public class CmdFactionsMoneyBalance extends FactionsCommand
|
|||||||
public CmdFactionsMoneyBalance()
|
public CmdFactionsMoneyBalance()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("b", "balance");
|
this.addAliases("balance");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeFaction.get(), "faction", "you");
|
this.addParameter(TypeFaction.get(), "faction", "you");
|
||||||
|
@ -24,7 +24,7 @@ public class CmdFactionsMoneyDeposit extends FactionsCommand
|
|||||||
public CmdFactionsMoneyDeposit()
|
public CmdFactionsMoneyDeposit()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("d", "deposit");
|
this.addAliases("deposit");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeDouble.get(), "amount");
|
this.addParameter(TypeDouble.get(), "amount");
|
||||||
|
@ -26,7 +26,7 @@ public class CmdFactionsMoneyWithdraw extends FactionsCommand
|
|||||||
public CmdFactionsMoneyWithdraw()
|
public CmdFactionsMoneyWithdraw()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("w", "withdraw");
|
this.addAliases("withdraw");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeDouble.get(), "amount");
|
this.addParameter(TypeDouble.get(), "amount");
|
||||||
|
@ -19,7 +19,7 @@ public class CmdFactionsPermList extends FactionsCommand
|
|||||||
public CmdFactionsPermList()
|
public CmdFactionsPermList()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("l", "list");
|
this.addAliases("list");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(Parameter.getPage());
|
this.addParameter(Parameter.getPage());
|
||||||
|
@ -24,7 +24,7 @@ public class CmdFactionsPermShow extends FactionsCommand
|
|||||||
public CmdFactionsPermShow()
|
public CmdFactionsPermShow()
|
||||||
{
|
{
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("s", "show");
|
this.addAliases("show");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
this.addParameter(TypeFaction.get(), "faction", "you");
|
this.addParameter(TypeFaction.get(), "faction", "you");
|
||||||
|
@ -34,7 +34,7 @@ public class CmdFactionsSetAuto extends FactionsCommand
|
|||||||
this.setClaim(claim);
|
this.setClaim(claim);
|
||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("a", "auto");
|
this.addAliases("auto");
|
||||||
|
|
||||||
// Parameters
|
// Parameters
|
||||||
if (claim)
|
if (claim)
|
||||||
|
@ -22,7 +22,7 @@ public class CmdFactionsSetCircle extends CmdFactionsSetXRadius
|
|||||||
super(claim);
|
super(claim);
|
||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("c", "circle");
|
this.addAliases("circle");
|
||||||
|
|
||||||
// Format
|
// Format
|
||||||
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using circle.");
|
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using circle.");
|
||||||
|
@ -25,7 +25,7 @@ public class CmdFactionsSetFill extends CmdFactionsSetXSimple
|
|||||||
super(claim);
|
super(claim);
|
||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("f", "fill");
|
this.addAliases("fill");
|
||||||
|
|
||||||
// Format
|
// Format
|
||||||
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using fill.");
|
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using fill.");
|
||||||
|
@ -21,7 +21,7 @@ public class CmdFactionsSetOne extends CmdFactionsSetXSimple
|
|||||||
super(claim);
|
super(claim);
|
||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("o", "one");
|
this.addAliases("one");
|
||||||
|
|
||||||
// Requirements
|
// Requirements
|
||||||
this.addRequirements(ReqIsPlayer.get());
|
this.addRequirements(ReqIsPlayer.get());
|
||||||
|
@ -22,7 +22,7 @@ public class CmdFactionsSetSquare extends CmdFactionsSetXRadius
|
|||||||
super(claim);
|
super(claim);
|
||||||
|
|
||||||
// Aliases
|
// Aliases
|
||||||
this.addAliases("s", "square");
|
this.addAliases("square");
|
||||||
|
|
||||||
// Format
|
// Format
|
||||||
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using square.");
|
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using square.");
|
||||||
|
Loading…
Reference in New Issue
Block a user