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

AutoPurge silently works even if no value is assigned to it. #574

Closed
CODK90 opened this issue Mar 30, 2024 · 1 comment
Closed

AutoPurge silently works even if no value is assigned to it. #574

CODK90 opened this issue Mar 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@CODK90
Copy link

CODK90 commented Mar 30, 2024

What is the bug?

In the config file of the plugin there is an option named AutoPurge. When we set a value like 1:6, it will deduct all scores from all teams at 6 a.m. of every month in Minecraft days. But if no value is assigned to it then also it silently runs. To fix this I had to delete the entire statement. Please fix this issue.

Expected Behaviour

Better teams is a fantastic plugin nd the developer is ready to help any needy person. I am sure the developer will fix it. Currently the only fix that I have found is to remove the statement entirely.

How to Reproduce

If in the config it is written autoPurge: and then nothing else then the tick in the Minecraft server can be increased and some score can be set to a temporary team. With time, all the score will be deducted and frequently using /team info helps.

Error message

No error messages, works silently.

Output of /teama version

=[12:28:43 INFO]:
Storage Method:
com.booksaw.betterTeams.team.storage.storageManager.SeparatedYamlStorageManager
[12:28:43 INFO]:
Minecraft Version:
git-Purpur-2162 (MC: 1.20.4)
[12:28:43 INFO]:
Language Selected:
messages
[12:28:43 INFO]:
Online mode:
false
[12:28:43 INFO]:
Player count:
0
[12:28:43 INFO]:
Current plugin version:
4.9.1

Additional Information

No this was all I can say about the bug. Please fix this bug and Thank You in advance!

@CODK90 CODK90 added the bug Something isn't working label Mar 30, 2024
@booksaw
Copy link
Owner

booksaw commented Apr 20, 2024

This bug has been fixed and the patch will be included in the next update. Thank you for reporting.

I have added an additional config option to ensure this no longer occurs.

@booksaw booksaw closed this as completed Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants