These messages are even better.

This commit is contained in:
Olof Larsson 2014-10-14 09:41:20 +02:00
parent c838e55f6d
commit de1968c216
5 changed files with 11 additions and 11 deletions

View File

@ -1,7 +1,6 @@
package com.massivecraft.factions.cmd;
import com.massivecraft.factions.Perm;
import com.massivecraft.massivecore.cmd.HelpCommand;
import com.massivecraft.massivecore.cmd.req.ReqHasPerm;
import com.massivecraft.massivecore.cmd.req.ReqIsPlayer;

View File

@ -21,8 +21,8 @@ public class CmdFactionsSetCircle extends CmdFactionsSetXRadius
this.addAliases("c", "circle");
// Format
this.setFormatOne(null);
this.setFormatMany("<h>%s<i> %s <h>%d <i>chunks using circle near %s<i>.");
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using circle.");
this.setFormatMany("<h>%s<i> %s <h>%d <i>chunks near %s<i> using circle.");
// Requirements
this.addRequirements(ReqIsPlayer.get());

View File

@ -25,8 +25,8 @@ public class CmdFactionsSetFill extends CmdFactionsSetXSimple
this.addAliases("f", "fill");
// Format
this.setFormatOne(null);
this.setFormatMany("<h>%s<i> %s <h>%d <i>chunks using fill near %s<i>.");
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());

View File

@ -21,8 +21,8 @@ public class CmdFactionsSetSquare extends CmdFactionsSetXRadius
this.addAliases("s", "square");
// Format
this.setFormatOne(null);
this.setFormatMany("<h>%s<i> %s <h>%d <i>chunks using square near %s<i>.");
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk %s<i> using square.");
this.setFormatMany("<h>%s<i> %s <h>%d <i>chunks near %s<i> using square.");
// Requirements
this.addRequirements(ReqIsPlayer.get());

View File

@ -45,8 +45,8 @@ public class CmdFactionsSetTransfer extends CmdFactionsSetXTransfer
if (MUtil.list("a", "al", "all").contains(this.arg(0).toLowerCase()))
{
chunks = BoardColl.get().getChunks(oldFaction);
this.setFormatOne("<h>%s<i> %s all <h>%d <i>chunks.");
this.setFormatMany("<h>%s<i> %s all <h>%d <i>chunks.");
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk using transfer all.");
this.setFormatMany("<h>%s<i> %s <h>%d <i>chunks using transfer all.");
}
else
{
@ -71,8 +71,9 @@ public class CmdFactionsSetTransfer extends CmdFactionsSetXTransfer
Board board = BoardColl.get().get(worldId);
chunks = board.getChunks(oldFaction);
String worldDisplayName = Mixin.getWorldDisplayName(worldId);
this.setFormatOne("<h>%s<i> %s all <h>%d <i>chunks in <h>" + worldDisplayName + "<i>.");
this.setFormatMany("<h>%s<i> %s all <h>%d <i>chunks in <h>" + worldDisplayName + "<i>.");
this.setFormatOne("<h>%s<i> %s <h>%d <i>chunk using transfer <h>" + worldDisplayName + "<i>.");
this.setFormatMany("<h>%s<i> %s <h>%d <i>chunks using transfer <h>" + worldDisplayName + "<i>.");
}
// Return Ret