mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-27 20:59:16 +01:00
Added note when player tries to use faction chat when it's disabled, moved disband command in the Help listing out of the server-admin-only section since it can now be used by faction admins on their own factions
This commit is contained in:
parent
f40b241bc4
commit
877cfe914d
@ -13,8 +13,8 @@ public class FCommandChat extends FBaseCommand {
|
||||
|
||||
@Override
|
||||
public void perform() {
|
||||
if ( ! Conf.factionOnlyChat )
|
||||
{
|
||||
if ( ! Conf.factionOnlyChat ) {
|
||||
sendMessage("Faction-only chat is disabled on this server.");
|
||||
return;
|
||||
}
|
||||
if ( ! assertHasFaction()) {
|
||||
|
@ -103,11 +103,11 @@ public class FCommandHelp extends FBaseCommand {
|
||||
helpPages.add(pageLines);
|
||||
|
||||
pageLines = new ArrayList<String>();
|
||||
pageLines.add( new FCommandDisband().getUseageTemplate() );
|
||||
pageLines.add("");
|
||||
pageLines.add( new FCommandRelationAlly().getUseageTemplate() );
|
||||
pageLines.add( new FCommandRelationNeutral().getUseageTemplate() );
|
||||
pageLines.add( new FCommandRelationEnemy().getUseageTemplate() );
|
||||
pageLines.add("");
|
||||
pageLines.add("");
|
||||
pageLines.add("Set the relation you WISH to have with another faction.");
|
||||
pageLines.add("Your default relation with other factions will be neutral.");
|
||||
pageLines.add("If BOTH factions choose \"ally\" you will be allies.");
|
||||
@ -140,7 +140,6 @@ public class FCommandHelp extends FBaseCommand {
|
||||
|
||||
pageLines = new ArrayList<String>();
|
||||
pageLines.add("Finally some commands for the server admins:");
|
||||
pageLines.add( new FCommandDisband().getUseageTemplate() );
|
||||
pageLines.add( new FCommandSafeclaim().getUseageTemplate() );
|
||||
pageLines.add( new FCommandAutoSafeclaim().getUseageTemplate() );
|
||||
pageLines.add( new FCommandSafeunclaimall().getUseageTemplate() );
|
||||
|
Loading…
Reference in New Issue
Block a user