Giter VIP home page Giter VIP logo

Comments (18)

ebay-kid avatar ebay-kid commented on June 14, 2024 1

Ok. Thank you so much!

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

Hello! Can you elaborate further on what logs channel option means?

from discord-mc-chat.

ebay-kid avatar ebay-kid commented on June 14, 2024

Hi! My idea is to have a channel which receives the logs from the Minecraft server console, i.e. "Saving the game!" or "Is the server overloaded?" or when a command is run from the console

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

Ok, I'll look into how to implement this feature. Thanks!

from discord-mc-chat.

ebay-kid avatar ebay-kid commented on June 14, 2024

Thank you!

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

Is this exactly what you have in mind?

image

image

from discord-mc-chat.

ebay-kid avatar ebay-kid commented on June 14, 2024

Yes!

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

Any suggestion? (e.g. make [INFO] bold)

from discord-mc-chat.

ebay-kid avatar ebay-kid commented on June 14, 2024

Could you include the timestamp of the log please?

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

Is this the only suggestion? I'll look into it tomorrow.

from discord-mc-chat.

ebay-kid avatar ebay-kid commented on June 14, 2024

That's the only thing I can think of. Thank you!

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

Ok, thanks a lot for your quick reply!

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

The feature has been implemented in the latest build version, but I have no plans to release a version in a short time.
(My desktop motherboard is under repair, and my laptop configuration is not enough to test the mod)

You can find the latest build JAR files at GitHub Actions and use those first.

Also, you can find the latest MCDC docs on my blog:
https://blog.xujiayao.top/posts/4ba0a17a/#Setup-MCDiscordChat

from discord-mc-chat.

jdstankosky avatar jdstankosky commented on June 14, 2024

I installed this mod today and I actually came here specifically to request that this feature be turned off xD Perhaps it can be toggled true|false in the mcdiscordchat.json config file? I want discord members to see player chat, but I do not want them to see server console messages as this feature enables. The reason is so people don't know when admins/moderators/server ops are executing commands and what commands they're using. I clipped a screenshot as an example of server console messages I would like to be able to hide. or the ability to send them to a different channel.
1

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

@jdstankosky The feature you're talking about already exists, please read the docs.

from discord-mc-chat.

jdstankosky avatar jdstankosky commented on June 14, 2024

Can you explain the correct settings?

Scenario 1:
channelId set
consoleLogChannelId empty
broadcastCommandExecution false
this results that join/leave messages and advancements etc, are sent, but player chats in game are not sent to channelId. no avatars

Scenario 2:
channelId set
consoleLogChannelId set
broadcastCommandExecution false
this results that player chats in game and server console (including commands) are sent to consoleLogChannelId, but no chats are send to channelId. also, no avatars.

Scenario 3:
channelId set
consoleLogChannelId set
broadcastCommandExecution true
this results that player chats in game and server console (including commands) are sent to consoleLogChannelId, but no chats are send to channelId. However, the typed / commands are sent to channelId with the player's avatar

1
2

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024
  1. The operation of all scenarios is the same.
  2. The server was not stopped at the time of the screenshot, so no [20:19:15] [INFO]: Stopping the server on Discord.
  3. The result is the same regardless of the value of switchLanguageFromChinToEng.
  4. When channelId and consoleLogChannelId are set to the same ID, the results are still as expected.

The test results of my scenarios are all as expected. Are there any exceptions displayed in the server console?

  • Scenario 1
    • channelId = 1234
    • consoleLogChannelId = 5678
    • broadcastCommandExecution = true
in-game-chat console-log
image image
  • Scenario 2
    • channelId = 1234
    • consoleLogChannelId = 5678
    • broadcastCommandExecution = false
in-game-chat console-log
image image
  • Scenario 3
    • channelId = 1234
    • consoleLogChannelId is empty, i.e. "consoleLogChannelId": ""
    • broadcastCommandExecution = true
in-game-chat console-log
image Nothing here

from discord-mc-chat.

Xujiayao avatar Xujiayao commented on June 14, 2024

@jdstankosky If the problem still exists, please submit a new issue.

from discord-mc-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.