Carpet

Carpet

2M Downloads

[Scarpet suggestion]Add an event that can listen for the server logs

Harveykang opened this issue ยท 8 comments

commented

When "run()" is used on some commands with delayed feedback or multiple feedbacks at different times, the feedback will not be returned.
It would be great if it could listen for the server logs.

commented

What command are you trying to run?

commented

It is provided by a backup mod, a messages will be returned when the backup is done.

commented

image
it sends some info messages to all players

commented

but i want to use scarpet to process these messages

commented

system logs can get very, very busy at times. (sound handler errors). Does this mod offers any ability to run anything when the backup is done? if so - there is signal_event(...) that could be used in these cases.

I am not saying that 'send command feedback' cannot be handled - that would skip error messages - might be appropriate.

commented

The thing is - if its using just a java logger - then its outside of the minecraft realm and would not be trackable

Otherwise I would assume it sends it as a chat massage, therefore it would be trackable. Does it say these messages in chat as well?

commented

Yes, it dose

commented

then its not using the logger directly, but sends message via command feedback - which can be tracked