Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
EconomyLite v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Flibio committed Aug 25, 2015
1 parent 53e8151 commit f34df7d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>EconomyLite</groupId>
<artifactId>EconomyLite</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<packaging>jar</packaging>
<name>EconomyLite</name>
<description>An economy plugin for Sponge</description>
Expand Down
18 changes: 18 additions & 0 deletions src/me/Flibio/EconomyLite/API/EconomyLiteAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,23 @@ public PlayerManager getPlayerAPI() {
public String getVersion() {
return Main.access.version;
}

/**
* Gets the singular label for currency
* @return
* String of the singular label
*/
public String getSingularCurrencyLabel() {
return Main.access.currencySingular;
}

/**
* Gets the plural label for currency
* @return
* String of the plural label
*/
public String getPluralCurrencyLabel() {
return Main.access.currencyPlural;
}

}
4 changes: 2 additions & 2 deletions src/me/Flibio/EconomyLite/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import com.google.common.base.Optional;
import com.google.inject.Inject;

@Plugin(id = "EconomyLite", name = "EconomyLite", version = "1.0.2")
@Plugin(id = "EconomyLite", name = "EconomyLite", version = "1.0.3")
public class Main {

@Inject
Expand All @@ -70,7 +70,7 @@ public class Main {

@Subscribe
public void onServerInitialize(InitializationEvent event) {
logger.info("EconomyLite by Flibio initializing!");
logger.info("EconomyLite v"+version+" by Flibio initializing!");
//Set the access
access = this;

Expand Down

0 comments on commit f34df7d

Please sign in to comment.