mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-13 18:14:38 +02: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:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user