Page 1 of 1

[Mod] Chatcommand stopwatch [chatcommand_delays]

PostPosted: Thu May 12, 2016 17:28
by Hybrid Dog
This mod tells the time a chatcommand took to get executed.
So for example if you want to know how long it takes to set 100x100x100 nodes using worldedit,
you only need to have this mod, it automatically adds the delay to the message sent to the player (if no message is returned, the delay gets sent in an own line).
Currently the time is added in brackets at the end of the message.
If the delay is very short, e.g. when you just teleport somewhere, the time isn't added to not cause spamming.

License: WTFPL
Download: zip, tar.gz
github: chatcommand_delays

Obviously Worldedit doesn't use minetest.register_chatcommand correctly
setting about 2.5 mio nodes may take longer for you, I use my own worldedit modifications
Image

It works with every chatcommand, e.g. the one of cave_lighting:
Image

If you got ideas or found bugs, please tell them to me.

How to install a mod?

Re: [Mod] Chatcommand stopwatch [chatcommand_delays]

PostPosted: Sun Jul 17, 2016 10:28
by azekill_DIABLO
hello there! any one in here? :D
looks like a great debug feature!