Skip to content

Commit

Permalink
Changed some default values
Browse files Browse the repository at this point in the history
+ Changed some default values to make it easier for new players
+ Fixed a small command bug
  • Loading branch information
noahbclarkson committed Nov 14, 2020
1 parent b139cdb commit 20c3210
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Auto-Tune/src/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,19 @@ inflation-method: 'Mixed'
## Time period in ticks between dynamic price increases
dynamic-inflation-time-period: 5000
## Percentage increase in prices per time-period.
dynamic-inflation-value: 0.0025
dynamic-inflation-value: 0.0005
## Percentage increase for buy value per price calculation update period.
static-inflation-value: 0.1

## Intrest rate per intrest-rate-update-period
## Info: This is the increase in the current debt payment per-time period
intrest-rate: 0.001
intrest-rate: 0.0025
## Time period in ticks between updates of the intrest rate for users loans
intrest-rate-update-period: 1200

## lowest value in $ a player can go into debt
## Example: -10.00
max-debt-value: 0.00
max-debt-value: -5000.00

## -- Other Settings --

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public class AutoTuneCommand implements CommandExecutor {

@Override
public boolean onCommand(CommandSender sender, Command command, String at, String[] args) {
if (args[0] == null){
return false;
}
if (command.getName().equalsIgnoreCase("at")){
Player player = (Player) sender;
UUID uuid = player.getUniqueId();
Expand Down

0 comments on commit 20c3210

Please sign in to comment.