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

The debug.txt gets bypassed #5

Open
JohannesPaulHoffmann opened this issue Dec 17, 2023 · 2 comments
Open

The debug.txt gets bypassed #5

JohannesPaulHoffmann opened this issue Dec 17, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@JohannesPaulHoffmann
Copy link

Hi!

The debug.txt gets bypassed (by the (about) to (get) posted Chat Messages).

Regards,
Johannes

@Droog71 Droog71 added enhancement New feature or request good first issue Good for newcomers labels Dec 18, 2023
@Droog71
Copy link
Owner

Droog71 commented Dec 18, 2023

Hi!

The debug.txt gets bypassed (by the (about) to (get) posted Chat Messages).

Regards, Johannes

I'm not sure if the modding api chat functions are meant to be printing to debug.txt or not.
If you want to log messages, you can add some lines to your init.lua file like the one below.

minetest.register_on_chat_message(function(name, message)
    minetest.log("action", "CHAT: <" .. name .. "> " .. message)
    --existing code
end)

@JohannesPaulHoffmann
Copy link
Author

Hi!

The DMs aren't Logged, can You please build in both functions, as /me is excluded anyways into the init.lua?

I temporarily did Disable now the Mod, but I 'even' thought of a mediation and translation mode, so the first to translate also phrases, while the last mode is a word:word translation, so an actual translation, as the LibreTranslate way is (till now) really slow, but maybe Their dictionaries are in an inefficient form, dunno(?).

Regards,
Johannes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants