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

Disable warnings in console #1395

Open
WarnDa opened this issue Nov 21, 2024 · 11 comments
Open

Disable warnings in console #1395

WarnDa opened this issue Nov 21, 2024 · 11 comments
Labels
Question/Concern Some question/concern

Comments

@WarnDa
Copy link

WarnDa commented Nov 21, 2024

Versions
6.17.1 - 1.20.4 paper

Relevant information
I use the command av voteexact <player> <website_name> to trigger a vote for a player

Context
I use your plugin as a manual voting system.
Player vote throught our website and we run the vote directly in game (it's easier for us instead of using Votifier that do not work on all website in France, so nobody use it)

But when I trigger a vote, it always show a debug with an error in console/log, I wanted to get less logs for them to be easier to read

[22:37:08 INFO]: Triggering vote...
[22:37:08 INFO]: Triggering vote...
[22:37:08 INFO]: Triggering vote...
[22:37:08 INFO]: Possible issue with service site, has the server gotten the vote from site3?
[22:37:08 INFO]: Possible issue with service site, has the server gotten the vote from site4?
[22:37:08 INFO]: Possible issue with service site, has the server gotten the vote from paliervote2?

So I wanted if it was possible to get an option to hide them please ?

@WarnDa WarnDa added the Question/Concern Some question/concern label Nov 21, 2024
@BenCodez
Copy link
Owner

do you have extra sites enabled that aren't in use?

@WarnDa
Copy link
Author

WarnDa commented Nov 21, 2024

do you have extra sites enabled that aren't in use?

No, all my websites are used and triggered by manual vote

@BenCodez
Copy link
Owner

I think adding DisableNoServiceSiteMessage: true to your config.yml should work

@WarnDa
Copy link
Author

WarnDa commented Nov 21, 2024

I think adding DisableNoServiceSiteMessage: true to your config.yml should work

Already the case :/

# Set to true to disable no service site message on voting
# You should never have to touch this if everything is setup properly
# Will also disable a few other warnings about vote sites
DisableNoServiceSiteMessage: true

@BenCodez
Copy link
Owner

https://bencodez.com/job/VotingPlugin/ this better?

@WarnDa
Copy link
Author

WarnDa commented Nov 21, 2024

https://bencodez.com/job/VotingPlugin/ this better?

Thanks it's better !
I only get :

[23:19:31 INFO]: Triggering vote...
[23:19:31 INFO]: Triggering vote...
[23:19:31 INFO]: Triggering vote...

in console, I don't know if it's possible to also disable this or not ?

@BenCodez
Copy link
Owner

Next build should work for that. Give it a minute to build

@WarnDa
Copy link
Author

WarnDa commented Nov 21, 2024

https://bencodez.com/job/VotingPlugin/ this better?

Nop
[23:27:21 INFO]: Triggering vote...

Maybe it will require a full restart (plugman worked for the previous build)
Will keep you updated tomorrow !

@BenCodez
Copy link
Owner

What command are you using?

@BenCodez
Copy link
Owner

And give the latest build a try as well, modfied it a bit more.

@WarnDa
Copy link
Author

WarnDa commented Nov 22, 2024

It's good on the latest dev build, thank you :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question/Concern Some question/concern
Projects
None yet
Development

No branches or pull requests

2 participants