Close #18 - Added option to charge per use of /back command

This commit is contained in:
BuildTools committed 2021-03-12 14:37:44 +00:00
1 parent 4f7b4a7e18
commit da30aa9076
11 files changed
+62 -9

No files matched your search

@@ -51,6 +51,7 @@ public class Settings {
private double setHomeCost;
private double publicHomeCost;
private double rtpCost;
private double backCost;
// Vanished player checks
private boolean checkVanishedPlayers;
@@ -154,6 +155,7 @@ public class Settings {
this.setHomeCost = config.getDouble("economy_integration.costs.additional_home_slot");
this.publicHomeCost = config.getDouble("economy_integration.costs.make_home_public");
this.rtpCost = config.getDouble("economy_integration.costs.random_teleport");
this.backCost = config.getDouble("economy_integration.costs.back");
// Retrieve sounds used in plugin; if invalid, use defaults.
try {
@@ -321,6 +323,10 @@ public class Settings {
return setHomeCost;
}
public double getBackCost() {
return backCost;
}
public double getPublicHomeCost() {
return publicHomeCost;
}