Show the money convert command
This commit is contained in:
parent
4a66c2fe47
commit
193a4acc83
@ -31,8 +31,8 @@ public class CmdFactionsMoneyconvert extends FactionsCommand
|
|||||||
@Override
|
@Override
|
||||||
public Visibility getVisibility()
|
public Visibility getVisibility()
|
||||||
{
|
{
|
||||||
return Visibility.INVISIBLE;
|
//return Visibility.INVISIBLE;
|
||||||
//return MConf.get().useNewMoneySystem ? Visibility.INVISIBLE : Visibility.SECRET;
|
return MConf.get().useNewMoneySystem ? Visibility.INVISIBLE : Visibility.SECRET;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -51,7 +51,7 @@ public class CmdFactionsMoneyconvert extends FactionsCommand
|
|||||||
" This command allows to convert to the new system where the money of a Faction" +
|
" This command allows to convert to the new system where the money of a Faction" +
|
||||||
" is stored within the Factions plugin. Then all economy plugins can be used with Factions.");
|
" is stored within the Factions plugin. Then all economy plugins can be used with Factions.");
|
||||||
}
|
}
|
||||||
String confirmationString = this.readArg(null);
|
|
||||||
ConfirmationUtil.tryConfirm(this);
|
ConfirmationUtil.tryConfirm(this);
|
||||||
|
|
||||||
MConf.get().useNewMoneySystem = true;
|
MConf.get().useNewMoneySystem = true;
|
||||||
|
@ -237,9 +237,13 @@ public class MConf extends Entity<MConf>
|
|||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
|
||||||
public boolean protectionLiquidFlowEnabled = true;
|
public boolean protectionLiquidFlowEnabled = true;
|
||||||
|
|
||||||
|
// Protects the faction land from piston extending/retracting
|
||||||
|
// through the denying of MPerm build
|
||||||
|
public boolean handlePistonProtectionThroughDenyBuild = true;
|
||||||
|
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
// HOMES
|
// WARPS
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
|
||||||
// Is the warps feature enabled?
|
// Is the warps feature enabled?
|
||||||
@ -313,10 +317,6 @@ public class MConf extends Entity<MConf>
|
|||||||
// Inside your own faction territory you take less damage.
|
// Inside your own faction territory you take less damage.
|
||||||
// 0.1 means that you take 10% less damage at home.
|
// 0.1 means that you take 10% less damage at home.
|
||||||
public double territoryShieldFactor = 0.1D;
|
public double territoryShieldFactor = 0.1D;
|
||||||
|
|
||||||
// Protects the faction land from piston extending/retracting
|
|
||||||
// through the denying of MPerm build
|
|
||||||
public boolean handlePistonProtectionThroughDenyBuild = true;
|
|
||||||
|
|
||||||
// Make faction disbanding a confirmation thing
|
// Make faction disbanding a confirmation thing
|
||||||
public boolean requireConfirmationForFactionDisbanding = true;
|
public boolean requireConfirmationForFactionDisbanding = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user