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

Remove debugging print to STDOUT #4

Closed
TheKrafter opened this issue Jun 16, 2023 · 3 comments
Closed

Remove debugging print to STDOUT #4

TheKrafter opened this issue Jun 16, 2023 · 3 comments

Comments

@TheKrafter
Copy link

The plugin sends the json it's going to send to discord to STDOUT. This was probably done for debugging, and should be removed as it clutters up the server console. Below is the server console output:

[20:26:05 INFO]: TheKrafter2217 lost connection: Disconnected
[20:26:05 INFO]: [MCCTDW] [STDOUT] {
  "tts": false,
  "embeds": [
    {
      "color": 16733525,
      "author": {
        "name": "TheKrafter2217 left the game.",
        "icon_url": "https://minotar.net/helm/3b27ca8c-9f8e-4254-a7c3-a1031f085456/100.png"
      }
    }
  ]
}
[20:26:05 WARN]: Nag author(s): '[ItsShamed]' of 'MinecraftChatToDiscordWebhook' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
@TheKrafter
Copy link
Author

Running the latest version from releases.
It looks like this was solved but a new release has not been built.
Could you build an updated release?

@TheKrafter
Copy link
Author

Otherwise this plugin is great btw, nice and quick setup for a small thing I dont wanna set up another DiscordSRV bot for

@ItsShamed
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants