public CmdFactionsSeeChunk() {
    // Aliases
    this.addAliases("sc", "seechunk");

    // Args
    this.addOptionalArg("active", "toggle");

    // Requirements
    this.addRequirements(ReqHasPerm.get(Perm.SEECHUNK.node));
    this.addRequirements(ReqIsPlayer.get());
  }
Ejemplo n.º 2
0
  public CmdBookPowertool() {
    // Aliases
    this.addAliases("pt", "powertool");

    // Args
    this.addArg(ARBoolean.get(), "true/false", "toggle");

    // Requirements
    this.addRequirements(ReqHasPerm.get(Perm.POWERTOOL.node));
    this.addRequirements(ReqIsPlayer.get());
  }
Ejemplo n.º 3
0
  public CmdFactionsSetFill(boolean claim) {
    // Super
    super(claim);

    // Aliases
    this.addAliases("f", "fill");

    // Format
    this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using fill.");
    this.setFormatMany("<h>%s<i> %s <h>%d <i>chunks near %s<i> using fill.");

    // Requirements
    this.addRequirements(ReqIsPlayer.get());
    String node = claim ? Perm.CLAIM_FILL.node : Perm.UNCLAIM_FILL.node;
    this.addRequirements(ReqHasPerm.get(node));
  }