mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 22:15:24 +00:00
update /awa help for new commands
This commit is contained in:
1 parent
1dbb69c3bd
commit
c83c153f11
2 files changed
+11
-11
No files matched your search
@@ -319,7 +319,7 @@ public class AdminCommands implements CommandExecutor {
|
|||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
//defaultCode will bypass the custom gather town to force set owner
|
//defaultCode will bypass the custom gather town to force set owner
|
||||||
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin create raid [war] [raidTown] (gatherTown/\"defaultCode\") (owner)"));
|
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin create raid [war] [raidTown] (gatherTown/\"defaultCode\") (owner) (override)"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else if (args[1].equalsIgnoreCase("siege")) {
|
} else if (args[1].equalsIgnoreCase("siege")) {
|
||||||
@@ -579,7 +579,7 @@ public class AdminCommands implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
p.sendMessage(Helper.color("&cRaid not found!"));
|
p.sendMessage(Helper.color("&cRaid not found!"));
|
||||||
} else {
|
} else {
|
||||||
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin force leave raid [war] [town] [player] (timeout)"));
|
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin force leave raid [war] [town] [player]"));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} else if (args[2].equalsIgnoreCase("siege")) {
|
} else if (args[2].equalsIgnoreCase("siege")) {
|
||||||
@@ -612,10 +612,10 @@ public class AdminCommands implements CommandExecutor {
|
|||||||
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin info");
|
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin info");
|
||||||
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin modify");
|
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin modify");
|
||||||
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin purgebars");
|
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin purgebars");
|
||||||
// p.sendMessage(Helper.chatLabel() + "/alathrawaradmin save");
|
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin save");
|
||||||
// p.sendMessage(Helper.chatLabel() + "/alathrawaradmin save-all");
|
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin save-all");
|
||||||
// p.sendMessage(Helper.chatLabel() + "/alathrawaradmin load");
|
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin load-all");
|
||||||
// p.sendMessage(Helper.chatLabel() + "/alathrawaradmin load-all");
|
p.sendMessage(Helper.chatLabel() + "/alathrawaradmin item");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -932,7 +932,7 @@ public class AdminCommands implements CommandExecutor {
|
|||||||
for (Raid r : RaidData.getRaids()) {
|
for (Raid r : RaidData.getRaids()) {
|
||||||
if (r.getWar().getName().equalsIgnoreCase(args[3]) && r.getRaidedTown().getName().equalsIgnoreCase(args[4])) {
|
if (r.getWar().getName().equalsIgnoreCase(args[3]) && r.getRaidedTown().getName().equalsIgnoreCase(args[4])) {
|
||||||
if (args.length == 6 || args.length == 7) {
|
if (args.length == 6 || args.length == 7) {
|
||||||
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin modify raid townspawn [war] [town] (x) (Z)"));
|
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin modify raid townspawn [war] [town] (x) (y) (Z)"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
Town t = r.getRaidedTown();
|
Town t = r.getRaidedTown();
|
||||||
@@ -1002,7 +1002,7 @@ public class AdminCommands implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
p.sendMessage(Helper.chatLabel() + Helper.color("&cRaid cannot be found."));
|
p.sendMessage(Helper.chatLabel() + Helper.color("&cRaid cannot be found."));
|
||||||
} else {
|
} else {
|
||||||
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin modify raid homeblock [war] [town] (x) (Z)"));
|
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin modify raid townspawn [war] [town] (x) (y) (Z)"));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} else if (args[2].equalsIgnoreCase("gather")) {
|
} else if (args[2].equalsIgnoreCase("gather")) {
|
||||||
@@ -1410,7 +1410,7 @@ public class AdminCommands implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
p.sendMessage(Helper.chatLabel() + Helper.color("&cSiege cannot be found."));
|
p.sendMessage(Helper.chatLabel() + Helper.color("&cSiege cannot be found."));
|
||||||
} else {
|
} else {
|
||||||
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin modify siege time [war] [town] [add/set/max] [value]"));
|
p.sendMessage(Helper.color("&cUsage: /alathrawaradmin modify siege time [war] [town] [add/set] [value]"));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} else if (args[2].equalsIgnoreCase("owner")) {
|
} else if (args[2].equalsIgnoreCase("owner")) {
|
||||||
|
|||||||
@@ -106,8 +106,8 @@ public class RaidCommands implements CommandExecutor {
|
|||||||
int minuteman = CommandHelper.isPlayerMinuteman(raidOwner.getName());
|
int minuteman = CommandHelper.isPlayerMinuteman(raidOwner.getName());
|
||||||
boolean override = false;
|
boolean override = false;
|
||||||
if (admin) {
|
if (admin) {
|
||||||
if (args.length >= 6) {
|
if (args.length >= 7) {
|
||||||
if (Boolean.parseBoolean(args[5])) {
|
if (Boolean.parseBoolean(args[6])) {
|
||||||
//player has joined to recently
|
//player has joined to recently
|
||||||
p.sendMessage(ChatColor.RED + "Warning! Ignoring Minuteman Countermeasure!");
|
p.sendMessage(ChatColor.RED + "Warning! Ignoring Minuteman Countermeasure!");
|
||||||
override = true;
|
override = true;
|
||||||
|
|||||||
Reference in new issue
Block a user