[Mod] Chatcommand stopwatch [chatcommand_delays]

User avatar
Hybrid Dog
Member
 
Posts: 2684
Joined: Thu Nov 01, 2012 12:46

[Mod] Chatcommand stopwatch [chatcommand_delays]

by Hybrid Dog » Thu May 12, 2016 17:28

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?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 5 guests