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

Can the Max payment curve formula be fixed? #1811

Open
Rexmen1 opened this issue Aug 19, 2024 · 0 comments
Open

Can the Max payment curve formula be fixed? #1811

Rexmen1 opened this issue Aug 19, 2024 · 0 comments

Comments

@Rexmen1
Copy link

Rexmen1 commented Aug 19, 2024

[*Detailed description of the issue:

Can the dynamic curve formula be fixed? it doesn't work correctly yet, but one of dev friend had made changes to code and fixed it... But i have to remake the plugin jar everytime there is update for jobs plugin... So can this patched be merged with orgiional code?

https://github.com/gecko10000/Jobs/tree/max-fix

ERROR (DELETE IF YOU HAVE NO ERROR):
<-- Try to use pastebin.com server if you have long error. -->

####################
## PASTE ERROR HERE ##
####################

CONFIG SECTION (DELETE IF NOT RELEVANT):

#####################################
## PASTE RELEVANT CONFIG SECTION HERE ##
#####################################

MaxPayment:
curve:
# Enabling this feature will mean players will still earn once they reach cap but will loose a percentage the higher over cap they go. Controlled by a factor. math is 100/((1/factor*percentOver^2)+1)
use: true
factor: 10

Limit:
# 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: true
# Do you want to stop money gain when exp limit reached?
StopWithExp: false
# Do you want to stop money gain when point limit reached?
StopWithPoint: false
# Equation to calculate max limit. Option to use total level to include players total amount levels of current jobs
# You can always use simple number to set money limit
# Default equation is: 500+500*(totallevel/100), this will add 1% from 500 for each level player have
# So player with 2 jobs with level 15 and 22 will have 685 limit
MoneyLimit: 100000+(1000totallevel)(1+(totallevel/33))

Jobs version:

Server Type (Spigot/Paper/etc):

Server Version (using /ver):

Relevant plugins (Delete if this isn't needed):
](https://github.com/gecko10000/Jobs/tree/max-fix)

@Rexmen1 Rexmen1 changed the title Can the dynamic curve formula be fixed? Can the Max payment curve formula be fixed? Aug 19, 2024
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