mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
[trunk] standardising the currency settings
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1351 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
176b3da7d9
commit
bd18f97a10
2 changed files with 4 additions and 14 deletions
|
@ -50,12 +50,12 @@ public class Settings implements IConf
|
|||
|
||||
public String getCurrency()
|
||||
{
|
||||
return config.getString("currencyName", "Coin");
|
||||
return config.getString("currency-name", "Coin");
|
||||
}
|
||||
|
||||
public String getCurrencyPlural()
|
||||
{
|
||||
return config.getString("currencyNamePlural", "Coins");
|
||||
return config.getString("currency-name-plural", "Coins");
|
||||
}
|
||||
|
||||
public int getStartingBalance()
|
||||
|
@ -68,16 +68,6 @@ public class Settings implements IConf
|
|||
return isNetherEnabled() && config.getBoolean("nether.portals-enabled", false);
|
||||
}
|
||||
|
||||
public String getMcslKey()
|
||||
{
|
||||
return config.getString("mcsl-key", "").replaceAll("[^a-zA-Z0-9]", "");
|
||||
}
|
||||
|
||||
public boolean getWhitelistEnabled()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isCommandDisabled(IEssentialsCommand cmd)
|
||||
{
|
||||
return isCommandDisabled(cmd.getName());
|
||||
|
|
|
@ -222,8 +222,8 @@ command-costs:
|
|||
# kit-tools: 1500
|
||||
|
||||
#This defines the name of your currencies, in singular and plural
|
||||
currencyName: Coin
|
||||
currencyNamePlural: Coins
|
||||
currency-name: Coin
|
||||
currency-name-plural: Coins
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue