WorldEdit

WorldEdit

43M Downloads

Log the number of blocks changed to console

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDEDIT-3221 - Reported by xehex

While watching WorldEdit actions scroll by in my console, I noticed that WorldEdit reports the world, player, type, and coordinates of an action, but not the number of blocks changed.

If the number of blocks changed were to be displayed, I could quickly see whether or not an action was actually worth paying attention to. The total blocks changed are already displayed when a command is issued in game, and it's amazingly useful there. So why not on console as well?

I propose that instead of logging this:

[INFO]: Player issued server command: //set 0
[INFO]: WorldEdit: Player (in "world"): //set 0 - Region: (0.0, 1.0, 10.0) - (-10.0, 5.0, -10.0)

We could log this:

[INFO]: Player issued server command: //set 0
[INFO]: WorldEdit: Player (in "world"): //set 0 - Region: (0.0, 1.0, 0.0) - (10.0, 1.0, 10.0) [100 / 5000]

Where the final value is the number of blocks changed (out of the player's total block limit). It doesn't even have to be separated from the "Region:" grouping, since it could be considered part of the region information.

This isn't particularly a particularly big or important feature, just one that would make me mildly happy.

Not that it matters, since this is a feature request, but I'm running 6.0.2-SNAPSHOT;3347-fe6717a0.
If this is already a feature, I owe whoever's time I wasted $5!

commented

Comment by wizjany

Unfortunately not really possible because even in the current state, blocks are not changed til quite a bit later than the command is entered. In later states of the plugin, with staggered operations and so on, it could be that blocks don't actually get changed for a long time after.

Unless you just wanted an estimate of the region size?