Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per job daily cap #1757

Open
Castiella opened this issue May 12, 2024 · 0 comments
Open

Per job daily cap #1757

Castiella opened this issue May 12, 2024 · 0 comments

Comments

@Castiella
Copy link

Hi,

I would like to suggest a per job daily money limit rather than the global one that is currently in the config.

    # Money gain limit
    # With this enabled, players will be limited how much they can make in defined time
    # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
    Money:
      Use: false

I actually currently have an addon that my server developer made that does this, and I'm happy to push the code to you if required.
It is in the config as such:

  # Maximum amount of money a job can earn per 24 hours (set to -1 for unlimited) Example: Digger,-1.0 will allow Digger to earn unlimited money per 24 hours
  MaximumMoney:
  - digger,1000.0
  - caretaker,1000.0
  - fisherman,1000.0
  - hunter,1000.0
  - woodcutter,2000.0
  - miner,2000.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant