Skip to content

Suggestion: Try to use account.getCachedBalance() when calculating money in economy #813

@Goosius1

Description

@Goosius1

Is your feature request related to a problem? Please describe.

  • With current code, the method account.getHoldingBalance() is used to calculate money in economy
  • This is done on server startup, and towny new day........but it is a slow thing, especially on big servers

Describe the solution you'd like
A clear and concise description of what you want to happen.

  • Look into using account.getCachedBalance()
  • FYI I did try this before but it gave me values which were too high, so debugging might be needed etc.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions